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
trying to get the X and Y of every object
By Yodats, with 4 replies.
Last reply by Yodats, almost 7 years ago:
Thank you really much danpost
getOneIntersectingObject problem
By Fuph, with 7 replies.
Last reply by Fuph, almost 7 years ago:
I just tried it and it worked! Thank you very much!
java.util.List<java.lang.Object> cannot be converted to java.util.List<greenfoot.Actor>
By Cool, with 1 reply.
Replied to by danpost, almost 7 years ago:
You could try the following for line 3: <Code Omitted>If that does not work, start with: <Code Omitted>
Need help with tic tac toe
By Conneroman, with 3 replies.
Last reply by Conneroman, almost 7 years ago:
Nevermind I figured it out! Had to change the boolean to a static bool.
need help with project concerning the actors
By Vishnu19, with 1 reply.
Replied to by danpost, almost 7 years ago:
Vishnu19 wrote...
I would like to have an
random initial rotation (using a random number generator
Use a class constructor to set an initial random rotation.
and give it a greater random turn capability than what it is currently shown as below. << Code Omitted .>>
Increase the values on line 8.
I need help with getting the following method to create a condition in which when the actor touches the borders, it will respawn in random areas ONLY in the top half of the world (btw my world is 800x600). The code I have below allows the actor to respawn in rando
Clicking on transparent parts of actors.
By AlmostUselessPenguin, with 1 reply.
Replied to by danpost, almost 7 years ago:
AlmostUselessPenguin wrote...
Is it possible to do either of these things: -Only register clicks within the visible area of the object (all the buttons are rectangular but not a whole number of grid spaces in size) -Offset an object's image by a fraction of a grid space in an alternative way
The first way is possible by having each button retain where its visible range is. Then checking the position of the mouse with respect to that range. The second way can only be done by reducing the grid size. Best would probably be to use a non-grid world and create the appearance of a grid wit
NEED HELP! How to fix Actor not in World error?
By KAA, with 2 replies.
Last reply by danpost, almost 7 years ago:
KAA wrote...
the error appears in the vacaw v2=new vacaw(); line
Please show your
vacaw
constructor code (it is in the
vacaw
class and starts with '
public vacaw()
'.
Need help deleting actors and remaking them using numpad like in the sunPlanetMoon() method
By VanishingDog, with 3 replies.
Last reply by VanishingDog, almost 7 years ago:
Nevermind I got it working :) Thanks for the help!
i can't turn off my music when i enter next level
By Petr, with 4 replies.
Last reply by Super_Hippo, almost 7 years ago:
You are stopping a sound which never started.
how to prevent overlapping
By Bigbobatesloppyjoe, with 4 replies.
Last reply by Bigbobatesloppyjoe, almost 7 years ago:
Ok it works thanks!
Trouble with second character and Background
By Paciman, with 18 replies.
Last reply by Paciman, almost 7 years ago:
danpost wrote...
Paciman wrote...
I wrote it like this, what should i correct ? << Code Omitted >>
Remove the last
if
structure around the scrolling code.
Okay i found my mistake Thanks for giving me so much of your time
New Sign Up
By sivlayyi, with 1 reply.
Replied to by danpost, almost 7 years ago:
sivlayyi wrote...
Hello everyone, i'm a new one on this. Pls help guide line me.
Please check out the '
About
' (overview), '
Documentation
' (tutorials) and '
Download
' (IDE acquisition) tabs above.
How do i scale down an image?
By NateysWowed, with 3 replies.
Last reply by danpost, almost 7 years ago:
So -- A1: Yes. A2: Upon creation. A3: As shown. Change '
void act()
' to '
BlockOne()
'.
how i can make my actor take points
By Petr, with 2 replies.
Last reply by Petr, almost 7 years ago:
thx man now thanks to you i completed my game.
Would like some assistance with questions
By RShock, with 5 replies.
Last reply by RShock, almost 7 years ago:
Alright, so here is what I have: 2. When if - statements are evaluated the condition can only be true or false. The if - statement will be executed only when the condition is true. 3. Superclass
156
157
158
159
160
161
162
X