animate .gif 0r 2d image in background

Started by bhad, January 26, 2014, 04:40:36 PM

Previous topic - Next topic

bhad

hello I want to load animate background in my project. I want to load .gif background but image cannot animate. Is anybody have idea to animate background using any file formate for basic 2d images in android using jpct

EgonOlsen

There are no 2d animation methods in jPCT. You can blit any texture into the background and if you are using different textures for that or are constantly updating the texture's content (which can be slow) with a new image, you can create something like that. If you are using desktop jPCT, you can use this: http://www.jpct.net/forum2/index.php/topic,1406.0.html.
For Android, you would have to convert it first.