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
Recommendations for project assignment scenario?
By billcoke, with 1 reply.
Replied to by davmac, almost 13 years ago:
Sounds like you're looking for
Greeps
! If you're teaching you should join the
Greenroom
- there's plenty of additional resources there and you can get additional maps for the Greeps scenario.
Auto scrolling World
By AJTJ, with 5 replies.
Last reply by AJTJ, almost 13 years ago:
Thanks for the replies i will look further into it! :)
Need help fine tuning my game
By joey511, with 3 replies.
Last reply by davmac, almost 13 years ago:
Well, on the first issue, you need to avoid doing anything which is dependent on the actor's location - such as calling getX()/getY() or collision checking methods - after you've removed the actor. You can usually do this by returning from the act() method as soon as you've removed the actor, using the 'return' statement: if (...) { getWorld().removeObject(this); return; }
Mouse click
By Moritz, with 12 replies.
Last reply by Moritz, almost 13 years ago:
Thank you =)) - there is no problem - so there is no mistake, but it doesn´t work... when I click on the block nothing happens
how can I make this two codes in one
By martijn13039, with 30 replies.
Last reply by martijn13039, almost 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, almost 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, almost 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, almost 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, almost 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, almost 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, almost 13 years ago:
//
Libraries Don't make it into applet Jars
By sci-fair-guy, with 3 replies.
Last reply by davmac, almost 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, almost 13 years ago:
thanks for your help =)
976
977
978
979
980
981
982
X