Page 1 of 1

How do I make blocks disappear after a condition is fulfilled?

Posted: Fri May 26, 2023 1:39 pm
by TheRealSky41
I am making a level where if the player kills all Goombas in the level, then some blocks disappear, and open up a path. How can I make this happen? Thanks for the help in advance!

Re: How do I make blocks disappear after a condition is fulfilled?

Posted: Sat May 27, 2023 7:32 pm
by Xboy1
You don't need lua for this, it's very simple. Just put the blocks on their own layer, and make an event that makes them disappear, Now put the goombas on their own layer, right click any goomba and click properties. Then, click the dropdown by "layer is empty" and select the event.

Re: How do I make blocks disappear after a condition is fulfilled?

Posted: Sun May 28, 2023 1:24 pm
by TheRealSky41
Oh, ok! Thank you for helping! :D