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
New user, need help
By ABeeperPerhaps, with 1 reply.
Replied to by ABeeperPerhaps, about 15 hours ago:
nvm i got it :3
help with null
By DaCoder, with 1 reply.
Replied to by danpost, 2 days ago:
DaCoder wrote...
I'm trying to make a program where things bounce around and if you hit one you restart. however, the collision thing wont last long enough for the other classes to do what they need to do. what can I use that is the opposite of null so i can make (x != null) true for a certain amount of frames?
No codes given plus very vague on description. Be specific and show all related class codes. Quote this to see how the following code is embedded: <Code Omitted> Note the bookends around the code
Moves objects on stage
By Aaron_Montalvo, with 1 reply.
Replied to by danpost, 4 days ago:
Aaron_Montalvo wrote...
Hello, I am new to using greenfoot, but now that I am making a game, I have a problem, I have an object called a block, but when I create three blocks, I create them and according to me I align them so that they are even at the same height, but at When it comes time to save the world, all the blocks are misaligned, how can I fix it?
It would be best if you showed all codes related to the blocks, including the block class itself (and any existing parent class of the block class before the
Actor
class). Your world class code is also requested (world where m
Se mueven los Objetos
By Aaron_Montalvo, with no replies.
Hola, soy nuevo usando greenfoot, pero ahora que estoy haciendo un juego, tengo un problema, yo tengo un objeto llamado bloque, pero al crear tres bloques, los creo y segun yo los alineo para que queden parejos a la misma altura, pero a la hora de guardar el mundo(Save the world), se me desalinean todos los bloques, como puedo solucionarlo?
GifImage Unkown type: GifImage
By thijmenvd, with 3 replies.
Last reply by danpost, 4 days ago:
thijmenvd wrote...
<< Code Omitted >> My greenfoot wont recognise type: GifImage, and it says Undeclared variable, I changed something in the code. Im new to this program whats the issue in this code?
Replace lines 11 thru 14 with the following: <Code Omitted>You need to have the
GifImage
class added to your scenario. If you have to, create any type class and replace all its code with the contents of the following file:
greenfoot > lib > greenfoot > common > GifImage.java
caesars chiffe
By Heidkamp, with 1 reply.
Replied to by danpost, 6 days ago:
Heidkamp wrote...
how can I find the proper syntax for adding the ascii value of a character an integer (lets call it offset) and then convert this new integer into the respective string (ascii code)? in principle, char of (value of char+offset) - this is how I would describe it
<Code Omitted>
How to do a loop background music.
By I3litz, with 1 reply.
Replied to by danpost, 8 days ago:
I3litz wrote...
The music goes 13 sec but i need it in a loop. AND it muss go in multiple levels without stopping only when he dies.
Please provide the class code from where you music is started.
How to shoot in the direction where the player is looking at.
By I3litz, with 1 reply.
Replied to by danpost, 8 days ago:
I3litz wrote...
I need help in my game. I cant figure it out how to do it. When the player is looking to the right the bullet flies to the right and the same in the other direction (left)
Please provide the class codes for the player.
What country are you from?
By sandhsf, with 2 replies.
Last reply by I3litz, 8 days ago:
Germany
Why are my hearts offset from the left?
By daviddd, with 2 replies.
Last reply by danpost, 8 days ago:
daviddd wrote...
Hey, i am trying to make a game, on the main menu screen you select your difficulty, e.g easy, you will have 5 lives and they will show up as hearts in the top left corner of the game, but when i pick medium or hard they will be moved a bit to the right, does anyone know why is that? << Code Omitted >>
The location of the
HealthBar
instance does not vary; but, its image size does. That is the essence of your problem. Either adjust the location as the health value changes or just don't change the size of the image. That is, replace
health
on line 12 wit
Why can't Greenfoot 3.8.2 export jar files?
By sandhsf, with no replies.
Why can't Greenfoot 3.8.2 export jar files?
Why is any Game on my Greenfoot Not opening
By User_7382, with 1 reply.
Replied to by Jasonh, 10 days ago:
try to restart your computer and doing it again. I had this same problem last week and it worked for me
How do I install Greenfoot on Arch Linux?
By sandhsf, with 4 replies.
Last reply by sandhsf, 13 days ago:
Answer me!!!!!!!
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
By saybrgg, with 1 reply.
Replied to by danpost, 13 days ago:
saybrgg wrote...
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space << Code Omitted >>
How big is the map image?
This time we won't talk about the program, let's talk about something else.
By sandhsf, with no replies.
I have a question for you, are the people who use Greenfoot to develop games new to game development?
1
2
3
4
X