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
constructor tile in class tile cannot be applied to given types
By jeffca51, with 2 replies.
Last reply by jeffca51, over 10 years ago:
There, we go: the bit of Java I didn't know. Methods have return types, constructors don't. Alright, everything works as expected now. Thank you.
need get a variable from one class to another heres what i got
By Kickero, with 3 replies.
Last reply by Kickero, over 10 years ago:
Thanks!
|| Results for Fall 2014 ||
By NikZ, with 7 replies.
Last reply by NikZ, over 10 years ago:
danpost wrote...
danpost wrote...
NikZ wrote...
Yes, very close. danpost's scenario will be added to challenge winners, correct?
I made a request of it to JetLennit (owner of that collection).
It has now been accepted. (thanx jet)
Cool.
While...Else...?
By EIGNERT, with 9 replies.
Last reply by danpost, over 10 years ago:
It might be best if you show what you are attempting to do by posting the questionable code -- the more you give, the better understanding we would gain context-wise. It would give us a better idea of what might be needed and you may be able to move on more quickly.
Maze levels
By Nokomanida, with 1 reply.
Replied to by danpost, over 10 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, over 10 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, over 10 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, over 10 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, over 10 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, over 10 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, over 10 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, over 10 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, over 10 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, over 10 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.
624
625
626
627
628
629
630
X