I need to time how long it takes for you to complete my game, form start to end. Can someone explain (or give an an example) of a timer. I need help to report in seconds, and then display it the time.
Also is there a high score?
The timer can be easily done by adding a value to a Global Variable at a specific interval ( for example, add 1 to "Seconds" every 1000 milisseconds ). To display it, you'll have to use the Text object (with the "Set text" action).
Making a high-score (local) requires you to work with the .ini object. Hang on, I'll post an example soon.
You could also always add 1*timedelta to the timer variable.
Develop games in your browser. Powerful, performant & highly capable.
Here it is:
The highscore is saved on a .ini file.
Very easy to hack LOL!
Great example for high score gammabeam !!!
Can you do one for the display time too please?
I made a timer example for the topic here
hope this help you out.
That was a huge help toralord