Luuk van Venrooij
12-08-2010, 10:43 PM
He all,
Here is a little project I have been working on on vacation.
Inspired by this thread:
http://www.pascalgamedevelopment.com/forum/index.php?topic=6096.0
Using this tutorial:
http://www.gamedev.net/reference/programming/features/verletPhys/
A little 2D physics engine. Its verlet based and is the interface is modelled after the newton game dynamics physics engine.
Currently features:
- Collision and collision responce between Convex bodies
- Applying forces to the bodies.
- A sandbox to play arround in:)
Planned Feature:
- Optimise collision by adding a quadtree
- Add raycasts
- Add saving and loading of the world state
- Add collision callbacks
- Add materials with friction
- Add springs
- Add joints
- Add collision catagories
- Add support for MacOS, Linux and mayby android?
- Add optimised particles using spheres. Could also be used for fluids
- Extend the sandbox with new features
- Create a simple multiplatform game using sdl
Here is a little movie of the sandbox:
http://www.youtube.com/watch?v=bw0k-YniJEU
And of course the download:
http://www.genesisdevice.net/Newton2D-0.2.zip
See the readme for more instructions on how to use the sandbox.
Grz,
Luuk
Here is a little project I have been working on on vacation.
Inspired by this thread:
http://www.pascalgamedevelopment.com/forum/index.php?topic=6096.0
Using this tutorial:
http://www.gamedev.net/reference/programming/features/verletPhys/
A little 2D physics engine. Its verlet based and is the interface is modelled after the newton game dynamics physics engine.
Currently features:
- Collision and collision responce between Convex bodies
- Applying forces to the bodies.
- A sandbox to play arround in:)
Planned Feature:
- Optimise collision by adding a quadtree
- Add raycasts
- Add saving and loading of the world state
- Add collision callbacks
- Add materials with friction
- Add springs
- Add joints
- Add collision catagories
- Add support for MacOS, Linux and mayby android?
- Add optimised particles using spheres. Could also be used for fluids
- Extend the sandbox with new features
- Create a simple multiplatform game using sdl
Here is a little movie of the sandbox:
http://www.youtube.com/watch?v=bw0k-YniJEU
And of course the download:
http://www.genesisdevice.net/Newton2D-0.2.zip
See the readme for more instructions on how to use the sandbox.
Grz,
Luuk