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
how can I make this two codes in one
By martijn13039, with 30 replies.
Last reply by martijn13039, over 13 years ago:
hey danpost thx for all your great help, it is really work nice and there are no futhere problems. thx so much
Actor is not in world??
By Blackmac, with 4 replies.
Last reply by Blackmac, over 13 years ago:
Thanks a lot!!! very stupid mistake...
Menu with multiple levels
By josh6beasttt, with no replies.
Hello everyone! :) I want to create a start up menu where I will have three buttons, each one for a different campaign. I had made four different worlds ( menu, world1*, world2*, world3* not actual names) and then I made three different keys/buttons to link to the respective worlds. I had my idea, but it didn't work, so I just messed around with it a little bit to much :o any help on how to do the menu though? So I can start from scratch lol :D
Time Retrictions
By Loopy, with no replies.
I have a animal doing a specific action but I want it to only do it for a short bit. How do I stop it at a desired time, say 3-4 seconds.
Does anyone see anything wrong with this?
By darkmist255, with 2 replies.
Last reply by darkmist255, over 13 years ago:
Ohohohoho I forgot about dividing the width and height! Thank you! And the re-location parts are all separate and working well on their own, this method just threw them off.
How do you put in letters into a game?
By MakerOfGames, with 2 replies.
Last reply by davmac, over 13 years ago:
MakerOfGames: when you create a post, please click the "Create" button once. Just once. No need to click it seven times. Thanks!
What do you do to catch and throw an object. Finalize, catch, and throw
By OGava, with 3 replies.
Last reply by OGava, over 13 years ago:
RECYCLINGBIN PLAYER AND A LILBIT OF PAPER public void tryCatchPaper(recyclingBin) { if(RecyclingBin(tryCatchPaper)){ (Paper.class)goTorecyclingBin(); } } public void tryThrowpaper(Player) { if(Player(tryThrowPaper)){ (Paper.class)goTorecyclingBin(); } } IDENTIFIERS EXPECTED EVERYWHERE, EFFORT TO TRY, GONE LIKE THE WIND
A School Project
By Helvete, with 2 replies.
Last reply by Helvete, over 13 years ago:
Hey thank you for your answer. (; I will try this thanks.
Help with some coding please.
By Swedishsam, with 9 replies.
Last reply by Swedishsam, over 13 years ago:
//
Libraries Don't make it into applet Jars
By sci-fair-guy, with 3 replies.
Last reply by davmac, over 13 years ago:
I think you answered your own question to a degree? The 'export to applet' functionality of Greenfoot isn't really intended to work with external libraries; more of a design oversight that a deliberate omission however. In regards to file access, you certainly can't do that with an applet, and even to access resources inside the applet you can't use conventional File related classes (File, FileInputStream etc). Once inside the applet the resources aren't files anymore. See
this discussion
.
save a generated world to file?
By sadistic_angel, with 16 replies.
Last reply by sadistic_angel, over 13 years ago:
thanks for your help =)
Greenfoot is failing to recognise Java.
By craigpd, with 2 replies.
Last reply by craigpd, over 13 years ago:
Ok,thanks for the help, It got be abit further in, maybe my friend will be able to help me the rest of the way.
Bug report... legitimately this time...
By Gazzzah, with 2 replies.
Last reply by Gazzzah, over 13 years ago:
Makes sense I guess. My apologies for being a difficult customer.
Not sure whats wrong
By Swedishsam, with 10 replies.
Last reply by Swedishsam, over 13 years ago:
Thank you very much, my problem has now been resolved.
Key Pressing
By dark_sky, with 5 replies.
Last reply by danpost, over 13 years ago:
Yes, but you must use a boolean to prevent flying (the canJump() method below should return a boolean)! Go back to using the isKeyDown method and drop the 'jumping' boolean and add one called 'upPressed'; set to true when 'up' key is found down, set to false when key is released. Use it in conjunction with finding standing ground to aid in timing of reset of jumping. <Code Omitted>where canJump() will check to make sure the actor
979
980
981
982
983
984
985
X