Disappearing lava behind platform?

0 favourites
  • 6 posts
From the Asset Store
Tileset for action or adventure platformer games with underground, cave, lava, mine, and or similar themes.
  • I'm gonna make a lava level. And I want one part of it to have a lavafall appear for a few seconds, then disappear. But I'm not sure how to make it disappear behind a wall or platform without it having to go through the entire level, just to disappear when it's out of the layout.

  • I am not totally sure i understand what it is you are trying to do here. So this might be way off <img src="smileys/smiley1.gif" border="0" align="middle" />

    But if you want to destroy the lava(if it is a sprite or something) you can make an invisible bar where you want it destroyed, and then destroy the lava when a collision with your invisible bar is detected.

    or you can use the fade behavior to fade it out.

    Or use a timer and destroy it after a given time period.

  • This is what I'm talking about:

    youtube.com/watch

    Skip to 1:57 to see what I mean. When the lava falls behind a wall, it disappears.

  • Just make that one piece of lava have the bullet behavior, but not active on start. Put it on the layer below the lava it's going behind. Then when you are ready, activate the bullet and watch it go down and away. Then just have it destroy outside of layout so it's not lingering.

  • Could I destroy it If it leaves the screen?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sure, or just create an invisible sprite that it collides with to destroy it.

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