Open Sirivore opened 7 years ago
Sheeeeefmahn doing billiards would be so funny!! Good idea!
I hope you don't mind, but I had a go coding this. Have made 5+ videos, will upload all over next few days. Lots of bugs to enjoy :) Here's first vid: https://youtu.be/HqF6x4C-2RE
Would love to see your version if you do one! Collision detection is a fantastic exercise to improve your coding/destroy your soul.
Here's the code: https://codepen.io/RedHenDev/pen/jmKodW (No snooker cues yet)
(P.s. I hope 'billiards' is something like pool or snooker? If not, sorry, my mistake!)
Would be fun, too, to apply the correct mathematics for resultant angles of collisions.
http://www.real-world-physics-problems.com/physics-of-billiards.html
Now with cue, more realistic collisions (using vector math in link above), and 'hold down button' to strike with cue.
Enjoy!
Hey im from Germany and i wanna thank you for all this videos that helped me understanding everything better :) You are the best :D
I have a cool coding challenge, its not that easy but i wanna see you solving all problems like you had done while programming Pong :) pls programm billiard