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
compatibility of Greenfoot with browser
By Jim_Clark, with 1 reply.
Replied to by davmac, about 13 years ago:
Sure it can. But bear in mind that Java version '1.6.0_14' corresponds to JDK 6. As confusing as this might seem, in the Java world, "1.6.0" and "Java 6" are the same thing. Also, there's no reason why you shouldn't upgrade the version of Java on your system anyway - i.e. remove 1.6.0_14 (which is quite old now) and replace it with either 1.6.0_31 (aka "Java SE 6 update 31", aka "Java 6") or with 1.7.0_03 (aka "Java SE 7u3", aka "Java 7"). Your browser will use the newer version automatically once you've installed it.
Really Basic Question!
By TheNightStrider, with 15 replies.
Last reply by TheNightStrider, about 13 years ago:
thx danpost again - I owe you bigtime
Need help with toggling!
By DHoffman94, with 9 replies.
Last reply by DHoffman94, about 13 years ago:
I havent had a chance to check weather the sound works, but the image works perfectly! No spazing out and blinking, just one clean on and off. Thank you very much, I cited your work as a comment on the class.
Reading Sound Folder
By Busch2207, with 2 replies.
Last reply by Busch2207, about 13 years ago:
That was my first thought, too... I was just hoping that there is an easier variable solution... But thank you for your reply! :)
Kinect server not working
By lvv1227, with 3 replies.
Last reply by nccb, about 13 years ago:
Ok, thanks for letting me know. I'll rework the software for the next release so that it doesn't do that again in future.
Making things happed when in a specific world
By tallyaka, with 13 replies.
Last reply by tallyaka, about 13 years ago:
Nevermind! I got it to work! Thanks so much for all your help! I really appreciate it!
Online game work on LAN (WLAN) but not internet?
By qnanqing, with 6 replies.
Last reply by qnanqing, about 13 years ago:
Oh it working now! the program works fine with other computer!!!!!!!
Not working, but why????
By TheNightStrider, with 9 replies.
Last reply by davmac, about 13 years ago:
doing while(!Greenfoot.isKeyDown("enter")){Greenfoot.delay(1)} does the same thing right?
Yep!
What difference would replacing Greenfoot.delay(...) with repaint() make?
It would let the world repaint, but it would still be an unbounded tight loop. See my comment above.
Inventory
By DMCGames, with 1 reply.
Replied to by DonaldDuck, about 13 years ago:
I would create an object inventory (an actor, but remove the extends Actor to make it an "other class") and inside of it make a static array called inv. You can make the array as large as you want inventory slots. Everything in this class must be static and can be called from another class by saying inventory.something or you can write inventory i = new inventory; i.something and not need to have statics. The advantage to the second method is that the variables will be reset with the program instead of having to write a reset method for it.
start/restart button
By tylers, with 1 reply.
Replied to by Duta, about 13 years ago:
Not unless you're going to re-code the actual Greenfoot source-code
embed a webpage onto a scenario
By tylers, with 2 replies.
Last reply by tylers, about 13 years ago:
ok thanks i will give it a miss then :)
for loop working on menu
By programmer22, with 1 reply.
Replied to by danpost, about 13 years ago:
To have code execute only at the initial
start
of the scenario, create a method called 'public void started()' (a method of this name will over-ride the empty super-class method with the same name that is called when the 'Run' button is pressed. The only problem to deal with is, what happens when to scenario is paused and then re-started (it
will
run again). That being said, you need a boolean instance variable in the world class to track the initial start. <Code Omitted>Then, start your new method with
strange?
By programmer22, with 2 replies.
Last reply by programmer22, about 13 years ago:
its ok i figured it out i just borrowed some pics
Sound Problem? Help!
By TheNightStrider, with 2 replies.
Last reply by TheNightStrider, about 13 years ago:
It had no tags on anyway - i have converted them in wavs anyway now - this was really irritating me!
"Life is too short..." Using getObjectsInRange()
By Omniscience, with 7 replies.
Last reply by Omniscience, about 13 years ago:
Thanks! Works great... plus I understood the logic behind it! I'm gonna try and create a Game Over dialogue Box, which will appear when the Car.class no longer exists in the world. Will post feedback! Thanks again
danpost
!
1003
1004
1005
1006
1007
1008
1009
X