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

Report as inappropriate.

ddolphin351
ddolphin351 presents ...

2013/1/22

Megaman

This relatively simple game is my assignment for a computer science course at my school. Being a novice in Java and in programming in general, I would greatly appreciate criticism directed toward the game (please be constructive; I realise that this game could see innumerable improvements).

5775 views / 8 in the last 7 days

6 votes | 0 in the last 7 days

Tags: game with-source

open in greenfoot
Your browser does not support the canvas tag.
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.

See all comments

Want to leave a comment? You must first log in.

Who likes this?

Entity1037 MatheMagician bonana firedark60 davidlky ProgramHobo