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

Comments for Megaman

Return to Megaman

A new version of this scenario was uploaded on Tue Jan 22 16:33:58 UTC 2013 Published Source Code.
davidlkydavidlky

2013/1/22

fabulous <3
ProgramHoboProgramHobo

2013/1/22

THIS IS AMAZING OH MAI GAWWWWWWWD! HOLY FLYING DAVIDS! THIS GAME DESERVES A 4++ YOU ARE THE BEST PROGRAMMER I HAVE EVER KNOWN
AntwoineAntwoine

2013/1/23

AWESOME ! :))
ThisIsAPickleThisIsAPickle

2013/1/23

There is a bug, when i continue, the big robot spawned, and when i killed it, nothing else spawned. And btw you can shoot left when looking right.. vise versa
ThisIsAPickleThisIsAPickle

2013/1/23

and also, i dont know if this is a bug, but the score continues after i lose and reset
ddolphin351ddolphin351

2013/1/23

Thank you for pointing that out :) I have appended that to the description of the program: "I am not quite sure why, but the page has to be refreshed between every game, otherwise the music will be faulty, *the score counter will not work* and the enemies will not spawn"
MatheMagicianMatheMagician

2013/1/23

You store pretty much everything as static variables, which will not act properly after resetting the game. Just change the score and background music to non-static variables, and you should be good.
ddolphin351ddolphin351

2013/1/23

Thank you very much! I shall do that.
A new version of this scenario was uploaded on Wed Jan 23 17:17:01 UTC 2013 Working off of the suggestion of MatheMagician (thank you very much again) I have limited the scope of the class variables to a local scope. Thus, the page does not need to be refreshed between games ><
MatheMagicianMatheMagician

2013/1/23

Good job! I am glad you got it to work.