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
GetKey() Question
By abot1776, with 4 replies.
Last reply by abot1776, almost 9 years ago:
Thank you so much! I may have another question or so while working on this, so I really appreciate it.
can i call the result from one void to another void
By pras, with 1 reply.
Replied to by danpost, almost 9 years ago:
pras wrote...
can i call the result from one void to another void
No. A void does not give a result -- that is why it is called a void.
How do I make one object detect whether or not there is another object nearby?
By katolop, with 7 replies.
Last reply by katolop, almost 9 years ago:
Thank you so much!
How to get an object to turn towards another object?
By greenmans, with 1 reply.
Replied to by Super_Hippo, almost 9 years ago:
Make sure that the object you want to turn to, is in the world. Or the list is empty and you can't get the first object from an empty list.
How to check if a defined object is still in world?
By BananaJoe, with 6 replies.
Last reply by BananaJoe, almost 9 years ago:
Oh, thank you for your help, in both cases. :)
Terminal is blank?
By greenmans, with 2 replies.
Last reply by greenmans, almost 9 years ago:
yeah even after I do that its still blank. The first time, it worked though.
OK JButton to work
By divinity, with 8 replies.
Last reply by danpost, almost 9 years ago:
What class is line 71 supposed to be initializing? What happens if you just remove that line (is it really needed, there)?
marbel game
By vbh, with 2 replies.
Last reply by vbh, almost 9 years ago:
ty for your quick replay
How to make Health Point for my Main Actor ?
By donysamdhila, with 1 reply.
Replied to by danpost, almost 9 years ago:
Line 15 in the Nyawa class will only set the value of 'nyawa' to '1' when the project is compiled (because you have made it a ''static' (or class) field. As such, you need to set its value either during the construction of the world or during the construction of the Nyawa object..
Can't get access to counter in World subclass
By Coolhand812, with 4 replies.
Last reply by Coolhand812, almost 9 years ago:
Thanks, Danpost! Your're a life saver! Thanks!! I really appreciate your help!!
Two Identical Objects. One doesn't work
By Daniel_, with 6 replies.
Last reply by Daniel_, almost 9 years ago:
Oh, I see. This makes things a lot easier and more flexible, I understand where I went wrong. Thanks Dan,
Making a double-(or mutli-)jump
By maxdekruijf, with 3 replies.
Last reply by maxdekruijf, almost 9 years ago:
Thanks but we got it sort of fixed already. Appreciate the feedback!
Double Jump
By DionWezz, with 6 replies.
Last reply by DionWezz, almost 9 years ago:
danpost wrote...
DionWezz wrote...
i tried that already, it works except for 1 thing, the player falls through all platforms after that
Oh -- I did not see the 'else' blocks starting at lines 55 and 59. The same condition will probably have to be applied to them also. Try replacing lines 46 through 62 with this:
My Program gives me a nullpointerexception
By TheShyGuy, with 1 reply.
Replied to by danpost, almost 9 years ago:
I cannot see how you are getting that error on that line, especially considering the condition before it (line 4) and that no action is taken between that and the next previous line (line 3) where you assign 'x' its value. However, an improvement that will probably solve the issue is that you really do not need that particular condition on line 4. You can just use this: <Code Omitted>
Part view of a large picture
By Yogibaer, with 2 replies.
Last reply by danpost, almost 9 years ago:
Yogibaer wrote...
Are there any commands to move the bars from the program code?
No. But you can make your world smaller to fit the monitor size and scroll the background image using program code.
when I reach the end of the shown part of the world with my car I have to move the window selection bars to move the visible part to a new position.
312
313
314
315
316
317
318
X