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
A little Help with my project
By Neco, with 3 replies.
Last reply by Neco, over 11 years ago:
Oh CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARL... THanks Super_Hippo, thats what I needed ^^ Jup, already tryed the one World for every Level and every world extending one world class, but didnt get either one working good, but now I should get it ^^
How can I make a part of my World not accessible for my actors?
By CSBossmann, with 2 replies.
Last reply by CSBossmann, over 11 years ago:
Thank you! :D
How do I make turns in a chess game?
By astronomer800, with 2 replies.
Last reply by astronomer800, over 11 years ago:
Thanks. Moving the turn variable into the world subclass worked for switching turns.
CARD GAME: PAIRS
By aconal, with 3 replies.
Last reply by aconal, over 11 years ago:
It works, I´ll upload it soon. Thanks!
Hey guys, I'm a newbie to Greenfoot, teaching it to Y8 class down here in New Zealand. Hoping someone could help me...
By johansj, with 4 replies.
Last reply by johansj, over 11 years ago:
Thanks guys, I will try that out and see how we go. Cheers again J
Help on Blackjack dealer not working
By 1920, with 6 replies.
Last reply by danpost, over 11 years ago:
1920 wrote...
would I need to rewrite all the code in the World class to run the hands?
This code appears to be in an Actor subclass. I would think the general running of the hands should be done in your World subclass.
I need not say more.
How do i make text like the games legend of zelda and pokemon ?
By CodeDaySwag, with 17 replies.
Last reply by danpost, over 11 years ago:
Please show the updated Player class code.
Switch between players?
By ProfessionalNoob, with 12 replies.
Last reply by ProfessionalNoob, over 11 years ago:
Thank you very much for the help. That works.
Brand New To Programming And Greenfoot
By JAVAMAN, with 1 reply.
Replied to by davmac, over 11 years ago:
Start by going through the
documentation
, particularly the tutorials.
Is there a way to make the world look more realistic?
By EduandErnst, with 4 replies.
Last reply by danpost, over 11 years ago:
EduandErnst wrote...
I'm sorry, I got banned for posting the iframe :D
Not really, you just temporarily got blocked from making any discussion posts until you (and your image) were approved. This only happens the first time you try to post an image.
nullPointerException need help
By Krhanos, with 3 replies.
Last reply by Krhanos, over 11 years ago:
Oh my god. Thank you so much it worked!
How can I stop an actor for a specific time?
By CSBossmann, with 6 replies.
Last reply by CSBossmann, over 11 years ago:
Thank you!
how would i go about getting a car actor to turn when there is a new road
By Rayray, with 2 replies.
Last reply by Rayray, over 11 years ago:
thanks ill get back to you if i have any problems
Why won't this code work?
By jennipho, with 4 replies.
Last reply by danpost, over 11 years ago:
You probably do not want to check for clicks on actors you add into the world within the same block of code (the 'if (yes())' code-block, in this case). That block is probably only executed when those actors are placed into the world and not continuously; so, trying to continuously check for a click on an actor there is pointless (as it will not be continuous; and if it was, you would have a multitude of actors spawning on top of each other and the one you wanted to be able to click on would be buried and never get clicked on). I would like to see what the 'yes' method does. Please show i
Having sounds stored in an arraylist
By sophiaking, with 1 reply.
Replied to by danpost, over 11 years ago:
A 'for-each' loop has the format: for (ObjectType variableName : listName) where 'ObjectType' is the name of the class that is declared to be assignable to the variable 'variableName'. Issues: (1) 'GreenfootSounds' is not a valid class name unless you created a class with that name; (2) in order for the for loop to execute its code-block, the list 'listName' ('sounds', in your case') must have previously had some elements added to it; (3) you probably will not be able to get away with two variables with the same name 'sounds' (for the elements of the list AND for the list itself);
590
591
592
593
594
595
596
X