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
Tic Tac Toe Finding Winner
By kaciedy, with 4 replies.
Last reply by kaciedy, about 13 years ago:
That makes a lot of sense even if I would have never thought of it. Thank you so very very much.
Intro Video
By SimpleJack, with 3 replies.
Last reply by erdelf, about 13 years ago:
I mean, do you want a move file like mp4 or avi to run or a gliding text or something else?
It's my first time in here.
By IcaroCunha, with 5 replies.
Last reply by danpost, about 13 years ago:
It probably would best for you to go over some of the Java trails (tutorials). You can find them
here
. The second section on the left (Trails Covering the Basics) would be the place to start.
Greenfoot not working :(
By drhorriblejr, with 8 replies.
Last reply by davmac, about 13 years ago:
drhorriblejr: try
clearing your Java plugin cache
.
Multi-room worlds possible?
By MandolinBee, with 5 replies.
Last reply by Upupzealot, about 13 years ago:
What a great parent! I can't imagine study how to program with my mom.(Ok, I'm an adult now) I can tell you surely that what you said is possible. If you need any help, just tell me. For the current question, I think you may write a class which is a "room", or use the World class like a "room". Maybe what you need is just the method Greenfoot.setWorld(World). BTW, make full use of Greenfoot's API, it's very clear with every function Greenfoot is offering. You can see it by double clicking the Actor or World class from the classes bar in Greenfoot.My suggestion is always come here and di
HELP!
By popiroprios, with 3 replies.
Last reply by danpost, about 13 years ago:
You are still being very vague. Be specific and show some attempted code at what you are trying to do.
Menu question
By BradH, with 1 reply.
Replied to by erdelf, about 13 years ago:
To make a menu look at this scenario: http://www.greenfoot.org/scenarios/5679 For the world transition use this command: <Code Omitted>
Need help on setting bold text.
By Jrm1715, with 11 replies.
Last reply by Jrm1715, about 13 years ago:
Thank you. Makes a lot more sense to just use the actor object. Appreciate the help!
Scroll world problem
By treinentom, with 33 replies.
Last reply by SPower, about 13 years ago:
Ik heb door uw code gelezen, en ik denk dat de move statements in de of statements niet nodig zijn. Misschien ziet dat er wat beter uit. En u zei dat de platforms niet met de camera meebewegen als de camera beweegt, dat is logisch als je het object toevoegt mrt de normale addObject methode. Als u wilt dat ze samen met de camera bewegen, gebruik dan de addCameraFollower methode. Onthoud wel dat de gegeven argumenten daar gezien zijn vanaf de camera, dus 0,0 zal in het midden van het scherm komen.
Jump Problems
By StaetheWolfe, with 5 replies.
Last reply by StaetheWolfe, about 13 years ago:
onGroud() returns true when the it looks like it is touching the ground. It also returns true when it is a lot higher than the ground. If I place the actor where onGround() returns false, it falls to where it recognizes ground (not where the image of ground is) and when the up arrow key is pressed, proceeds to do nothing. Changing ySpeed=1 does the same thing.
PONGER
By DOGGY, with 11 replies.
Last reply by SPower, about 13 years ago:
For all the english people, I'm explaining what went wrong :) Eerst ff uitleggen: Je kan een object met een bepaalde naam maar 1 keer maken, je moet de volgende dus een andere naam geven. Als voorbeeld: <Code Omitted>op deze manier wordt het batje genaamd bat2 aan de rechterkant toegevoegd, 30 pixels van de rand (je denkt zeker, waarom zeg je dan '-31'??!! nou, dat komt omdat de coordinaten vanaf 0 beginnen te tellen, dus helemaal a
How to drag a world?
By roronoa, with 7 replies.
Last reply by danpost, about 13 years ago:
I came up with this code to drag an oversized image on the world background.
for loop problems
By erdelf, with 6 replies.
Last reply by erdelf, about 13 years ago:
yeah, when I didn't used the for loop for a while, I forget the most parts.
Breakout code, very confusing? care to explain
By hamchi, with 3 replies.
Last reply by danpost, about 13 years ago:
The code says the same thing as the following <Code Omitted>which might make more sense. If the objects are closer along the x-axis than half the width of the object (which should be the width of the block or paddle -- not the width of the ball) then the ball must be hitting the top or bottom face of the block or paddle and so the y-direction must reverse; otherwise, the x-direction must be reversing. It would seem, however, that corner bouncing would not simulate natural behavi
How to change the cursor image?
By roronoa, with 1 reply.
Replied to by Gevater_Tod4711, about 13 years ago:
In
this scenario
by Busch2207 the mouse disappears (like the name already says), because the mouseImage changes to a transparent image. If you use another image the mouse will look like this. You could also look at the world class of
this
game. There I used an image.
928
929
930
931
932
933
934
X