This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
Discussions
You need to login to take part
Current Discussions
key press
By tylers, with 1 reply.
Replied to by danpost, over 13 years ago:
There really is not information given to answer that question. Is the action to be taken something that should continue to happen while to key is held down? or, is it a one time thing. What kind of action is to be taken when a key is pressed?
Opposite running
By solo1512, with 2 replies.
Last reply by solo1512, over 13 years ago:
<Code Omitted>Thanks but I worked everything out, I just had to add this code to every boolean.
Mobius glitch
By solo1512, with 1 reply.
Replied to by solo1512, over 13 years ago:
NEVER MIND! I FIGURED IT ALL OUT.
Pac-Man
By andrewsadik, with 2 replies.
Last reply by MatheMagician, over 13 years ago:
You could just modify the wombat code from the wombat scenarios so that they are looking for walls instead of rocks, and pacman instead of leaves.
Particle Explosion
By SayMyName, with 1 reply.
Replied to by Duta, over 13 years ago:
Firstly you're going to have to give a little more information about what you actually want to happen, and when you ask what class you need, the idea is that you write the classes yourself! We can, of course, help if you give a little more detail
High Score Menu
By ChexMex, with no replies.
How would I go about making a high score menu.. I thought of saving the top five high scores of my game to a text file and then comparing them to newer high scores using input and output methods. I just dont really know how I'd go about doing that.
Bee Mover
By solo1512, with 8 replies.
Last reply by solo1512, over 13 years ago:
Once again, no prob. Play my games, I need views and advice. Stewie and Homer by JayWood860 as well! don't forget.
Menu Screen/ Shop screen
By SayMyName, with 4 replies.
Last reply by SayMyName, over 13 years ago:
danpost wrote...
You will need two types of objects; one for the background of the menu (which could have a title, or instruction on menu use), and one for the different options of the menu (which could be in the form of buttons, icons, zones, etc.). The best object to use for in-game menus or shop screens is a new world object ('MenuWorld' or 'ShopWorld'). The advantage of using 'Greenfoot.setWorld(new MenuWorld(this))' to produce a new world is that the old world can be effectively 'paused' during the time the Menu or Shop worlds are up and running. The 'this' sent to the Menu or Shop worlds
just starting
By mschwind, with 3 replies.
Last reply by davmac, over 13 years ago:
There shouldn't be anything else you need to download. What do you see when you open the crab scenario?
Mobius
By solo1512, with 4 replies.
Last reply by solo1512, over 13 years ago:
Thanks erdelf! I only needed the switching of the methods in line 33.
A question about continuing after exception.
By FrozenForm, with 2 replies.
Last reply by FrozenForm, over 13 years ago:
Ok, thank you, it's my first time doing something like this.
Null Pointer Exception after song ends?
By Toastminion, with 1 reply.
Replied to by danpost, over 13 years ago:
This discussion
might shed some light on what is happening.
setRotation() not working
By guvnor, with 1 reply.
Replied to by danpost, over 13 years ago:
You did it again! You are creating TWO instances of Spider class objects. You adding the second one to the world, and rotating the first one. You need to add and turn the same one. <Code Omitted>
Need Help. Method returning 0
By guvnor, with 14 replies.
Last reply by danpost, over 13 years ago:
Glad you have it working now! You can remove the 'alive' variable from the spider class, as it is not being used.
Improvements?
By Jesse_Orange, with no replies.
I have finally made my Snake game and it works! :) Now i would like some suggestions for improvement as I feel it could be better. Any and all suggestions are appreciated. The scenario can be found through this link -
Snake Game V2
964
965
966
967
968
969
970
X