how to use tween on a layer for elevation Z?

0 favourites
  • 4 posts
From the Asset Store
Calculate parabolic trajectories and tween objects over them.
  • I want to use tween behavior to smoothly zoom a specific layer by scaling all objects on it.

  • Add an invisible sprite with Tween behavior, or use any existing static object. The object doesn't matter, as long as it exists on the layout and has Tween behavior.

    Run "Tween (value)" action.

    In "Tween Is Playing" event set layer elevation to Sprite.Tween.Value

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Add an invisible sprite with Tween behavior, or use any existing static object. The object doesn't matter, as long as it exists on the layout and has Tween behavior.

    Run "Tween (value)" action.

    In "Tween Is Playing" event set layer elevation to Sprite.Tween.Value

    I did it the way you taught me, I noticed that objects on the layer affected by the change in Z elevation maintain their position at 0, without keeping track of the value of the layer. Is there a way for each object on the layer to update its Z elevation without me having to make the change one by one or have to create multiple families?

  • If you don't want to change elevation for each individual object, then families is the way to go.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)