Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
How to make bouncing circles, like in arkanoid, but in whole screen (walls on the top, down, righ and left. And how to make them bounce off each other? Tried with bullet behavior, but it doesnt do it right. Any ideas?
If you use the bullet behaviors action, bounce of object it should work,
do something like this:
Or just use the physics behavior
I've decided to use physics, but how to prevent circle go crazy after a few collisions? :D
You could either set the friction of the floor to something like 15 or simply set the restitution of the ball to a lower value.
changed, still same problem.. can someone post fixed cap?
OK, I changed the collision mask of the ball to circle - that helps the bounce to angle correctly. Then I changed the Elasticity to under 1.0 (you had 1.4) - This helps it bounce a little less each bounce. I also reduced the size of the image ball, and centered the origin point didn't fix anything, but it is a good practice... http://www.box.com/s/f7nhqiuc7xhlxzld6p9m
Develop games in your browser. Powerful, performant & highly capable.
Adjust the elasticity of the ball to 0.95 or something like that to make it REAL bouncy, but still calm down after a few seconds.
The problem is that I want them to move without stoping and boucing off every wall.How to do that? :D
Add an impulse to the ball each time it collides with a wall.