I suggest you make it follow the mouse. It's a lot smoother than the keyboard. Don't kill me!
You can use my code: http://www.greenfoot.org/scenarios/2579
It's very lonely, since I haven't been working on it.
A new version of this scenario was uploaded on Mon Jun 11 17:10:31 UTC 2012
sorry for the wait (i didnt have wifi)
this update includes:
hp powerups,
rainbow pies,
and text that shows your lives
@SirFoxie
I already figured out how to do that and I personally like having the speed and turning limitations that you get from the keyboard so I doubt I will change it. I might make it an option though...
@martijn13039
Verry simple!
Create a seperate world that is your menu, then mank a button and in the act method put a if statement like this
if (Greenfoot.mouseClicked(this) {
Greenfoot.setWorld(new world());
}
replace world() with whatever your world class is.
for example: map()
2012/5/19
2012/5/19
2012/5/19
2012/5/20
2012/5/20
2012/5/20
2012/5/22
2012/6/12
2012/6/12
2012/6/12
2012/6/12
2013/1/14
2013/9/10