| Author |
Animated Bacground
|
Mathew Mintalm
Ranch Hand
Joined: Feb 21, 2010
Posts: 102
|
|
Hello, I have started developing my first game for android, I just started from making basic window, UI etc.
My background is created based at tile image.
As you can see this tile is animated :P (gif)
I put it in my main.xml
and this is content of my backrepeat.xml file:
And background created automatically from tiles works, but animation doesn't work.
So my conclusion is quite simple (but no idea if its correct) animation wont work with gif file (?)
So i have an idea. There is program which may split GIF file at server external images (break animated gif to frames and add each frame)
And then change background with new frame each few miliseconds, but no idea how to change it after delay.
Can someone help me? Thanks!
|
 |
Johan Pelgrim
Ranch Hand
Joined: Jul 07, 2003
Posts: 100
|
|
Hi Mathew,
Once you have split up your animated GIF into separate images try using the animation-list (frame animation) for animating your background...
Good luck!
Johan
|
Johan Pelgrim, The Netherlands
SCJP 1.4, SCWCD 1.4, SCBCD 5.0
|
 |
Mathew Mintalm
Ranch Hand
Joined: Feb 21, 2010
Posts: 102
|
|
|
Thank you, I will try it.
|
 |
 |
|
|
subject: Animated Bacground
|
|
|