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
Quellcode
By MyLove, with 1 reply.
Replied to by davmac, about 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, about 13 years ago:
OK, try: 'infect(infectChance * getInfectChance());' (missed the parenthesis after 'getInfectChance')
Scrolling
By F-L-Undead, with 9 replies.
Last reply by davmac, about 13 years ago:
F-L-Undead, let's put it this way: if you don't use "synchronized" on those methods, then you're messing with forces you don't understand :) It will probably work most of the time, but sometimes, just occasionally, it will go mysteriously wrong... unless you use "synchronized". You don't have to understand what it does, and you don't have to use it in your own code; just in the two methods in ScrollingListener.
How to recognize left-clicking even if the mosue isn't moving...
By manster2008, with 7 replies.
Last reply by davmac, about 13 years ago:
You can't do that exactly in Java. You have a few options: First option: store the values in a HashMap eg: <Code Omitted> For this to work you'll need to import the HashMap class at the top of your class: <Code Omitted>
Scenario Information
By F-L-Undead, with 2 replies.
Last reply by davmac, about 13 years ago:
Choose "Scenario Information" under the "Scenario" menu.
How can I upload games?
By MyHeartRocksNRolls, with 3 replies.
Last reply by mjrb4, about 13 years ago:
In the newest version of Greenfoot, you don't even need to use the menu - there's a big share button in the top right :-)
Scenario outside Greenfoot
By B00bietrap, with 5 replies.
Last reply by B00bietrap, about 13 years ago:
It's more or less just a experiment for this Kinect. the minigames i have in greenfoot and it's fine there. I just tried to expand the kinect with all my other stuff in Netbeans. And it's not toally out of greenfoot, still using the same classes system and library. I just try to run it without an additional software this time.
Compiler Warnings (Ubuntu)
By Evmorov, with 3 replies.
Last reply by Aikon, about 13 years ago:
Hi, I saw this message today: "unmappable character for encoding UTF8" I run greenfoot on ubuntu 11.04. It was a class that had some strange characters in a comment (this hapened because of changing computers, and i write in portuguese with accents). I fixed it and it executed as usual.
Steps to Time?
By manster2008, with 2 replies.
Last reply by davmac, about 13 years ago:
You can measure the speed yourself using System.currentTimeMillis() - it returns (as a "long") the number of milliseconds since 1 January 1970. You can simply print it to the terminal each act() and then calculate the difference by hand.
On Saving the Image of the World
By danpost, with 6 replies.
Last reply by danpost, about 13 years ago:
Thanks davmac; I appreciate your input. May God shower you with blessings!!
[ASK] about 'RUN/PAUSE' and 'RESET' button
By bangayee, with 4 replies.
Last reply by bangayee, about 13 years ago:
thanks so much
Game Testers
By Lildarkone, with 1 reply.
Replied to by Lildarkone, about 13 years ago:
http://www.greenfootgallery.org/scenarios/3179
Mouse-Dependant Rotation
By Lildarkone, with 1 reply.
Replied to by manster2008, about 13 years ago:
use the following code: <Code Omitted> now in the part where you set the Rotation, you may have to add or subtract 90, and remove the negative or something, because that depends on the rotation of your object.
parameters from greenfoot app via OSC
By Mil, with no replies.
Hi, i am new here, my question is: is it possible to send parameters from greenfoot app over the network for example via OSC?? greetz mil
Testing and Changing Variables from a Collision
By Lildarkone, with 7 replies.
Last reply by Lildarkone, about 13 years ago:
If you could give me any advice on how to improve the scenario, it would be much appreciated! http://www.greenfootgallery.org/scenarios/3081
1042
1043
1044
1045
1046
1047
1048
X