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
Maze levels
By Nokomanida, with 1 reply.
Replied to by danpost, about 11 years ago:
Of course. Do you keep a reference to your player in your world class?
Instanceof issue.
By ajmetal, with 1 reply.
Replied to by danpost, about 11 years ago:
I am sure there is a simpler way. Post your monster class for assistance (use the 'code' link below the reply box to insert code into your post). Anyway, I do not see how 'instanceof' can help if all the monsters are created from the same class.
Catch statement?
By Hersov, with 1 reply.
Replied to by davmac, about 11 years ago:
A "catch" statement must follow a "try" block. It catches any exception (of the given type) that occurs during execution of the try block. In your example, it then prints the stack trace from the exception.
.jar Export Not Working
By MarsMax, with 23 replies.
Last reply by MarsMax, about 11 years ago:
ah.. that's better. It was just glitching.
isTouching(Class) - in Greenfoot 2.2?
By HaselnuesseTo, with 3 replies.
Last reply by danpost, about 11 years ago:
These are how the methods were in the Animal class of my G2.3.0 USB download:
How to make the enemy's jump height change randomly
By cloud41910, with 3 replies.
Last reply by cloud41910, about 11 years ago:
It's working now i made a higher value for the jump method
Creating paths in Arrays. - Maze
By connorxclose, with 5 replies.
Last reply by danpost, about 11 years ago:
I used the technique described above in my
Crazy Cheatin' Maze
scenario.
Where can I get objetcs for my games?
By aconal, with no replies.
I want to know where can I get objetcs for my games, as kitchens, TV, sofas... For example, for textures I´ve seen this page: http://freestocktextures.com/search And there are a lot of sprites in Google, but I don´t know where to find images of objetcs. Thanks!
how to make a finish/starting line
By DesignerOrb362, with 1 reply.
Replied to by danpost, about 11 years ago:
Your class structure would determine the best way to go about what you are trying to do here: For an example of what I mean by class structure, one might be something like this:
World > Course Actor > Car > BlueCar, GreenCar, RedCar Other > none
.Jar export still not working
By MarsMax, with 1 reply.
Replied to by davmac, about 11 years ago:
Please do not post multiple discussion topics for the same problem.
Moving 2 actors like they're "stuck"
By Bahb, with 2 replies.
Last reply by Bahb, about 11 years ago:
Thanks man! You helped me out alot. It seems to be working now, you make it sound easy though :P You are doing a great job here danpost, respect.
How to make different enemy spawn if enemy is killed
By cloud41910, with 5 replies.
Last reply by cloud41910, about 11 years ago:
I got it now thanks for helping me out
Trying to use drawLine in world subclass
By CKnox, with 7 replies.
Last reply by CKnox, about 11 years ago:
Thankyou for that explanation danpost.
How to apply HealthBar
By cloud41910, with 76 replies.
Last reply by danpost, about 11 years ago:
Please ... new topic, new discussion -- and show what you tried.
Let an Object wait while the rest isnt waiting
By Sleeyz, with 1 reply.
Replied to by danpost, about 11 years ago:
Unless you are required to use a switch statement in your code, this method can be reduced to the following: <Code Omitted>To make it only process every other act cycle, you need to add a boolean instance field, change its value every act cycle and only process the code when the value is only either true or false. I change 'while' to 'if' because you do n
625
626
627
628
629
630
631
X