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
GifImage Unkown type: GifImage
By thijmenvd, with 2 replies.
Last reply by thijmenvd, about 16 hours ago:
caesars chiffe
By Heidkamp, with 1 reply.
Replied to by danpost, 2 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, 3 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, 3 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, 3 days ago:
Germany
Why are my hearts offset from the left?
By daviddd, with 2 replies.
Last reply by danpost, 4 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, 6 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, 9 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, 9 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?
getX() getY() public variable actor not in world
By power_coding, with 14 replies.
Last reply by danpost, 12 days ago:
I did notice one issue. In both the longen_onderkant and longen_top classes, the check to remove all instances of its type from the world should be the last
if
in the
act
block. The first attempt to execute a
move
call
after
all instances were removed will fail for actor not in world. My long-standing concern is the reference to
background
.in lines 11 and 12 in the
longen_middel
class. I do not see how it could reference an instance of the
background
class (at lest not straight off). As far as I can tell, it is just a class name (which yo
my scrolling background ends up getting pixelated every time
By Spacer, with 6 replies.
Last reply by Spacer, 12 days ago:
It finally worked!! Thank you :)
Animate Delay
By risebille, with 2 replies.
Last reply by danpost, 12 days ago:
In lines 5 and 6, use: <Code Omitted> You can remove lines 22 and 23 (making only one loop) without changing what it does. Plus, then, you can make line 24 to be: <Code Omitted> To slow down the animation, you must allow time between image changes; more specifically, act frames where the image does not change. You can accomplish this by multiplying the number of images by the number of frames for each image. That is the maximum value of the
animationCount
field. The modulus 8 of the value acqui
removing buttom
By nuggetnugget123, with 5 replies.
Last reply by nuggetnugget123, 15 days ago:
thanks man it worked
1
2
3
4
X