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
Finishing touches
By starworld31, with 1 reply.
Replied to by danpost, over 10 years ago:
You can look at my
Value Display Tutorial
to learn how to accomplish that.
How do I get this to bounce now? My teacher says I don't have the code in there for it and look in our notes, but I can't find it.
By tn13673, with 1 reply.
Replied to by danpost, over 10 years ago:
Your 'bounce' method with line numbers follows: <Code Omitted>Line 11 is suspicious in that y
How am I supposed to get this to move? It just moves my itself right now, but I need to be able to control it.
By tn13673, with 1 reply.
Replied to by tn13673, over 10 years ago:
Ignore, my teacher FINALLY got around to me.
Make an if-statement execute once
By Bassusour, with 2 replies.
Last reply by Bassusour, over 10 years ago:
Thanks for the reply, it helped me :)
Rapidly Change Actor Image
By MrGalax1, with 2 replies.
Last reply by MrGalax1, over 10 years ago:
Thank you very much, all working now :)
Instance variable across multiple classes
By Bassusour, with 7 replies.
Last reply by danpost, over 10 years ago:
Bassusour wrote...
Thank you Super_Hippo :). However, this will lead me into a new question. How do i make the if-statement execute only once if true? Because it will spawn hundreds if the statement is true, and I only want it to spawn one instance
Why there is no autocompletion function?
By leetom, with 5 replies.
Last reply by davmac, over 10 years ago:
It seems you are right - a bug was introduced in Greenfoot 3.0.2 which makes the option unavailable. I've fixed this now for the next release (3.0.3, which should be available fairly soon).
How do you disable the cheet sheet on greenfoot?
By MrFlawless, with no replies.
I downloaded greenfoot on win 10 and it came with a cheet sheet and I cant seem to find a way to disable it. Anyone know how to do it?
java code to find odd integer divisible by 3
By divinity, with 2 replies.
Last reply by divinity, over 10 years ago:
thank very much danpost.
What is wrong with my code?
By Bassusour, with 16 replies.
Last reply by Super_Hippo, over 10 years ago:
With the code he gave you, add a 'setImage' call in lines 10 and 15.
How to display line that I drew.
By RedPanda98, with no replies.
I have followed Greenfoot's API and trying to create Wall class which will be used in the world to separate the controls and the particles of the world. How do I display the line and can this be used for collision detection? <Code Omitted>
Help me, my counter "n" wont increase...
By Nathan2000, with 2 replies.
Last reply by Super_Hippo, over 10 years ago:
Each 'rocket' has its own 'n' variable. So whenever you create a new 'rocket', 'n' will be set to zero (line 3) and the new rocket prints its own 'n' into the world. One way to make it work is to track the hits in the Player's class code. And whenever the rocket hits an enemy, it increases the variable of the Player object.
Help me for my table football game
By fearDnine, with 1 reply.
Replied to by Super_Hippo, over 10 years ago:
Call the 'move' method at the end of the 'bounce' method. Maybe that helps. Why do you have a different class for each player?
Create a new object from a different class
By Bassusour, with 2 replies.
Last reply by Bassusour, over 10 years ago:
thank you :)
How do you create sliders to increase or decrease values?
By RedPanda98, with 1 reply.
Replied to by danpost, over 10 years ago:
I have a Bar class (subclass of Actor) that can be used as a slider when subclassed by my MseActBar class. If you downloaded my GQActor Superclass Demo as discussed in your gravity issue discussion thread, you should find both those classes in it.
491
492
493
494
495
496
497
X