Actor Speed Management Issues?
I have a simple brick breaker game.
I'd like to be able to control the Ball-Actor's speed without using too much of the processor (meaning, limiting constrain attributes and timers and such)...
What's the best way to control the ball's speed?
I have the normal speed set to 200 (game.BallSpeed = 200), when a player get's a PowerUp (or Down depending on how you look at it), the game.BallSpeed goes up to 300 or down to 100 depending on what the player gets.
I have a change velocity on the Ball and the Speed set to game.BallSpeed
I also have the Max Velocity checked on the ball (set at 200) with a change attribute for when the player gets the PowerUp/Down which will change that to either 300 or 100.
Is this the best possible way to achieve this?
Thanks all!
I'd like to be able to control the Ball-Actor's speed without using too much of the processor (meaning, limiting constrain attributes and timers and such)...
What's the best way to control the ball's speed?
I have the normal speed set to 200 (game.BallSpeed = 200), when a player get's a PowerUp (or Down depending on how you look at it), the game.BallSpeed goes up to 300 or down to 100 depending on what the player gets.
I have a change velocity on the Ball and the Speed set to game.BallSpeed
I also have the Max Velocity checked on the ball (set at 200) with a change attribute for when the player gets the PowerUp/Down which will change that to either 300 or 100.
Is this the best possible way to achieve this?
Thanks all!
Comments
Self.motion.MaxVelocity = x
Evertime you power/down