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

Comments for Maze/Obstacle Course Level 2

Return to Maze/Obstacle Course Level 2

Please leave bugs in comments!!! Remember to like this and follow me! If you haven't already, check out level 1!
A new version of this scenario was uploaded on Wed Jan 02 19:31:25 UTC 2013 Finally, 100% thanks to vonmeth, there is respawning!!!! YAAAA!
Level 3 will be out soon!
Things to expect in level 3: Respawning Possibly better walls Longer level A different fruit Possibly a new twist!
I will make level 3 at 50 views and atleast 1 vote
Well I have one vote so 24 views to go!
birdybirdy

2013/1/2

I like it. More fruit, woooh,
Thanks for the like!
5 more plays and I will make level 3!
Level 3 is out!!! Come check it out!
madonna11madonna11

2014/12/9

Can I see the codes for this? Thank you!
UNDEAD_DCUNDEAD_DC

2014/12/9

for movement you should use: private double a = 300; private double b = 200; private int speed = 2; public void act() { // Add your action code here. //move(1); int x = getX(); int y = getY(); int ww = getWorld().getWidth(); int wh = getWorld().getHeight(); if (Greenfoot.isKeyDown("up")|| Greenfoot.isKeyDown("w")) //for moving forward { a += Math.cos(Math.toRadians(getRotation()))*speed; b += Math.sin(Math.toRadians(getRotation())) * speed; a = 1+(a+(ww-3))%(ww-2); b = 1+(b+(wh-3))%(wh-2); setLocation((int)a, (int)b); } }