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
Get mouse momentum
By darkmist255, with 8 replies.
Last reply by darkmist255, about 13 years ago:
Thanks :D! I got it all finished up
here
Greenfoot.setWorld()
By darkmist255, with 2 replies.
Last reply by darkmist255, about 13 years ago:
Ahaha, thanks, I forgot I needed to create a new one since there wasn't one there yet. If it doesn't work as a world I'll make it an actor. Thanks :D.
I can't run greenfoot on windows 7.
By figi, with 10 replies.
Last reply by figi, about 13 years ago:
Oki doki i'll send an email tomorrow. Thx for help.
Are Greenfoot games sellable?
By Royalblue64, with 12 replies.
Last reply by davmac, about 13 years ago:
Royalblue64 wrote...
By this, do you mean any sound files?
I mean any sounds files in mp3 format. Greenfoot supports mp3 sound via the JLayer library. Other sounds (.wav format) that it plays do not require JLayer.
Wombat, find leaves?
By moncraw, with 1 reply.
Replied to by davmac, about 13 years ago:
Have a look at the methods in the
API documentation
for the Actor class, and see which ones might be useful. Have a go at trying to use them. If you run into problems or have specific questions, post here.
non-static method cannot be referenced from a static context
By darkmist255, with 20 replies.
Last reply by darkmist255, about 13 years ago:
Huzzah! I just had the "non-static method" problem for another scenario, but was able to fix it on my own! I'm making lots of progress, thanks again guys :D.
&& operator with strings?
By darkmist255, with 8 replies.
Last reply by AwesomeNameGuy, about 13 years ago:
I think that == seems to work sometimes because Java handles strings a little differently than most objects, it has something called a "String Literal Pool" where it has all the strings that are coded into your program already sitting there in memory, or something like that, and it is optimized to use as few strings as possible, so if you have literal strings in your code, and you reference them, a lot of the time you will be referencing the same string anyway and == works. But other times it won't work. Just remeber the difference between references, primitives, and objects. == compares refer
java.lang.NullPointerException
By darkmist255, with 4 replies.
Last reply by darkmist255, about 13 years ago:
Thanks! And I would say that doing "if (someVariable != null)" could help with many methods that can return null?
How to use fillOval?
By rgadue, with 9 replies.
Last reply by keiko1dog, about 13 years ago:
Thank you so much for the explanations!!!!! they helped me understand and figure it out!!! Thanks again AwesomeNameGuy and DanPost!! I really appreciate your help!
What's Wrong?I want the GreenfootImage Class
By Upupzealot, with 6 replies.
Last reply by davmac, about 13 years ago:
Upupzealot: What code did you try, and what error message did you get?
Compiler Warning (continued)
By sjaaksm, with 2 replies.
Last reply by sjaaksm, about 13 years ago:
I know which method causes the warning, and indeed, it has to do with generics. But whether or not the warning will pop-up seems to depend on the jdk that is used Btw, the link to the Ausgangsszenario is: http://greenroom.greenfoot.org/resources/51 It would be nice if the code could be adjusted in such a way that the warning is not given anymore. Sjaak
What happens if I become good at Greenfoot?
By Comrade, with 2 replies.
Last reply by mjrb4, about 13 years ago:
The language you're using in Greenfoot is plain old Java - you can use any Java libraries you like, code just as you would in real world Java - the conventions are the same, the syntax is the same, the language is the same. In short, pretty much all the concepts you learn in Greenfoot can be applied to "real world" situations, Java or not - and if you develop using Java (which is a highly used language in the real world, Google uses it extensively for instance) they'll translate directly. Greenfoot does make things easy from a graphical perspective and there are of course additional conc
Acts per second? Displaying numbers on-screen?
By Royalblue64, with 25 replies.
Last reply by kiarocks, about 13 years ago:
the s is the string for the image, the 12 is font size,the next thing is text color, the last thing is background.
accesing variables in another class
By styxtwo, with 2 replies.
Last reply by styxtwo, about 13 years ago:
Thanks for your reply, it is very helpful :).
why is Greenfoot being called "Greenfoot"?
By winnerpig, with 7 replies.
Last reply by winnerpig, about 13 years ago:
"BlueJ","Greenfoot" and "Redhat" seems to be the three sisters of a family ! haha~
1025
1026
1027
1028
1029
1030
1031
X