Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
animate .gif 0r 2d image in background
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: animate .gif 0r 2d image in background (Read 1852 times)
bhad
byte
Posts: 1
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
Logged
EgonOlsen
Administrator
quad
Posts: 12297
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.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
animate .gif 0r 2d image in background