How can I group this effect

Not favoritedFavorited Favorited 0 favourites
  • 4 posts
From the Asset Store
Create unlimited effects lets you create stunning visual effects with an instant preview.
  • Hi friends!

    I'm trying to make an effect where the world forms around the player as they explore. I've got the basics sorted with 2 different floor tiles but duplicating these events again and again for every asset type doesn't seem right.

    I tried putting the assets in a family and using that instead, but that just caused all of the assets in the family to jump up at the first one triggered.

    Any suggestions?

    gif of the effect in action

  • I'm leaning toward solving this by storing all the environment doodads and elements for each level as different animations in a single sprite object. Then building the levels by setting the initial animation for different instances.

    It'll work exactly the way I already have one of the floortiles set up. And later if I want to add interactive set pieces I can make a separate little spawner object for them.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Cool effect, reminds me of Bastion!

    Try adding just one tile object to the family and replacing it everywhere in your events. Once it’s working, you can add the other objects.

    Also, I recommend using the Tween behavior instead of lerp. Lerp keeps running for a long time, moving the sprite by tiny fractions of a pixel, which can interfere with other events. Say, if you later decide to make the tiles wobble when the hero steps on them.

  • Thanks for the advice!

    I had noticed what felt like a subtle parallaxing between layers, which was probably the hundreds of never-ending lerps, using tween is much more crisp.

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