Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
kirtn14
13
Years of Service
User Offline
Joined: 8th Sep 2011
Location:
Posted: 25th Sep 2011 13:13
can anyone please tell me how to add a scoring system? many thanks

kirtnicholls
Funnell7
13
Years of Service
User Offline
Joined: 8th Sep 2011
Location: UK, England
Posted: 25th Sep 2011 18:05
I'm not sure that I'm going to be able to help you, but just as a suggestion, you may want to be abit more specific. What sort of scoring system do you require?

Just one Score?
Multiple Scores with Player Names?
Saved Scores? etc etc...
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 25th Sep 2011 22:23
Perhaps you need to read through the principles section in the manual. To get an idea of the basics.
A simple way is simply to have a variable called score and increase it whenever the player is supposed to.
eg.
score=score+10
You can have a highscore variable and check that against the score and update if needed.
if score>hiscore
hiscore=score
endif
That's the basics you can obviously go further use an array and add a highscore table, which is a bit more complicated but basically the same thing just more data to check.

Login to post a reply

Server time is: 2024-11-22 05:13:52
Your offset time is: 2024-11-22 05:13:52