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

Report as inappropriate.

NJoson
NJoson presents ...

2012/3/20

MyMaze

No description.

2019 views / 6 in the last 7 days

Tags: game with-source korea

open in greenfoot
Your browser does not support the canvas tag.
danpostdanpost

2012/3/20

First off, in the world class, move what you have in the act method up into the constructor where those statements belong. Secondly, why, in the world class, are you adding this.getWidth() and this.getHeight() (which are returning the width and height of your world) to the x and y of where you are adding the objects into the world at? That will place them outside of your world (that is why they all appear at the lower right corner of your world window).

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

Who likes this?

No votes yet.