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
Actor lost after compile
By schoolLady, with 2 replies.
Last reply by schoolLady, about 7 years ago:
Thank you! Your answer is a good start for my day, after my coffee! :)
accesor
By destroyer9909, with 3 replies.
Last reply by danpost, about 7 years ago:
destroyer9909 wrote...
So I don't need the accessor anymore?
If that was the only reason for having it, then I guess not. Also, I cannot come up with any possible reason for needing it.
Compiling problem.
By Aftermath, with 4 replies.
Last reply by Aftermath, about 7 years ago:
nccb wrote...
Taking a quick look at the old code, this may occur when Greenfoot fails to find the last world class to save the world to. I'm not totally sure what would have caused this, but try manually creating a new world after loading a project, then do the save the world actions.
That worked, thank you!
Counter Issue
By greenfootUser343, with 2 replies.
Last reply by greenfootUser343, about 7 years ago:
Thank you, that resolved the issue.
Making an object spawn randomly within a certain area
By DanB1995, with 5 replies.
Last reply by danpost, about 7 years ago:
DanB1995 wrote...
I honestly don't understand it, from my perspective it seems like you're just talking about the car..
Don't fret -- the steps are the same for any object.
NullPointerException Help Me
By ErnieBoi, with 3 replies.
Last reply by SillyBilly, about 7 years ago:
THIS CODE HAS MADE MY DAY, THANKS ERNIE :DDD
GF 3.5.2 on xubuntu 18.10
By mark.hayes, with 3 replies.
Last reply by mark.hayes, about 7 years ago:
I should point out that I originally had OpenJDK 11 installed. After recalling that GF likes JDK 8, I used Synaptec Package Manager to uninstall OpenJDK, and installed Oracle JDK 8. Wondering if there could be some lingering affects of OpenJDK laying around? Will send the log asap.
Danpost please look at my projects
By jasmag21, with 3 replies.
Last reply by jasmag21, about 7 years ago:
danpost wrote...
vinay365 wrote...
PLEASE LOOK AT OUR PROJECT
I am not sure as to which one you are referring. However, both (
Elerun
and
Deer Simulator
) are good, challenging games. Only things I noticed were the following: Elerun: * hitbox for elephant is way too large * balls can spawn too close to elephant (at times) * horizontal wrapping is not directly across the world * could use a game over message Deer Simulator: * could use a game over message
thank you dan you're my god
help with creating a weekly calendar using 2d arrays
By sonali98, with 5 replies.
Last reply by danpost, about 7 years ago:
sonali98 wrote...
i am very confused, do you think you could possibly write out what you are talking about for me?
Put the "-12" back in the last line of code; change the "4" back to a "3" in the
setHour
method; and add another
if
block in the
setHour
method to deal with those
newTime
strings whose length is 4.
Please Help With setScore and getScore
By Sean03, with 8 replies.
Last reply by drewr1122, about 7 years ago:
Why would you need a setScore function? are you starting with different scores on different levels? If you want to add scores, create a function that simply adds an integer of change (in other words an amount of points) to your current score.
how to create a game
By Pablo7, with 1 reply.
Replied to by danpost, about 7 years ago:
Pablo7 wrote...
I'm given a duty to create his own game
I do not know where to start
to create this game, you can help me please
Too vague. Please refer to the
guidelines
for asking questions.
Random Number
By Veeb, with 5 replies.
Last reply by Veeb, about 7 years ago:
You are Ernie, sorry dan im new to all this!
Counter Problem
By Wriggi, with 8 replies.
Last reply by Wriggi, about 7 years ago:
Ok sorry, i have found my error now anyway. Thanks for the help
How to controll the time
By wueschn, with 2 replies.
Last reply by wueschn, about 7 years ago:
Thanks a lot, it works!!
Moving Backgrounds - Question
By wueschn, with 3 replies.
Last reply by danpost, about 7 years ago:
wueschn wrote...
there must be a situation when you see it wandering from right to left and seeing that the background image below is resting. But from beginning on it works perfekt and everything is wandering perfect without seeing something resting in the background ..... That is perfect, but it is not clear to me why it is so perfect ...
I am not sure what you mean by "
image below is resting
". If you want clarification on some point, you will have to be more specific, show all codes used for scrolling (other than the
Scroller
class itself (which should not be modified
230
231
232
233
234
235
236
X