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!

1704902946448.png
 

Attachments

  • jCanvasExt.jar
    5.1 KB · Views: 62
  • jCanvasExt.xml
    35.5 KB · Views: 61
  • b4jBallCollision.zip
    4.1 KB · Views: 62

Similar Threads

Top