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 to Make Randomized Infinitely Scrolling Background
By compsciproject8, with 1 reply.
Replied to by danpost, over 9 years ago:
I think this was left unanswered for so long because you asked about multiple issues. It is always best to introduce one issue at a time. For the scrolling background, you may want to check out my
Scrolling Tutorial
scenario. Even if you cannot view it, it has a link to a discussion about it which includes the codes to the Scroller class. If you can view it, you can also check out my
Scroller Class Demos
which shows the versatility of the class.
Please Help Me for save the score and show high score :(
By dadansi, with no replies.
Please Help Me for save the score and show high score :(
Health Bar Problems
By DasZer0, with 4 replies.
Last reply by DasZer0, over 9 years ago:
Bitch we got it without youuuu DU JUDE AUSM IMTERNET
Show a game timer after pressing play
By kiks4, with 3 replies.
Last reply by danpost, over 9 years ago:
You will need to use internet explorer. You will need to add the greenfoot site to the java security exception site list and set the security level to 'Medium High'. There are multiple discussion threads on this.
Help With Bubble Tutorial?
By charr103, with 2 replies.
Last reply by charr103, over 9 years ago:
Okay, so I have private void setup() { int i=0; while (i<18) { int i= 0; while (i<18) { Bubble bubble = new Bubble(); addObject(bubble, getWidth()/2, getHeight()/2); i++; } }
mouseClicked() not working
By janslem, with 9 replies.
Last reply by janslem, over 9 years ago:
Super_Hippo wrote...
You need to place line 23 in the act method, not in the constructor.
I'm disappointed that I didn't realize I could make an act method for world haha. Thank you very much!
.gif word background
By skitlesas, with 3 replies.
Last reply by danpost, over 9 years ago:
Change the act method to this: <Code Omitted>EDIT: I do not see any code related to the issue at all (no 'setBackground' method calls anywhere). Setting a default image for the class only sets the initial background of a world created from the class. I have an Animation class that may help out. You will probably need the GifImage class as well to extract the GreenfootImage objects from the 'gif'. As well, there may be a misunderstanding here. What you want ap
Collision not working
By thetrambini, with 1 reply.
Replied to by danpost, over 9 years ago:
The ball will never (or at least, should never) intersect another ball. So, why would you try to get balls at an offset from where a ball is located? Try this: <Code Omitted>
Need help with count
By skitlesas, with 7 replies.
Last reply by danpost, over 9 years ago:
Use IE, put 'https://www.greeenfoot.org/' in the java security exception site list and set the security level to 'Medium High'. There are discussion threads on this subject. Perform a search and check them out.
how to switch between world
By FutureCoder, with 2 replies.
Last reply by FutureCoder, over 9 years ago:
Thanks so much, this really helps
How to create explosion when shooting an enemy?
By ali18, with 6 replies.
Last reply by ali18, over 9 years ago:
Ok forget it, i am not going to do it, because it is very complicated, and also i have not got a code within my explosion. Thank you anyways.
Searching for someone to create a game
By Liv_666, with 1 reply.
Replied to by davmac, over 9 years ago:
This isn't a place to ask someone to do your homework for you. Neither is it a place for spamming random messages and images. I've deleted a number of posts from this discussion.
acceleration
By ChrisD, with 5 replies.
Last reply by ChrisD, over 9 years ago:
calm
How to make ammo?
By wowi132, with 7 replies.
Last reply by wowi132, over 9 years ago:
Thank you very very much for your help Its for a school project, and you pretty much saved my entire project :)
How to make a command depend on a counter value
By wowi132, with 3 replies.
Last reply by danpost, over 9 years ago:
wowi132 wrote...
I changed line 24 to <= instead, and i still get the error 'cannot find symbol - variable Winscreen1 ' even though defined the Winscreen1 in lines 7 through 17.
What is defined in lines 7 through 17 is a method called WinScreen1. The error message for line 24 says it cannot find a
variable
, not a
method
. Method calls ALWAYS have a set of parenthesis after the name of the method. Therefore, line 24 should be: <Code Omitted>
As for the 'counter' thing in line 9, i couldn't find anything, but he
354
355
356
357
358
359
360
X