I have made a platformer game. Main objective Is to collect 50 coins. I have made this coin collecting system like if player collides into the coin. Coin will be deleted. I want to play a “You Won!” Screen for 2.5 seconds if all of the 50 coins are deleted. I hope you guys understand.
Setup: You need to create a layout or just a simple text object is fine
You need an event to check if your coin is more than or equals to 50
If the above is true then
trigger once
create a layout / create text object saying “You Won!”
start / reset a scene timer and name it
make a new event
condition if your scene timer has reached 2.5 seconds
stop the timer
delete the text / delete all layout objects
set your coin variable number to 0