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 do I set the World the actor exists in again?
By bernhard, with 3 replies.
Last reply by bernhard, almost 11 years ago:
@Gevatter Tod: your first solution did not work, anyway your second did, it works now. thank you. @FlyingRabidUnicornPig: your solution did not really work but I guess that was because I did not do it correctly, my knowledge about programming is quite small. Anyway thank you for your answer too. Thisis such a great community here on greenfoot.org :)
Trying to learn JAVA!!!
By Ari.alvarado, with 5 replies.
Last reply by Ari.alvarado, almost 11 years ago:
Thank you so much, no words to express how grateful i feel for your help! Ari
Super Mario Labyrinth
By schroedusmaximus, with 4 replies.
Last reply by schroedusmaximus, almost 11 years ago:
http://www.greenfoot.org/scenarios/8893 got some problems with the sound files, they were too big so I deleted the main theme of Super Mario.
GIF Image don't work!
By K_O_P, with 2 replies.
Last reply by K_O_P, almost 11 years ago:
Thank you davmac! :)
JDK 7 installation
By peterloads, with 1 reply.
Replied to by Zamoht, almost 11 years ago:
On this homepage go to Download -> Download JDK -> (On the Java page under JDK) Download. You should end
here
. Then check " Accept License Agreement " and click on the download that fits your system.
My browser is ignoring the applet tag.
By Kartoffelbrot, with 5 replies.
Last reply by Kartoffelbrot, almost 11 years ago:
With Mozilla Firefox it works. Thanks!
scaling an image
By davemib123, with 6 replies.
Last reply by davemib123, almost 11 years ago:
davmac wrote...
how do you tell which of the methods in the API are to be applied within a constructor?
All
methods can only be called inside a constructor, method, initializer block, or (if they don't return void) as part of an assignment.
Thanks davmac that is useful info :)
Walking animation
By davemib123, with 4 replies.
Last reply by davemib123, almost 11 years ago:
That's great. I've tested it and found if remove this piece of code it works fine moving left and right: <Code Omitted>
Turn Based Fighting Game W/ Character Selection
By PeanutButterPower, with 6 replies.
Last reply by FlyingRabidUnicornPig, almost 11 years ago:
A 2D array is best thought of as an array of arrays. It's called a 2D array because if you line all the elements out, it's like a matrix (if you've taken algebra you'll know what that means) or a table of objects. A 2D array is declared like a normal array. You have an array of arrays, that have ints, doubles, Strings, or other objects. Most people will declare it in a way where you can see the objects laid out in columns and rows. Here's an example:
doesn't work from world 2 to world 3 and 4
By flopa92, with 4 replies.
Last reply by danpost, almost 11 years ago:
The problem is that when you change worlds, you are creating a new Florin2 object for that world. When a Florin2 object is created, it get a new 'level' field which is set in the constructor to an initial value of one (1). Either pass the Florin2 object or the 'level' field value across to each new world in the world constructor call (you will need to add a constructor with an argument to your Wall world class.
Adding horizontal distance to jumping.
By CidalBlacksmoke, with 5 replies.
Last reply by davmac, almost 11 years ago:
As I said before, increase the initial vertical velocity (jumpStrength) or decrease gravity (acceleration).
Java Applet & Frame in Greenfoot
By dharmasaputro, with 5 replies.
Last reply by davmac, almost 11 years ago:
It uses java applet and frame. But when I tried to make it on greenfoot, i got a dialog box saying that "methods in java.awt.Component has been deprecated".
Those methods
have
been deprecated - the code is old. What you're seeing are warnings, not errors. The box says "Warnings" at the top. It doesn't make sense why you would take that class and compile it (as is) in Greenfoot. The class is an applet. You can have an applet class in your Greenfoot project, but it's useless. You'd be better of using another IDE such as BlueJ.
So, greenfoot can't uses applet
Greenfoot doesn't work on OSX 10.8.4 JDK 1.7.25
By ellipse, with 1 reply.
Replied to by davmac, almost 11 years ago:
Please see the
technical support page
.
3 or 4 players in a game?
By mrar445, with 2 replies.
Last reply by FlyingRabidUnicornPig, almost 11 years ago:
Look at Super Crash Bros: http://www.greenfoot.org/scenarios/7691
Randomly appearing objects
By DoctorProfessorYoshi, with 7 replies.
Last reply by Gevater_Tod4711, almost 11 years ago:
Where did you put this code? If you put it in an act method of an actor that is not in the world or in a different world class it'll not work. Also if you don't call this method or this peace of code in any act method.
806
807
808
809
810
811
812
X