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
One object eating then recreating it in a different position.
By lgbrf, with 25 replies.
Last reply by lgbrf, about 14 years ago:
yeah i figured it was 38, i recompile each time, and there was only the other add object in the populate(); so i removed that, still glitched??
Some objects appear "late"
By legX, with 2 replies.
Last reply by legX, about 14 years ago:
Thank you very much for this (very quick) response ! It worked, although I had to precise 'Greenfoot.delay(1)'. I am working on a new version of my Othello, available soon !! (still a few hours...)
Create a moving background
By SPower, with 1 reply.
Replied to by danpost, about 14 years ago:
Create a new GreenfootImage that is the size of the world, but a little bit higher than the world height, and fill it with you main background color. Then draw the current background image onto the new image at (0, n) and set this image as the new background image.
shoot in range
By tylers, with no replies.
how do you get an object to shoot at something in a certain range
how do I create a standard variable?
By h123n, with 3 replies.
Last reply by h123n, about 14 years ago:
Thanks danpost and Denzein! now my bee can actually fire nectar anywhere!
Breakout
By theDoctor, with 29 replies.
Last reply by IsVarious, about 14 years ago:
Sure thing bud :)
how to pass object as parameter and why?
By sanashah220, with 2 replies.
Last reply by danpost, about 14 years ago:
Let me qualify the static part. If the variable is in the world class, it is pretty much the same. Non-static variable, one per world instance; and static variable, one world class variable (I will not even say 'per', here; and I guess that would be considered 'global'). The values of non-static world variables are lost at 'reset', where static world variables retain their values until re-compiled. The reason I started with 'No' above is that you can never call an instance variable a global one; so, logically speaking, 'No' is correct.
line with an thickness
By tylers, with 2 replies.
Last reply by tylers, about 14 years ago:
it works thanks :D
How to turn an object 180 or 75 degrees
By martijn13039, with 3 replies.
Last reply by martijn13039, about 14 years ago:
thx ( for your help) I have invented
How can I safe my hiscore
By martijn13039, with 3 replies.
Last reply by martijn13039, about 14 years ago:
oke thx
can anyone help me
By tamer_saleh, with 3 replies.
Last reply by IsVarious, about 14 years ago:
The problem we're having here, is that you're wanting us to do your project for you. Instead, how about you come up with a game you would like to create :). This can be done by looking at some sample games on various websites. We're more than willing to help, but we do better if it's with a very specific issue of code you're not understanding or needing help with. In other words, what type of game do you want to make? Tic-tac-toe, a carnival game where you shoot ducks off a wall, or what? You can pretty much make any type of game you want, and it seems your teacher is leaving that part
I need help writing some code....
By MakerOfGames, with 1 reply.
Replied to by IsVarious, about 14 years ago:
I'll write some of this as pusedo code, but you're wanting a basic if statement. <Code Omitted> I would start with code li
I need help on some coding.....
By MakerOfGames, with 1 reply.
Replied to by danpost, about 14 years ago:
<Code Omitted>will move the actor up one cell.
chapter 6 exercise 6.34
By jpkenned, with 2 replies.
Last reply by danpost, about 14 years ago:
Instead of 'fill()', try the GreenfootImage method 'fillOval(int, int, int, int)'.
Wombats Key Control
By loz4, with 1 reply.
Replied to by -nic-, about 14 years ago:
<Code Omitted>the paramiters in the move and turn can be changed:) please post if you have anymore problems:)
987
988
989
990
991
992
993
X