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 change a objects class.
By kiarocks, with 2 replies.
Last reply by kiarocks, over 13 years ago:
ok
Where is the Scenario Information in version 210
By dbal, with 1 reply.
Replied to by dbal, over 13 years ago:
One of my students found it on the Scenario menu. Dick Baldwin
Randomly Generated Map
By w1llis, with 8 replies.
Last reply by w1llis, over 13 years ago:
Thanks Wagnerf and DonaldDuck. I'm slowly re-learning Java :)
setBackground method
By ianking, with 10 replies.
Last reply by ianking, over 13 years ago:
Aha - makes sense now thanks. Now to get the rest of the game to work.....
How to use System.out.println()
By kiarocks, with 10 replies.
Last reply by mjrb4, over 13 years ago:
There's a full list here: http://www.java-tips.org/java-se-tips/java.lang/character-escape-codes-in-java.html \n, \\ and \" are the ones you'll most commonly use.
Kinect for the Mac
By Mulzie88, with no replies.
Does anyone know when Greenfoot is releasing the frameware and drivers (which they have done for Windows and Ubuntu), as I need to use it soon for coursework!
Making Password Fields
By ateichner, with 6 replies.
Last reply by ateichner, over 13 years ago:
Thanks for the advice... I decided to use
bourne's
GUI and then modify it to act as two components that work as a team to identify a username/ password combo. Thanks!
Start Greenfoot in Code?
By Locomotion15, with 11 replies.
Last reply by Locomotion15, over 13 years ago:
Thank you all! I will test both of these out shortly and announce whether or not they work.
Problem with arrays? String[] whiteKeys?
By manster2008, with 13 replies.
Last reply by mjrb4, over 13 years ago:
You're looking at
Newton's law of universal gravitation
if you want to do some reading around :-)
Game Development Team Project
By webmessia, with 7 replies.
Last reply by Evmorov, over 13 years ago:
-
On Adding to Lists
By danpost, with 3 replies.
Last reply by mjrb4, over 13 years ago:
When you declare a field such as you had originally, you're essentially declaring a space that fits a particular type, in this case a list. You haven't actually put a list there yet, that comes when you do: <Code Omitted>That way you've created a new object and assigned it to listData, and you can manipulate it by calling methods (such as add.) When you don't create the object you're trying to manipulate an object that's not there, or "null" - hence NullPointerException. When you see an exception like that, that's almost always what will be going on!
card games
By stokers, with 2 replies.
Last reply by mjrb4, over 13 years ago:
If you still want more help with this then it'd help to be a bit more specific - what have you tried so far? Have you got any code that we can work from? Generally speaking, if you have a class you can implement the equals() method and subsequently call it to work out if two particular objects are equal, but how to implement it depends on the context!
Checking for values of things in range
By kiarocks, with 59 replies.
Last reply by kiarocks, over 13 years ago:
im back
Quellcode
By MyLove, with 1 reply.
Replied to by davmac, over 13 years ago:
Take a look at the "balloons" scenario that comes with Greenfoot. The "ScoreBoard" class shows you how to make a "Game Over" window.
On fixing 'Infect'
By danpost, with 83 replies.
Last reply by danpost, over 13 years ago:
OK, try: 'infect(infectChance * getInfectChance());' (missed the parenthesis after 'getInfectChance')
1044
1045
1046
1047
1048
1049
1050
X