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

DonaldDuck's Comments

Back to DonaldDuck's profile

Darkmist, It's really not complicated at all :) In the levelBuilder class, there is a void that initiates the level string. When the program starts, in the levelBuilder act method, there is a command that tells it to read that string, and read the 'legend' (private void check(String[] segs), line 396) The legend merely checks a character against an if statement, so if the character is a 0, do this, if it's a 1, do this, etc. Hope that helps!
Ah I've just checked it out. My apologies bourne. Time to look for an alternative output source, I'm not a big fan of the console window...
The force field is an invisible block that will make patrolling enemies turn around when they touch it. When the entire level has been seeded, a JPane will appear and ask if you want your seed. Pressing okay shows the seed and highlights it for you, and pressing ctrl + c (Windows) or command+c (Mac) should copy the seed to your clipboard.
Thanks. The editor was just implemented and I hope to add arrow key navigation to assist in creating. Did you understand the help alright, or should I improve that screen?
Thanks :) I used the SmoothMover and Vector classes made by Poul Henriksen and Michael Kolling.
IO doesn't work within the gllery, I'll fix it in a second.
The music is Strobe by deadmau5 and was downloaded in mp3 form from YouTube via keepvid.com
Also if the world was unbound, you could add the fish out of the viewing area and have them swim in instead of having them materialize out of thin air (or water in this case)
Perfect! Thanks for telling me!