Page 1 of 1

Need help in score

PostPosted: Mon Nov 21, 2005 4:02 pm
by vivaro
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?

PostPosted: Mon Nov 21, 2005 6:28 pm
by makslane
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;

PostPosted: Tue Nov 22, 2005 12:27 pm
by vivaro
ok ty