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
Possible Drawing in World?
By shahmeer, with 2 replies.
Last reply by shahmeer, almost 15 years ago:
Thanks, worked great!
Chapter 5 abstraction Building the piano
By sophiasturges, with 13 replies.
Last reply by sophiasturges, almost 15 years ago:
@danpost & davmac: Your suggestion to addObject from the Piano world did work. :) Thanks!
Class, interface, or enum expected
By DMag, with 16 replies.
Last reply by danpost, almost 15 years ago:
@Game/maniac, actually 'void' means that the method will not return anything. If it is 'boolean', the method is declared to return a true/false value. If it is 'String', the method is supposed to return a String value (or null). Basically, if the method is declared to return 'void', the method just does stuff and exits. But if it is not void, the method may or may not do some stuff and then, return an object of whatever type the method is declared to return.
What are fews way to learn how to code?
By MakerOfGames, with 2 replies.
Last reply by davmac, almost 15 years ago:
The key is to ask for help when you need it. When you want to do something, have a think about how to do it and write what code you can - but if you get stuck, just post it on the gallery and ask for help. You can also look at other people's code, and try to figure out how it works. You can learn a lot that way!
Teleporting crab
By Nemean, with 5 replies.
Last reply by danpost, almost 15 years ago:
@Duta, Do not sweat it! We all, or most of us, at least, are guilty of it from time to time. We are so eager to help that we miss the clues that matter. Again, it would have helped had the information been provided. We keep stressing the need for clarity, so the help can be more tailored to their needs.
character movement
By Nemean, with 1 reply.
Replied to by danpost, almost 15 years ago:
If your actor is only to move 'up' and 'down', then you do not need to use all this code with Math functions and all. Even if you have it as a sub-class of Mover, you do not have to utilize this code. I threw this code together, controlling the direction with the arrow keys
how do i upload games
By ZDZOZ, with 2 replies.
Last reply by danpost, almost 15 years ago:
I guess the button says 'Share' for the first upload and 'Update' for revisions.
location of mouse
By tylers, with 3 replies.
Last reply by bourne, almost 15 years ago:
Or nesting it within the mouse event checks like mouseMoved or mouseDragged. <Code Omitted>
using text files in a game
By stevenGrohe, with 17 replies.
Last reply by stevenGrohe, almost 15 years ago:
okay thanks
Actor not in world?
By Sofalovesmusic, with 2 replies.
Last reply by Sofalovesmusic, almost 15 years ago:
thank you
slow
By tylers, with 2 replies.
Last reply by tylers, almost 15 years ago:
sorted it now but thanks
how do you list objects in a certain radius
By tylers, with 2 replies.
Last reply by tylers, almost 15 years ago:
thanks
UPLOAD
By abrabant, with 8 replies.
Last reply by tylers, almost 15 years ago:
ok thanks. its 365KB well under :)
make my cat sleep
By Tomc84, with 5 replies.
Last reply by danpost, almost 15 years ago:
The 'else' is not neccessary, as any code following the snippet I provided will execute if 'not sleeping'.
how can i change sprites in game on collision
By craigv, with 17 replies.
Last reply by craigv, almost 15 years ago:
yaaaaaaay! finally worked properly :D thanks for your help guys Craig
1010
1011
1012
1013
1014
1015
1016
X