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
My tree fractaler isn't fractaling
By TheGoldenProof, with 3 replies.
Last reply by TheGoldenProof, over 7 years ago:
I got it all fixed. I ended up using vectors and drawLine() to make it instead of scaling and rotating rectangles. Basically restarted from scratch. I did use the addedToWorld() method to draw the trunk.
Inheritance of classes
By RevoltecX7, with 2 replies.
Last reply by RevoltecX7, over 7 years ago:
Yea, sorry. I forgot to change it(line 3), I have this problem, and I was try to find, why the hek it doesn't work. And yes is that what I looking for, thank you so much. Now it works perfectly! :)
Problem with walls in window
By RevoltecX7, with 8 replies.
Last reply by RevoltecX7, over 7 years ago:
Yeee, this exactly I was finding! Thank you so much :)
Save the progress.
By RevoltecX7, with 6 replies.
Last reply by RevoltecX7, over 7 years ago:
Oh, this is good one. This will help me a little :) But thanks! I will use this for now.
Actor get position from another actor
By RevoltecX7, with 8 replies.
Last reply by RevoltecX7, over 7 years ago:
Okay, I got it. Thanks! :) It's now working all what I want to do. Thanks for helps!
hitboxes
By mole2003, with 3 replies.
Last reply by Super_Hippo, over 7 years ago:
Copy the Collision class into your project and let all classes which need to perform the checks extend this class.
Drawing many lines between many points
By TheGoldenProof, with 1 reply.
Replied to by TheGoldenProof, over 7 years ago:
OK I fixed it. Changed my code to this (the part that fixed it was taking the GreenfootImage lines = ... and the setBackground(lines) out of the loop):
actors spawning in on a repeating cycle
By mole2003, with 9 replies.
Last reply by Super_Hippo, over 7 years ago:
Move both lines (remove the "private" in the beginning) to between line 34 and 35.
Programming A Bot!
By comlink, with 2 replies.
Last reply by comlink, over 7 years ago:
Okay, I'll try it out! Thanks for your quick response!
Writing a proper randomly generated map
By Xolkiyr, with 3 replies.
Last reply by Super_Hippo, over 7 years ago:
What did you try?
pausing greenfoot
By mole2003, with 3 replies.
Last reply by mole2003, over 7 years ago:
Nevermind it iis fixed now
Variable kept across all classes
By mole2003, with 1 reply.
Replied to by Super_Hippo, over 7 years ago:
Store the variable in your world and make it possible to access the variable with a getter method. <Code Omitted>Then, to access value of the score variable from an object inside this world, you can do: <Code Omitted>
getX, getY problems
By Ticker175, with 6 replies.
Last reply by Ticker175, over 7 years ago:
Ok awesome thanks for the help =)
Keeping a jump code whilst scolling
By mole2003, with 11 replies.
Last reply by danpost, over 7 years ago:
mole2003 wrote...
Which bits do I need from the code and where shall I put them
Actually, all you probably need is: <Code Omitted>in the
Trex
class
act
method.
Greenfoot version 3.5.0
By davmac, with 21 replies.
Last reply by davmac, over 7 years ago:
Homer wrote...
By the way: as it seems the same error occurs when an Actor subclass has a second constructor ("An object with this name already exists.").
Thanks, added to ticket.
242
243
244
245
246
247
248
X