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
Maximum values
By Hellotheremyfriend, with 5 replies.
Last reply by Hellotheremyfriend, over 5 years ago:
Thanks bro, I appreciate it alot
GameOver
By NewbJava, with 18 replies.
Last reply by NewbJava, over 5 years ago:
danpost wrote...
Remove line 68 from the
Rocket
class (the "stop" line).
Yes it works now thank you for your help.
Wondering how to remove objects from other classes
By Duck12, with 6 replies.
Last reply by Duck12, over 5 years ago:
never mind it works Thank you so much!
Deny CheckKeypress()/isKeyDown() and Force a move()
By ksimuscb, with 1 reply.
Replied to by danpost, over 5 years ago:
If I am not mistaken, you want your coding in the following fomat: if inverting, invert else move and check collision
How to use a method to touch a different object
By ThiagoPorto, with 7 replies.
Last reply by ThiagoPorto, over 5 years ago:
danpost wrote...
Remove line 98 in
goku1
class. Obtain a reference to the
jiren
actor being touched at line 108 and call
importa_socos
on it.
Thank you very much, it worked!
actor not in world
By NewbJava, with 2 replies.
Last reply by danpost, over 5 years ago:
Either insert: <Code Omitted>at line 64; or use "
else if
" on line 65.
Drawing text onto a GreenfootImage
By RcCookie, with 4 replies.
Last reply by danpost, over 5 years ago:
danpost wrote...
If that is not a problem, I suggest you check out my
TextImage Support Class
scenario.
It is now updated to run in newer versions of greenfoot.
hint button
By superman2, with 9 replies.
Last reply by danpost, over 5 years ago:
Oh, I think I see -- "x seconds". If you do not mind the scenario to temporarily freeze during the hint display, you can use the
Greenfoot
class
delay
method. Otherwise, an
int timer
field would be sufficient.
Gif image question
By cjz19931031, with 15 replies.
Last reply by danpost, over 5 years ago:
danpost wrote...
Remove lines 35 and 38.
Swapping lines 37 and 38 would produce the same results.
Creating solid object horizontally, vertically, diagonally
By Duck12, with 5 replies.
Last reply by Duck12, over 5 years ago:
That solved my problem thanks Danpost!
not in world issues
By NewbJava, with 13 replies.
Last reply by NewbJava, over 5 years ago:
danpost wrote...
NewbJava wrote...
some lasers would hit a meteor and not show the animation and just disappear
Remove all from after line 18 to the keyword "if" on line 25 in the
Lazars
class.
Thank you, that fixed the problem. I appreciate you taking the time to help me.
Hancur()
By NewbJava, with 3 replies.
Last reply by danpost, over 5 years ago:
NewbJava wrote...
like how it is used and what it is used for?
No -- like where did you come across this method? -- where did you find it? And, what are its codes? Show the method..
Changing color of an object
By cxcpio, with 8 replies.
Last reply by cxcpio, over 5 years ago:
I found out how! Thank you for your help anyways!
Adding Object
By NewbJava, with 16 replies.
Last reply by NewbJava, over 5 years ago:
danpost wrote...
NewbJava wrote...
That is what I have so far.
Again, I do not see any issues upon testing or reviewing the codes.
I copied and pasted everything in a new greenfoot scenario and it works now. Thank you for your constant replies and help!
getting Nullpointerexception, dont know how to solve it.
By Hellotheremyfriend, with 17 replies.
Last reply by Hellotheremyfriend, over 5 years ago:
Lol should have come up with that myself but thanks
102
103
104
105
106
107
108
X