Bouncing ball in a breakout game.
skush97
Member Posts: 4
Hi, I'm brand new to GameSalad, and I have made a simple breakout game, but I have one problem, the ball is too slow, and it never speeds up. I'm wondering if there is a way to accelerate the ball in the direction that it is already moving in, or if I can make it go faster right off the start. I used a gravity of 5 to drop the ball at the start, but if I increase gravity, the game doesn't work correctly, is there a better way to start it?
Comments
I have a self attribute "current aov", which I constrained to
VectorToAngle(self.Motion.Linear Velocity.X,self.Motion.Linear Velocity.Y)
Then, when the speedup bonus applies, I change the max speed to 500 and added the rule
Change Velocity
Direction: self.current aov
speed: 500