I decided I wanted to use fizzy in my game, so I went to the manual/wiki (
http://slick.cokeandcode.com/wiki/doku.php?id=fizzy), where it said to download to Fizzy and jBox2d. I installed it by
adding the four jars under
/jbox2d-2.1.2.1/jbox2d-library/target and
fizzy.jar to my project. That is the right way to install it right?
The problem is when I try to add a new body to the world.
I write.
Code:
Shape rectangle=new Rectangle(50,50);
rectangle.setOffset(0,0,0);
but the rectangle class does not have the setOffset-method;
Also when i try:
Code:
Body newBody = new Body(rectangle, x, y, true);
it gives me an error!
I am sure that i imported from fizzy:
Quote:
import org.newdawn.fizzy.Body;
import org.newdawn.fizzy.Rectangle;
import org.newdawn.fizzy.Shape;
import org.newdawn.fizzy.World;
import org.newdawn.slick.state.*;
This is probably a noobish but i dont understad....