Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Timer Coding

A topic by saturnianmoons created May 15, 2022 Views: 152 Replies: 3
Viewing posts 1 to 2

Hello!!

I would like to know if anyone has any ideas on the best ways to implement a timer? Essentially it's a "How long can you survive" wave system but I am not sure the best practices to have the timer and have it trigger when the game starts and stop when the player dies.

Submitted(+1)

hi, you can try to make a timer that goes infinite and put an event that after the player dies the value is put in a tierlist and the timer resets whit the game, so you don't have to stop it. Well it's just an idea I'm not very good with that either.

that is a solid idea, thank you!

Submitted

How wonderful, Good Luck!!