smileyface12349 / warwick-game-jam-2023

The Great Warwick Game Jam is a 2-week long game jam ran by the Department of Computer Science at the University of Warwick.
GNU General Public License v3.0
4 stars 0 forks source link

Explosion on Fail #26

Open smileyface12349 opened 1 year ago

smileyface12349 commented 1 year ago

Explosion animation if it derails.

Then wait about 2 seconds before restarting the level. Ideally, display a button for the user to press restart, but even this is not strictly necessary.

smileyface12349 commented 1 year ago

NOTE: This issue does only involve the explosion animation. The restarting of the level will be handled by #15

smileyface12349 commented 1 year ago

There is a function called Explode() in FollowWaypoints ready for the code (I put it here so you can reference the train with just gameObject)

After doing this, you will probably want to delay the UI change for a couple seconds to allow the player to appreciate the animation.

LeilaDavis commented 1 year ago

I thought I put in the right code but clearly not. I will investigate further soon if there is time