Slick Forums

Discuss the Slick 2D Library
It is currently Tue Jan 21, 2020 2:40 am

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Problem with fizzy
PostPosted: Tue Aug 14, 2012 3:49 pm 

Joined: Tue Aug 14, 2012 3:30 pm
Posts: 4
I decided I wanted to use fizzy in my game, so I went to the manual/wiki (, where it said to download to Fizzy and jBox2d. I installed it by
adding the four jars under /jbox2d- 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.
Shape rectangle=new Rectangle(50,50);

but the rectangle class does not have the setOffset-method;

Also when i try:
Body newBody = new Body(rectangle, x, y, true);

it gives me an error!

I am sure that i imported from fizzy:

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....

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group