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
So...Any good galagas yet
By DieKatze117, with 2 replies.
Last reply by DieKatze117, almost 11 years ago:
didnt see this one, though i can d better i think :3
Boolean Question!
By Blackdow97, with 26 replies.
Last reply by Super_Hippo, almost 11 years ago:
Ergänze ein "else" in Zeile 14. Außerdem "mensch" in Zeile 12 durch "wmensch" ersetzen und "mensch" in Zeile 18 durch "mmensch".
Add object within ? radius
By gurlalsingh, with 3 replies.
Last reply by danpost, almost 11 years ago:
After adding the 'steve' to the world, give him a random rotation move him a random distance up to the radius required and then reset his rotation back to zero. Your remainder operation in the initial 'if' condition is odd in that it will only be true 18 times within the first 300 acts, then never be true again. If you want 'steve's to be spawned every 300 acts, you need to reverse the values -- (numActs % 300).
I am having trouble with a snake game
By Starrqwas, with 25 replies.
Last reply by danpost, almost 11 years ago:
I was also wondering why you went through such an elaborate sequence of steps in your enum. It could be written as follows: <Code Omitted>and 'List', 'Arrays', 'ArrayList', 'Collections' and 'Random' do not need imported. I do not see a need to import the 'Color' class either.
Security settings
By actinium, with 3 replies.
Last reply by Super_Hippo, almost 11 years ago:
I downgraded to Java 7 when I realized that the UserInfo doesn't work with Java 8. Now I always have to confirm 3 pop-ups (saying it isn't save to use an old Java version and it should be upgraded etc.) before I can load a scenario. I am not sure if it was different with Java 8, but in Java 7 you have to add http://www.greenfoot.org/ to the exception list in the security area of the Java Control Panel.
Adding specific amount of enemies randomly different levels.
By AlimMiah1, with 9 replies.
Last reply by Super_Hippo, almost 11 years ago:
How did you implement it?
Firing bullets from the tip of a long image instead of the center
By AA1, with 5 replies.
Last reply by dramallama, almost 11 years ago:
I had this same problem myself, I wrote a quite ugly, bulky function to fix it, if you'd like, try this, it will use your rotation and the length of your barell in pixels(hypLength) to determine where the end of your barrel is. simply create the bullet at getX()+adjacent and getY()+opposite
HELP!!! I Need some good computer artists
By DieKatze117, with 2 replies.
Last reply by DieKatze117, almost 11 years ago:
I plan a nice release on my B-Day so hopefully all will go as planned
Image Software
By DieKatze117, with 2 replies.
Last reply by DieKatze117, almost 11 years ago:
Thanks This Will Help
Help Please, New to Coding
By xJesterPROx, with 5 replies.
Last reply by xJesterPROx, almost 11 years ago:
Thank you! It works!
Keeping variables when a new world is created
By Space0fAids, with 3 replies.
Last reply by danpost, almost 11 years ago:
One way is to have each teleporter object store what world to go to and where the player should be placed in that world. Another way, if you are creating new worlds when the teleporter object is touched, is to have a second constructor in your worlds that have either a boolean parameter so it knows when to spawn the player at a different location or two int parameters for the coordinates to place the player.
getting Null pointer
By berdie, with 6 replies.
Last reply by berdie, almost 11 years ago:
Problem solved!
Two GifImages using just the one gif image class?
By DiplomatikCow, with 1 reply.
Replied to by DiplomatikCow, almost 11 years ago:
Oh never mind, i figured it out........wow.....that was a stupid question....
How to stop objects at world edge
By AA1, with 3 replies.
Last reply by AA1, almost 11 years ago:
Thanks
atWorldEdge() larger distance?
By xFabi, with 2 replies.
Last reply by xFabi, almost 11 years ago:
Worked, thanks ;)
617
618
619
620
621
622
623
X