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
Internal factors at the Greenfoot site
By colorfulteen, with 18 replies.
Last reply by danpost, over 13 years ago:
davmac, your post has been recieved -- thank you.
new greenfoot broke scenario?
By ImFerocious, with 8 replies.
Last reply by jbrucker, over 13 years ago:
Greenfoot 2.1.2 does fix the problem. Thanks. I liked the old installer for windows better, though. the msi forced me to uninstall greenfoot 2.1.0 before installing 2.1.2. The old greenfoot and bluej installer would cleanly overwrite a previous version in same install dir.
Run Greenfoot with -ea
By Evmorov, with 1 reply.
Replied to by davmac, over 13 years ago:
You can edit the greenfoot.defs file (part of the Greenfoot installation) and change the "bluej.vm.args" property (add "-ea" at the end).
GreenfootSound should pause when pause the scenario?
By bourne, with 2 replies.
Last reply by bourne, over 13 years ago:
That makes sense. And okay cool! Thanks again
Paint Order - Order of detection bug
By bourne, with 8 replies.
Last reply by bourne, over 13 years ago:
Okay thanks davmac =)
Failing at scoring
By rvevea, with 5 replies.
Last reply by danpost, over 13 years ago:
NVM
Struggling with objects - (typecasting?)
By ez4u2c, with 9 replies.
Last reply by davmac, over 13 years ago:
An example of futile typecasting as a descendant class (extensions are lost):
Ok, you're correct that in this case the cast is pointless. (It is still not completely meaningless - the cast will be checked at runtime, and an exception will be thrown getWorld() returns something that is not a Space; but this usage is uncommon).
And an example of the default (no typecast) returning the ancestor (World),:
The "getWorld()" method call results in an expression of type World, because that is what it is declared to return. This particular example you have given w
"checkKeypress" Help!
By Stekpannadeath, with 4 replies.
Last reply by kiarocks, over 13 years ago:
your welcome, the semi colons at the end of if statements signal the end of the statement, and the other code is run without any keys pressed.
Sound intensity
By K_O_P, with 2 replies.
Last reply by K_O_P, over 13 years ago:
Thank you very much! I'll try it! :)
If Statement Multiple Conditions
By LastingLuck, with 5 replies.
Last reply by LastingLuck, over 13 years ago:
I changed it to what you said, and it worked perfectly. I'm still very new to programming so thanks a lot for the help.
Changing a Background
By rvevea, with 2 replies.
Last reply by rvevea, over 13 years ago:
Extremely helpful! Thank you! just for reference: Created a global boolean <Code Omitted> then had the if statements check the boolean value like so: <Code Omitted>
OMG what's wrong with Greenfoot this time :(
By Herman, with 6 replies.
Last reply by davmac, over 13 years ago:
Follow the link to the other discussion (in my previous post) - it has a link to instructions on how to clear the cache.
Tile positions.
By actinium, with 2 replies.
Last reply by actinium, over 13 years ago:
Thanks for your reply. I know that the coordinates are 0,0 top left. Wait a minute, if i addObject at 0,0 its actually the centre of the image, while a tile at 0,0 is at the top left. Lol, i need an offset of 12.5 for x and y coords in addObject, got it thanks.
World Start
By Builderboy2005, with 3 replies.
Last reply by davmac, over 13 years ago:
Not sure - it probably shouldn't have done that (assuming you didn't actually instantiate the other world). Maybe a bug in the logic which decides which world was instantiated last; I'll check over the code when I get a chance.
Piano 1 book scenario
By carterfootball, with 7 replies.
Last reply by carterfootball, over 13 years ago:
The x++ did help though I appreciate the help
1038
1039
1040
1041
1042
1043
1044
X