AnimTexture

Blitz3D Forums/Blitz3D Programming/AnimTexture

I look up the animtexture from the examples, I set the flag to 12, and it looks like this



Obviously thats not the effect I want to go for. The default flag of 49 doesnt work either becuase it still have the black background. I just wnat to do a normal animation on sprite. I could set the cube blend to 3. That would work, cept the texture is too bright. Any ideas?

I'm guessing you're after the alpha flag (2).

You've tried 12 (easier to express that as 4+8), and 49 (1+16+32). Try stuff with the alpha flag in.

You should probably use a PNG image (with an alpha channel), too, if you aren't doing already.

for alpha you probably want 11 (color1+alpha2+mip8) and as gfk said the all important:
(with an alpha channel)
It MUST be 32 bit not 24 bit png

oh nice! it worked! thank you both!
If anyone is interested, the setting is

anim_tex=LoadAnimTexture( "media/boomstrip.bmp",11,64,64,0,39 )

EntityFX cube,1

and i turned on full-bright. It also worked with bmp, but png seem more efficent =]. thx again =]