B4J Tutorial Colliding Balls

Converted this Github project to B4J - it is like watching snooker. A bit of physics in it to detect collisions and then change speed/direction

B4J sample project attached
Also download the attached Jar and Xml (by @klaus) in case you don't have it as the project uses his lib to draw some stuff. Copied it to your B4J additional library folder.

Nice to see it in action...enjoy!

 

Attachments

  • jCanvasExt.jar
    5.1 KB · Views: 262
  • jCanvasExt.xml
    35.5 KB · Views: 299
  • b4jBallCollision.zip
    4.1 KB · Views: 267
Cookies are required to use this site. You must accept them to continue using the site. Learn more…