Restart/reinitialize button ?

Hello all,

Sorry if this question seems dumb, but I'm not really good with coding (first project, hehe), and I could use a little help with that one.

I'm using some variables in my game (the player has to go through specific pages in order to move forward in other places), and I'd like to simply reinitialize every variable every time the player goes to the "Game Over" screen.

Any ideas ?


Problem solved, a bit rusty but it's working


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums