Author Topic: animate .gif 0r 2d image in background  (Read 802 times)

Offline bhad

  • byte
  • *
  • Posts: 1
    • View Profile
animate .gif 0r 2d image in background
« 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

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11745
    • View Profile
    • http://www.jpct.net
Re: animate .gif 0r 2d image in background
« Reply #1 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.
For Android, you would have to convert it first.