Restart/reinitialize button ?

letooouriste
20 Nov 2018, 21:59

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 ?


letooouriste
20 Nov 2018, 22:54

Problem solved, a bit rusty but it's working