lap counting buggered!

Non-platform specific questions.

lap counting buggered!

Postby BloodRedDragon » Fri Apr 25, 2008 6:26 pm

Sup. problem with counting laps for racing game. I am trying to make it start on Lap 1/3 then move to Lap 2/3 but tis hard.
Any suggestions? (not i have tried using actor.textnumber = actor.textnumber +1 but it thinks its starting on 0)
Current projects:
Techno-Tank Arena: on hold
Techno-Tank SuperPortal (working title): 0.1%
Bowels of Galaxies: 35% (was a bit too optimistic)
User avatar
BloodRedDragon
 
Posts: 123
Joined: Tue Jan 29, 2008 10:07 pm
Location: The Underworld
Score: 5 Give a positive score

Re: lap counting buggered!

Postby Kalladdolf » Fri Apr 25, 2008 7:14 pm

how to make it start at 1?
simple:
Create Actor ->
Code: Select all
actor.textNumber = 1;


but, anyway, the best thing to count stuff with is "variables".
you can create new ones, make them store certain values and make actor's behavior dependent on them.
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: lap counting buggered!

Postby BloodRedDragon » Sat May 31, 2008 5:52 pm

thnx lol
Current projects:
Techno-Tank Arena: on hold
Techno-Tank SuperPortal (working title): 0.1%
Bowels of Galaxies: 35% (was a bit too optimistic)
User avatar
BloodRedDragon
 
Posts: 123
Joined: Tue Jan 29, 2008 10:07 pm
Location: The Underworld
Score: 5 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron