hello, for school me and my team members have to make an escape game in Greenfoot. we would like to have credits at the end of the game but we have no idea how we should do this. Is there anyone who could help us? thanks in advance
hello, for school me and my team members have to make an escape game in Greenfoot. we would like to have credits at the end of the game but we have no idea how we should do this. Is there anyone who could help us? thanks in advance
Use a separate World type for the credits. Make use of the GreenfootImage class to apply the text and, if desired, images to the background image of the world.
Now I have made an image and it moves. Only it moves to the right instead of up. Does anyone know how I change this?
Also, I would like the image to continue running after it hits the edge of the world. Is this possible or should I use the removeObject () command to remove the image when it hits the border? Thanks in advance!
Now I have made an image and it moves. Only it moves to the right instead of up. Does anyone know how I change this?
Use setLocation instead of move (use current location as initial position).
I would like the image to continue running after it hits the edge of the world. Is this possible or should I use the removeObject () command to remove the image when it hits the border?
You should use removeObject regardless. However, you can have it move (as an actor's image) totally off screen before removing by making the world unbounded (refer to alternate World class constructor).