This site requires JavaScript, please enable it in your browser!
Greenfoot back
moobe
moobe wrote ...

2013/1/19

GIF file as background

moobe moobe

2013/1/19

#
Hi, I've tried to let it snow in my game, but then I get java heap space errors, because Greenfoot isn't able to display all the snow I want to add to the world. So now, I'd like to add a gif file as background so that it can snow. Here's the link to the file: http://www.archiv.allkaemper.de/bilder/in_foren/Schnee.gif In Greenfoot, there is a Helper Class I've used now. But when I set the file as background there is nothing else than this picture. So my question now is: How can I use the gif file as backgrund like the one I had made on my own?
moobe moobe

2013/1/19

#
I've tried it in many different ways now, but it still doesn't work. If someone should still have an idea, please tell me, 'cause it would be very cool :) Otherwise you can let me know that this isn't possible with Greenfoot.
moobe moobe

2013/1/20

#
Update: Fixed the bug by changing the paint order. The problem is that it's very laggy, but there aren't many ways to solve the problem.
You need to login to post a reply.