Yes, this is exactly what I wanted to get: finding the easiest way I could to make sprites naturally bounce each one against the others. Thanks for liking this!
the most complex and most accurate one I have ever seen was by Canthiar. Thia is probably the best, simple one that does not make my head spin :) I love it!!!!!!!!!!!
Well done, Federici! By you and Colkadome, because I was working in order to find a way to tell the ball from which side it was kicked. Now, thanks to you, I already know a good way to do that.
This is what looks to me a perfect collision detection project for sprites with constant and equal speed. I guess that timing and speed should be linked in some clever way.
The collision routine is not mine. It is derived from the beatiful Colkadome's "Ultimate Pool" project.
Comments
You need to be logged in to post comments
Add a Comment
i remixed this project and added the concept of momentum to it. endless fun!
Cool! I'm glad you could take inspiration from my project.
its not so difficult but the design and the effect tottaly asome
Yes, this is exactly what I wanted to get: finding the easiest way I could to make sprites naturally bounce each one against the others. Thanks for liking this!
Where is the code for this? Is there one posted online?
you can download the code by clicking on the download link on the topright column
wow
Could you please re-post those links not in a reply? They were cut off quite a bit. I could only see about half of it!
Look at post #7 from (link to forums)">(link to forum) I hope this won't be cut off.
the most complex and most accurate one I have ever seen was by Canthiar. Thia is probably the best, simple one that does not make my head spin :) I love it!!!!!!!!!!!
Well done, Federici! By you and Colkadome, because I was working in order to find a way to tell the ball from which side it was kicked. Now, thanks to you, I already know a good way to do that.
Thanks :-) If I find some time I would like to make some of these "how to scratch" projects, extracting good strategies from excellent projects
This is gorgeous! A good idea to separate it out from the game so it is easier to understand.