Speeding an actor
Gene4Gamers
LebanonMember, PRO Posts: 57
Hello,
I have 5 actors who act like enemies and they go towards the main actor in a speed of 300...
I want to increase that speed by time, like per say 10 each 1 second .
Regards,
Gene4Gamers
MAKE GAMESALAD INTEGRATE ADMOB ( Google ADS ) :
Go to this link : http://bugs.gamesalad.com/show_bug.cgi?id=261
Find the " vote " button and press it
Comments
if you want to increase the speed with precision in a specified moment/part of screen you have to create an integer attribute inside your enemies called myspeed and set it to 300, so I think you have a move behavior inside of those actors, and you have to set that speed to your self.mypeed. After that create an invisible actor "speedup" and create a rule inside your enemy that when your enemy and sppedup collides, ""
300+(self.Time*10)
If by score could I write 300+(game.Score*10) ?
So if my score is 2 than the speed is 320?
MAKE GAMESALAD INTEGRATE ADMOB ( Google ADS ) :
Go to this link : http://bugs.gamesalad.com/show_bug.cgi?id=261
Find the " vote " button and press it
What happened when you tried it ?
I don't know they are coming but I don't know at what speed, I mean if it works
MAKE GAMESALAD INTEGRATE ADMOB ( Google ADS ) :
Go to this link : http://bugs.gamesalad.com/show_bug.cgi?id=261
Find the " vote " button and press it
Yes, it will work just fine.
If game.score is 2 then . .
300+(game.Score*10) = 320