Brick Breaker Template
themagicbox
Member, PRO Posts: 82
So I am looking at the Brick Breaker Template and I can't find the behaviours to have the ball bounce off of other actors. I have looked at every single actor in the template and I cant find anything that explains this. I would like the ball in my game to bounce around like in Brick Breaker
Comments
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Make a rule
When collide overlap "bumper"
Change motion.velocity.X to motion.velocity.X * -1
You can use an accelerate on the ball with a max speed but what I found more break out like is change the motion.velocity.X and motion.velocity.Y to a number of your liking. The motion is more at a constant speed that way.
Change motion.velocity.X to random(-300,300)
Change motion.velocity.Y to -500 (minus for down)
For example.
Lump Apps and My Assets
Lump Apps and My Assets