Advertisement
2002VB Miscellaneous #18612

Gravity / Force Controlled Ball (s)

I posted a first version, but this is better so CHECK IT OUT ! You can create balls that bounce arond the screen interacting with each other. They take into acccount gravity and force. Each ball has its own force and when it hits another force is passed through to it. The balls bounce as if it is in real life. You can increase and decrease both the force and the gravity. The code is done by Using INSTANCES OF A CLASS - so if you want to learn classes look at this it will help This is really cool so check it out !

AI

AI 摘要: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

源代码
original-source
Upload
原始评论 (3)
从 Wayback Machine 恢复