A collection of samples that use the dyn4j library in a variety of ways
Sample | Description | Concepts |
---|---|---|
BasketBall | A side view basketball game | Player Input, DistanceJoint, RevoluteJoint, Image Mapping/Texturing, Filtering, Bounds Listening |
Billiards | A top down billiards simulation | Density, Friction, Damping |
Bowling | A side view of a bowling ball hitting pins | Density, Friction, Restitution, CategoryFilter |
Bridge | A side view of a bridge made from joined bodies | RevoluteJoint |
Bucket | A side view of a bucket with 200 random objects | Larger world |
Concave | A side view of a concave object | Concave vs. Convex, Convex Composition |
Crank | A side view of a piston | RevoluteJoint, PrismaticJoint |
Decomposition | A side view of a few simple polygons decomposed | Convex Decomposition |
Destructible | A side view of destruction of a body and joint | Remove/Add Buffering |
Images | A side view of a scene where images are mapped to bodies | Image Mapping/Texturing |
LinkTerrain | A side view of a link-based floor | Smooth Sliding, Link |
Maze | A top down view of a maze with a player controled body | MotorJoint, Player Control |
Organize | A side view of a scene where bodies are randomly joined and self organize | DistanceJoint |
Platformer | A side view of a platformer simulation | OnGround, Player Control, One-way Platform, Jumping |
Pyramid | A side view of a Pyramid of stacked boxes | Stacking |
Ragdoll | A side view of a ragdoll made from joints | RevoluteJoint |
Stacking | A side view of a scene where the player can add boxes dynamically | Stacking, Add Bodies |
Tank | A top down tank simulation | Raycasting, Player Control, FrictionJoint, RevoluteJoint |
Thrust | A side view of a scene with a rocket | Applying Forces |
Tracking | A scene where contact tracking is printed to the console | Contact Tracking |
Truck | A scene where a truck filled with boxes moves through a world | RevoluteJoint, Fixture Composition |
UsingGraphics2D | A scene with just a bunch of shapes rendered via Java 2D | Java 2D |
UsingJogl | A scene with a few shapes rendered via OpenGL via JOGL | JOGL |