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
Store Opening Problem
By GrimCreeper312, with 10 replies.
Last reply by GrimCreeper312, about 11 years ago:
i have shortened the barriers method. I found the problem in button the variable q was not resetting to 0;
Trying to make something disappear when I click the mouse on it. Help?
By Kiara, with 2 replies.
Last reply by Kiara, about 11 years ago:
yay! It worked! Thanks, Danpost!
POLL INFO COLLECTION
By Game/maniac, with 21 replies.
Last reply by danpost, about 11 years ago:
Added code at the end of the macro to sort the list of scores from highest points to lowest.
Sharing without using greenfoot?
By FlyingRabidUnicornPig, with 6 replies.
Last reply by FlyingRabidUnicornPig, about 11 years ago:
Alright, like I said, not that big of a problem, besides that I'd like to make some updates from schol
Problems with detection
By JetLennit, with 13 replies.
Last reply by danpost, about 11 years ago:
You can also set the speed to zero when at the highest location: <Code Omitted>This wil remove the delay between the time the "space" key is released and the player starts to fall.
java.net.socketexception: network is unreachable: connect
By tylers, with 1 reply.
Replied to by tylers, about 11 years ago:
Not if we are allowed to do this but.... Bump
What's wrong with my code?
By FlyingRabidUnicornPig, with 27 replies.
Last reply by danpost, about 11 years ago:
The Ground object reaches 10 pixels lower than the Spike object does. So, with the offsets you are using to locate the objects, the Ground object is found while the Spike object is not. My suggestion is the do this in the Spike constructor: <Code Omitted>and then add five the the y location you add the Spike object into the world at.
Restart Method
By JetLennit, with 3 replies.
Last reply by FlyingRabidUnicornPig, about 11 years ago:
well, at least now you know.
How to take multiple hits?
By OxiClean, with 2 replies.
Last reply by OxiClean, about 11 years ago:
Thank you danpost, you've helped me on several issues, when I upload this project I'll make sure to give you some deserved credit!
why does my for-loop create only one object instead of three?
By Joep, with 2 replies.
Last reply by davmac, about 11 years ago:
You create one new spider on line 9: Enemy spider = new Spider(); Then you have a for loop which attempts to add the spider to the world. But if you add an object into the world when that object is already in the world, it has no effect (other than maybe moving the object). You need to put the above line inside the for-loop body.
Pass in a class as a parameter?
By BubbaB, with 1 reply.
Replied to by danpost, about 11 years ago:
I would like to see the block of code that calls this method (the one with 'createObject(c, x, y);').
How to do you declare variable?
By gquach, with 7 replies.
Last reply by danpost, about 11 years ago:
Yes. Similarly, the same are <Code Omitted>But I guess this would mean you barfed it back up!
isKeyDown problem
By Game/maniac, with 10 replies.
Last reply by Game/maniac, about 11 years ago:
thanks :)
Life problems...
By JetLennit, with 19 replies.
Last reply by danpost, about 11 years ago:
I think you will still have to remove aliens from the contactedAliens list when they no longer show up in the currentContacts list. If you do not, then when you contact that alien at a future time, it will not do any 'damage'.
How check if a specific object is still in the world ?
By TomazVDSN, with 4 replies.
Last reply by JetLennit, about 11 years ago:
I know!! This place is the best!
851
852
853
854
855
856
857
X