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
Quick Question
By comandodude101, with 18 replies.
Last reply by comandodude101, over 11 years ago:
Never mind figured it out. Thank you SO MUCH :)
How to use method from another class?
By MindlessRicky, with 5 replies.
Last reply by danpost, over 11 years ago:
As long as the method is in a shared superclass, they both can use it (without having to copy the code).
getOneObjectAtOffset has some troubles
By Dytanoth, with 5 replies.
Last reply by Dytanoth, over 11 years ago:
Thanks for the advice, I hope it'll fix the problem
How to extend map?
By comandodude101, with 1 reply.
Replied to by comandodude101, over 11 years ago:
Never mind I figured it out I just went into the world class and edited the size so never mind.
How do you grab an object?
By mike123, with 3 replies.
Last reply by mike123, over 11 years ago:
thanks guys :)
chance method
By Beginningatdawn, with 1 reply.
Replied to by paul10y, over 11 years ago:
maybe if(Greenfoot.getRandomNumber(100)<10){ } or what do you mean?
How to you rotate an object to face another object?
By mike123, with 10 replies.
Last reply by danpost, over 11 years ago:
Do you have a reference to an Actor named 'lorry' declared in the class? What is the code to the 'BinBump()' method?
inertia
By behappy2, with 10 replies.
Last reply by behappy2, over 11 years ago:
thx
Code
By joseph.stafford2@waldenu.edu, with 11 replies.
Last reply by behappy2, over 11 years ago:
ok, so put all the lookforsmting() stuff into eat thx
Maze Collisions Help PLEASE!!!
By gamrman, with 12 replies.
Last reply by ManiacalPenguin, over 11 years ago:
make a variable to store the x and y values of the object that you don't want to go through the maze private int x; private int y; the method to make it stop at walls is simple public void stopAtWalls() { if (getOneIntersectingObject(Wall.class) != null) { setLocation(x,y); } else { x = getX(); y = getY(); } }
Collision Detection Problem
By MrBunni, with 3 replies.
Last reply by MrBunni, over 11 years ago:
Thanks for all the suggestions, I'll go with splitting height in images since I can implement that fairly easy but is still quite good.
Pausing scenario
By Brina, with 1 reply.
Replied to by danpost, over 11 years ago:
The easiest way is to instantiate a different world that shows the title page and waits for the enter key to be pressed, when the crab world would then be instantiated.
Help for a new guy
By TheStop, with 1 reply.
Replied to by danpost, over 11 years ago:
The Java tutorials
- this page has all the links neccessary to get you on you way in learning the language. The second section on the left 'Trails Covering the Basics' is the place to start. There is also a link to the API documentation a little bit down on the right side in 'Other Resources'.
Greenfoot Documentation
- this page has links to instruction on using Greenfoot; plus links to videos and the Greenfoot API.
Real quick question
By BradH, with 1 reply.
Replied to by danpost, over 11 years ago:
Line 7 compares a class with a number. Obviously, that cannot be done; hence the error. You need to compare the number with the size of the list of items of that class that are in the world. <Code Omitted>Lines 2 and 3 are not needed at all.
Urgent help
By lonely.girl, with 26 replies.
Last reply by lonely.girl, over 11 years ago:
Thank you so much for your help :)
891
892
893
894
895
896
897
X