Report as inappropriate.
A demo of my physics engine for Greenfoot.
DETAILED DOCUMENTATION INCLUDED!
- Smooth moving objects using double-vectors
- Custom colliders that are free of the form and size of the actors image and can have other geometric forms
- Physical behavior with inertia, momentum, impulse, elastic and non-elastic collisions, gravity, drag...
- Framerate-independent movement using the current fps to get a stable movement at maximum framerate
All this can easily be used for your game by simply extending from my classes. Custom coded colliders are also supported. Please credit this scenario, if you want to use it.
The classes make use of my custom packages including vectors, transforms, time delta classes and more. This is all included. Simply copy the "packages" folder into your project. Most of that is also commented!
For the online demo:
If it shows something like "HTML does not support this", simply reload the side.
The demo actually visualizes the colliders of the objects. The actual actors use the normal green foot as image. As you can see, it's not working perfectly, but still acceptable. Also, the performance is pretty good.
To embed this scenario in a web page, copy the following HTML code:
Want to leave a comment? You must first log in.