Welcome to Crates! Smarty likes to keep his crates on specific places. Use the arrow keys to move smarty around. Push the crates onto the goals to complete the levels. Good luck!
A new version of this scenario was uploaded on Thu Mar 24 13:04:52 UTC 2011
Welcome to Crates!
Smarty likes to keep his crates on specific places.
Use the arrow keys to move smarty around.
Push the crates onto the goals to complete the levels.
Good luck!
Version: crates_b1 24-03-2011
A new version of this scenario was uploaded on Sat Mar 26 21:05:54 UTC 2011
+Added levels to a total of 9.
+Added scoreboard in the top left thats shows the current level and the amount of moves taken.
+Added opening and closing board.
+Binded 'Backspace' to restarting a single level.
A new version of this scenario was uploaded on Sat Mar 26 21:17:10 UTC 2011
+Added an extra line to the opening message.
Dear hesh,
I like this kind of games, also known as SOKOBAN. I tried myself to write a scenario based on wombats world. I crashed at following problem: I can identify a crate in front of the wombat, but I was not able to call the move-method of this crate.
It would be nice, if you allow a download of the sourcecode of your program.
greetings from Pushy
A new version of this scenario was uploaded on Fri Apr 15 21:34:42 UTC 2011
+Published source code.
Hey Pushy.
Thanks a lot for your interest!
To get this working I learned you've got to call the object (crate in this case) you are referring to a name first, in the code of the moving player. So next you can move the object by stating: name.setLocation(int x, int y).
I uploaded the code for you, have a look to see what I mean!
Greets,
hesh
Hey hesh,
thanks a lot!! You wrote an easy to read source code with good explanations. I recognized the differences and also why your version is running and my not.
Thank you for supporting, I hope not only me but also some other newbys in Greenfoot World.
Greets Pushy
P.S. The next step may be to offer a level generator.
2011/4/15
2011/4/15
2011/4/15
2011/4/17