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
cant call method from an other class
By ds06, with 2 replies.
Last reply by danpost, almost 12 years ago:
The problem is that the field is of Actor type and not of Player type. The compiler does not know to look in the Player class for the field.
Help- Changing Size of an Actor
By DancingDuck, with 2 replies.
Last reply by DancingDuck, almost 12 years ago:
Thanks!
On maPong by Mortaz
By Mortaz, with 8 replies.
Last reply by danpost, almost 12 years ago:
Mortaz wrote...
can you create complex objects under one Actor for example the top/ bottom border, red lines, and the middle screen all of them on a single Actor? if so how do you do it?
You could -- but, in your case, since none of them interact this any Actors or move, it might be just as well to draw them onto the background of the world.
Null pointer exception
By Dillybar, with 3 replies.
Last reply by danpost, almost 12 years ago:
You can replace line 7 with the following: <Code Omitted>This was possible because both the 'bLeft' field and the 'marioL' field were made public.
Welcome to Greenfoot Discuss!
By JL235, with 3 replies.
Last reply by danpost, almost 12 years ago:
@fejfo, please do not reply to discussion posts that are not recent. This one is 3-1/2 years old. I do not think that this an issue any longer (chances are he has a new mouse, if not a new system, by now; or has moved on to other things). Anything over a month old, I would say, would not be worth responding to.
So...Any good galagas yet
By DieKatze117, with 2 replies.
Last reply by DieKatze117, almost 12 years ago:
didnt see this one, though i can d better i think :3
Boolean Question!
By Blackdow97, with 26 replies.
Last reply by Super_Hippo, almost 12 years ago:
Ergänze ein "else" in Zeile 14. Außerdem "mensch" in Zeile 12 durch "wmensch" ersetzen und "mensch" in Zeile 18 durch "mmensch".
Add object within ? radius
By gurlalsingh, with 3 replies.
Last reply by danpost, almost 12 years ago:
After adding the 'steve' to the world, give him a random rotation move him a random distance up to the radius required and then reset his rotation back to zero. Your remainder operation in the initial 'if' condition is odd in that it will only be true 18 times within the first 300 acts, then never be true again. If you want 'steve's to be spawned every 300 acts, you need to reverse the values -- (numActs % 300).
I am having trouble with a snake game
By Starrqwas, with 25 replies.
Last reply by danpost, almost 12 years ago:
I was also wondering why you went through such an elaborate sequence of steps in your enum. It could be written as follows: <Code Omitted>and 'List', 'Arrays', 'ArrayList', 'Collections' and 'Random' do not need imported. I do not see a need to import the 'Color' class either.
Security settings
By actinium, with 3 replies.
Last reply by Super_Hippo, almost 12 years ago:
I downgraded to Java 7 when I realized that the UserInfo doesn't work with Java 8. Now I always have to confirm 3 pop-ups (saying it isn't save to use an old Java version and it should be upgraded etc.) before I can load a scenario. I am not sure if it was different with Java 8, but in Java 7 you have to add http://www.greenfoot.org/ to the exception list in the security area of the Java Control Panel.
Adding specific amount of enemies randomly different levels.
By AlimMiah1, with 9 replies.
Last reply by Super_Hippo, almost 12 years ago:
How did you implement it?
Firing bullets from the tip of a long image instead of the center
By AA1, with 5 replies.
Last reply by dramallama, almost 12 years ago:
I had this same problem myself, I wrote a quite ugly, bulky function to fix it, if you'd like, try this, it will use your rotation and the length of your barell in pixels(hypLength) to determine where the end of your barrel is. simply create the bullet at getX()+adjacent and getY()+opposite
HELP!!! I Need some good computer artists
By DieKatze117, with 2 replies.
Last reply by DieKatze117, almost 12 years ago:
I plan a nice release on my B-Day so hopefully all will go as planned
Image Software
By DieKatze117, with 2 replies.
Last reply by DieKatze117, almost 12 years ago:
Thanks This Will Help
Help Please, New to Coding
By xJesterPROx, with 5 replies.
Last reply by xJesterPROx, almost 12 years ago:
Thank you! It works!
619
620
621
622
623
624
625
X