I download the jar of Phys2D ,but I don’t know how to get started with Phys2D ,Who can give me a Phys2D Helloworld?thinks!!
You can take a look to the source code. It contains all the examples that are in the demo box.
Basicly, you have to :
- create a “World” object
- add “Body” objects that have a “Shape” in the “World”
- call “World.step()” every frame
thank you very much…
and I download src.zip in Phys2D Website, there isn’t any exmple in file package,if any have the example
code of Phys2D ,pls send to me ,thanks!
Email: koneyl@163.com ;D
In the src.zip, there is the folder \test\net\phys2d\raw\test.
There is Demo1.java, Demo2.java, …