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
How to get an object to turn towards another object?
By greenmans, with 1 reply.
Replied to by Super_Hippo, over 7 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, over 7 years ago:
Oh, thank you for your help, in both cases. :)
Terminal is blank?
By greenmans, with 2 replies.
Last reply by greenmans, over 7 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, over 7 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, over 7 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, over 7 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, over 7 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_, over 7 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, over 7 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, over 7 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, over 7 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, over 7 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.
Xbox One Kinect
By ameileos, with 1 reply.
Replied to by danpost, over 7 years ago:
ameileos wrote...
Is the XBox One Kinect compatible with Greenfoot and PC? Also, what version of Windows do we need in order to utilize the Kinect in Greenfoot programming?
Did you review
this page
?
Targetting bullets
By NielsV5B, with 1 reply.
Replied to by danpost, over 7 years ago:
There are a couple of ways (at least) to improve the direction of movement. Probably the best one is to track the location and rotation of the actor using finer units of measure (rather than units of whole pixels and whole degrees). The SmoothMover class provided with greenfoot provides a finer coordinate system, but does not provide finer rotation. My QActor support class, however, provides both. It can be found in my
Asteroids w/Improved QActor class
scenario.
variable won`t get transfered to other class
By BananaJoe, with 19 replies.
Last reply by BananaJoe, over 7 years ago:
Thank you!
310
311
312
313
314
315
316
X