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
Simple Score
By lgbrf, with 2 replies.
Last reply by ManiHallam, over 13 years ago:
This video will explain exactly how to do it in a simple way, not complicated.
JoC #16: Adding a score counter
Counter Class error
By ManiHallam, with 52 replies.
Last reply by ManiHallam, over 13 years ago:
Thanks again, I am gonna to check it.
"if" Statement?!!!
By ManiHallam, with 8 replies.
Last reply by danpost, over 13 years ago:
I think that since each click can be picked up on individually, that you can still have the method in the Keypad class. You will need a 'static String' variable to collect the characters. A static variable is a 'class' variable (not an object or instance one). All the classes will have access to that same individual variable. The Keypad method would look something like this:
Ich weiß nicht
By Cocky, with 21 replies.
Last reply by Cocky, over 13 years ago:
ich habe es schon herausgefunden.
Create delay for one Actor
By SPower, with 12 replies.
Last reply by SPower, over 13 years ago:
Sorry MatheMagician, I didn't read your code really good.
Private Message!!!
By ManiHallam, with 5 replies.
Last reply by ManiHallam, over 13 years ago:
So have I. haha, LoL. You reminded myself.
Signing Applets
By kiarocks, with 5 replies.
Last reply by kiarocks, over 13 years ago:
Yep!
Why is this throwing a NullPointerException?
By darkmist255, with 3 replies.
Last reply by darkmist255, over 13 years ago:
That's hilarious, I removed that in my code when I figured out the problem, I never even realized how backwards that was. Oh the joys of small changes causing big problems.
How can I make a pause between two action of methods (in Act method)?
By ManiHallam, with 37 replies.
Last reply by danpost, over 13 years ago:
Try this before going on: use this statement in the Counter class (the last line in the update() method) <Code Omitted>
One Method all together
By DPD4AU, with 3 replies.
Last reply by danpost, over 13 years ago:
See my response in the discussion
Creating a method
.
Creating a method
By DPD4AU, with 5 replies.
Last reply by danpost, over 13 years ago:
Would this work: <Code Omitted>
Play and pause game greenfoot
By isaiasdd, with 6 replies.
Last reply by davmac, over 13 years ago:
Check the "controls" menu; the shortcuts are listed there.
Error at setLocation(mouse.getX(), mouse.getY());
By Reck, with 3 replies.
Last reply by davmac, over 13 years ago:
Better to use this: <Code Omitted> (Because getMouseInfo() can in some cases still return null even if mouseMoved() returns true).
How to disappear a Coin?
By valaji_hetal, with 3 replies.
Last reply by danpost, over 13 years ago:
Do not have time to answer your questions, now. Will respond later this evening if noone has helped you by then. Best regards.
Jar doesn't find file
By Lakorta, with no replies.
Hi, I have a little problem with the .jar file from my Greenfoot project. I load a file (map.dat) with "BufferedReader br = new BufferedReader(new FileReader("data/map.dat"));". It works really fine, until I compile my project to a .jar file. Then it couldn't find the map.dat. If I use the complete path /home/lakorta/greenfoot/scenarios/game/data/map.dat (Windows: C:\...\Greenfoot\scenarios\game\data\map.dat) he could load it. Please help!
944
945
946
947
948
949
950
X