Page 1 of 1

Can nodes have animated .gif as textures?

PostPosted: Wed Aug 21, 2013 21:58
by Dan Duncombe
Title says it all.
Like this:
Image

PostPosted: Wed Aug 21, 2013 22:03
by Evergreen
Dan Duncombe wrote:Title says it all.
No, animated gifs don't work. To make them animated, just stack all the frames of the animation on top of each other in the order you want them to play (preferably with the .png file extension). Do that with an image editor like gimp.

PostPosted: Wed Aug 21, 2013 22:10
by Dan Duncombe
Evergreen wrote:
Dan Duncombe wrote:Title says it all.
No, animated gifs don't work. To make them animated, just stack all the frames of the animation on top of each other in the order you want them to play (preferably with the .png file extension). Do that with an image editor like gimp.

I know you can do that, I just wondered if gifs work. Oh well.

PostPosted: Wed Aug 21, 2013 23:45
by Evergreen
Hybrid Dog wrote:A topic about this already exists...
How can I combine a single texture with a animated texture?
Do that with texture overlays in the code. Say you wanted the furnace to be animated, you would overlay the furnace texture over the default animated flame texture.

Example:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
tiles = {"animated_texture.png^single_texture.png"},


(untested)

PostPosted: Fri Aug 23, 2013 12:21
by Evergreen
Hybrid Dog wrote:
Evergreen wrote:
Hybrid Dog wrote:A topic about this already exists...
How can I combine a single texture with a animated texture?
Do that with texture overlays in the code. Say you wanted the furnace to be animated, you would overlay the furnace texture over the default animated flame texture.

Example:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
tiles = {"animated_texture.png^single_texture.png"},


(untested)
it only shows the texture at the first frame
Hmm, I'm not sure how in that case. I suppose you could just paste the textures together in gimp.