www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: bhad on January 26, 2014, 04:40:36 pm

Title: animate .gif 0r 2d image in background
Post by: bhad on January 26, 2014, 04:40:36 pm
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
Title: Re: animate .gif 0r 2d image in background
Post by: EgonOlsen on January 26, 2014, 05:21:39 pm
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 (http://www.jpct.net/forum2/index.php/topic,1406.0.html).
For Android, you would have to convert it first.