Restart a game.. or load one... etc..

Blitz3D Forums/Blitz3D Beginners Area/Restart a game.. or load one... etc..

Heh, i'll try to help...

Make a function called Reset if you havent already and then have it reset all variables back to their original numbers or strings like this

x = 22
mehcode$ = "cake"
mehcode = "cow"

Function Reset();
     x = 22
     mehcode = "cake"
End Function


And just use that to reset EVERYTHING

(Someday i'd love to learn how to use Data and WriteFile and all that other stuff to make a savable\loadable map)