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
Is it possible to change the image of a world?
By moobe, with 2 replies.
Last reply by moobe, over 12 years ago:
Thank you so much dan!!! You are the best ;)
Top 10 high score board?
By JellyBlobsofDoom, with 6 replies.
Last reply by JellyBlobsofDoom, over 12 years ago:
I'll try it out! Thank you! :)
How would you create a world based on text strings?
By askgriff, with 6 replies.
Last reply by askgriff, over 12 years ago:
Wow... thank you both for your help. I am to use a system like this to create a scrolling top-down "Zelda-like" game which can be edited easily. This should help with my understanding.
PLEASEEE HELPPPP
By SpritesKing, with 4 replies.
Last reply by danpost, over 12 years ago:
My
Crayon Babies
scenario is a demonstration of how to work with multiple worlds. The MainWorld class is the one it sets up in before start-up. When 'Run' is first hit, it goes to the InfoWorld class which returns back to MainWorld when clicked on. When the MainWorld is then clicked on, InfoWorld again becomes the active world, before going to MenuWorld when clicked on this time. Depending on your choice in MenuWorld, either MainWorld or ImageWorld will become active if 'Quit' is not chosen. I programmed it so InfoWorld will only show be
hi, i hava a problem with mi game , im doing wreck it ralph but a i have problems with my code, could someone help me?
By MichZent, with 2 replies.
Last reply by MichZent, over 12 years ago:
thank you very much :)
how to exit greenfoot??
By fajrizarmy, with 3 replies.
Last reply by danpost, over 12 years ago:
Very good. However, you would use <Code Omitted>for a normal exit. Non-zero amounts are used for when the program needs to be terminated for some reason other than, let us just say, that the user opts to terminate the program or the program has run its course to the end and shuts down normally.
GIF file as background
By moobe, with 2 replies.
Last reply by moobe, over 12 years ago:
Update: Fixed the bug by changing the paint order. The problem is that it's very laggy, but there aren't many ways to solve the problem.
Clear cache?
By Dytanoth, with no replies.
Is there a command to clear the cache when the game is exported? It says my memory is full. (I use couple of images to create an animation but even after compressing them it is to much)
How to copy a given text to clipboard??
By finnland, with 12 replies.
Last reply by finnland, over 12 years ago:
Thanks. It works fine!!! (http://www.greenfoot.org/scenarios/6835 in the Editor)
need help
By myheartwillgoon, with 10 replies.
Last reply by vonmeth, over 12 years ago:
@danpost, you're right, I did mean for it to be (keyWidth*12) and getWidth()-(keyWidth*12). Not sure why I reverted back to 11 there. Thanks! =) Ah, they are equivalent. I thought it was just 'luck' that 11 worked out, but looking at it again, they would be equivalent as per your explanation in the factoring.
Greenfoot sound
By moobe, with no replies.
Hi, I know there is an other threat with a problem I also have, but this is something else again now :) I'd like to play a sound only - let's say - three times. How can I manage this? After it has played it for three times it shall start the next sound. Maybe something with time? Because I know the sound file's length. And now one other thing with the sound: Before the second sound starts, I'd like to decrease the first sound's volume step by step. I've written this code tight now: <Code Omitted> The problem now is that this code is executed in only one frame. Is it possible to solve this problem?
How do you add an object to the world only once?
By Cross, with 3 replies.
Last reply by Cross, over 12 years ago:
Awesome. Thank you guys so much.
HELP PLZ my project is due on monday!!
By SpritesKing, with 20 replies.
Last reply by SpritesKing, over 12 years ago:
THANK YOU vonmeth :) greatly appreciated like always. okay now im going to try and figure out how to do when the score reaches 300 and new enemies spawns ....
Im back
By scarereeper, with 1 reply.
Replied to by scarereeper, over 12 years ago:
but im going to have to redo the tutorails and joy of codes
Help with collision
By Cross, with 3 replies.
Last reply by Cross, over 12 years ago:
Thankyou!~
888
889
890
891
892
893
894
X