Can I set a layer hotspot/parallax origin point?

0 favourites
  • 1 posts
From the Asset Store
Connect the dots in the correct order and draw happy animals!
  • I've got a sandbox-ish game with a square play area, in which the player can move anywhere. There's a parallaxed background layer below the player which scrolls slower. I'm trying to add the effect of the player (and other objects) casting shadows over the background. This means that the shadows must follow the objects around, BUT also parallax accordingly with the background.

    The issue is, the layer's origin point is the top-left corner of the layout. This means that when I move towards the bottom-right, the greater the parallax effect on the background below. So, shadows that start out near an object when it's in the top-left, are "pulled" further and further towards the bottom-right. Is there a way to set the parallax origin elsewhere, perhaps at the center of the layout instead, so that the effect is less glaring? Or will I just need to offset all the shadows so that the top-left becomes their origin?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)