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
next level
By payner2013, with 33 replies.
Last reply by payner2013, about 11 years ago:
what on here on on greenfoot?
Importing an Image
By mpw7488, with 9 replies.
Last reply by mpw7488, about 11 years ago:
ohh, ok :) I ended up just creating a new image and uploading it, but I'm going to try this to see if I can figure it out for myself
Coding Translation
By pr2alede, with 3 replies.
Last reply by pr2alede, about 11 years ago:
Thankyou guys. Lots of help
Is there a silent installer for Greenfoot 230?
By jrbower, with 6 replies.
Last reply by jrbower, about 11 years ago:
Yes I found that very strange myself, but trust me, I done everything possible to try and repackage it and it wil not happen. Yes I realized that after the fact. Thank you again for your help.
Calling method from different class
By zombieslayer2977, with 3 replies.
Last reply by danpost, about 11 years ago:
Game/maniac wrote...
to make the method refrencable you need to make it a static method, e.g. public static void aMethod() {}
This may make the method accessible by allowing you to use the class name to call the method on; however, you need an Counter object to call the 'changeCounterSize' method on, not a class. The object can be saved in an instance field in your world class and obtained by a 'get' method:
userlib
By JDNelson, with 3 replies.
Last reply by davmac, about 11 years ago:
No problem! (Just to be clear, it's fine to post something both here and in the Greenroom, it's just that you had posted the same thing to this forum twice, possibly by accident). I hope the suggestion worked for you.
Switching image problem
By ProForces, with 3 replies.
Last reply by ProForces, about 11 years ago:
Okej, I will try. Thnx for your help!
Compare locations, doesn't work properly...
By Jonche, with 5 replies.
Last reply by davmac, about 11 years ago:
Try some sample values and go through your code to see what it does. Suppose the monster is at 100,100 and that Joe is at 105,105. <Code Omitted> getX() - joeX should be -5 (which is less than 300). joeY - getY() should be 5, which is also less than 300. getX() - joeX will be -5, which is NOT > 0, so the condition is false. So it sets joeIsNear to false (line 5).
License for published scenarios?
By GreenJ, with 1 reply.
Replied to by davmac, about 11 years ago:
There is not a default license, so you must obtain permission to use someone else's code or any other material that would be covered by copyright.
Greenfoot and kinnect
By anup, with no replies.
I want to develop a jigsaw game where I'll move objects(images) using kinect. I'll cut an image into 9 or 16 parts and will keep those images, let's say to the right size of my main window. I can check if image and my right hand overlaps. But, how can I drag that image in my main window, as while dragging it'll overlap with other images too. So, is there any way in kinect to select a particular image like a click event of mouse and drag it?
Cannot find symbol - variable color
By shern91, with 11 replies.
Last reply by shern91, about 11 years ago:
i did it...addObject(r,500,300)..thank to everyone for helped i..
Call Pause() or Wait() within a Loop to visualize steps?
By GreenJ, with 2 replies.
Last reply by danpost, about 11 years ago:
Of course, this can be done in the Turtle class itself; and be made to do specific things at specific times. Like in the following:
Recursion vs. Multithreading
By GreenJ, with no replies.
I just submitted my first Scenario. In order to explain recursion on a basic level, I started with a Turtle project by Paul Clark and Poul Henriksen that I found right here. TreeTurtle is a simple demonstration of how recursion works. Then, my idea was to use the object orientated approach of Greenfoot in order to replace recursive method calls by respawning turtles. Instead of using the clone( ) method, I went for the built-in World method addObject. I wonder if the resulting class MagicTurtles can faciliate the understanding of recursion, or if this process forking concept is too different from recursion (way back is not needed, e.g.) and thus rather confusing students?
done it but how can i do this...
By payner2013, with no replies.
ok so now i have this... <Code Omitted>is there a way that i can specify the world and say if that world is empty then open level 3?
how to make an actor shoot stuff and kill others
By Velociraptor06, with 12 replies.
Last reply by riorex18, about 11 years ago:
That was helpful. Thanks.
763
764
765
766
767
768
769
X