Need help in score

Non-platform specific questions.

Need help in score

Postby vivaro » Mon Nov 21, 2005 4:02 pm

i made a game, but i want to make a score counter in it. i want that you have 10 point every 5 seconds. how do i do that?
vivaro
 
Posts: 5
Joined: Mon Nov 21, 2005 3:37 pm
Score: 0 Give a positive score

Postby makslane » Mon Nov 21, 2005 6:28 pm

1) Create an actor text and name it "score"
2) On "Create Actor" event, create a new timer with 5s interval
3) On Timer event, just put this script:
textNumber += 10;
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby vivaro » Tue Nov 22, 2005 12:27 pm

ok ty
vivaro
 
Posts: 5
Joined: Mon Nov 21, 2005 3:37 pm
Score: 0 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest