This site requires JavaScript, please enable it in your browser!
Greenfoot back

Gus's Comments

Back to Gus's profile

Let me know what you think of this little project. It was fun to make and I learned some new tools and tricks.
GusGus

2013/5/17

Oh, looks like that wasn't the problem, but you should still add that. It cleans things up a little bit.
GusGus

2013/5/17

How much help do you need? I downloaded your game and the first thing I noticed was that the players could slip through the ground. I simplified this by making one ground object. You can add the following code and then adjust the addObject() in your world class so that you spawn one groung (X-coordinate 250). public Ground() { GreenfootImage image = new GreenfootImage(400,10); image.drawRect(0,0,400,10); image.setColor(Color.RED); image.fillRect(0,0,400,10); setImage(image); }