PDA

View Full Version : Tiff transparency...with animation?


biffen
06-18-2003, 06:14 AM
Hey friends,

I'm involved in creating a 2D game with some friends. I'm looking for a way to have a small animation file, much like an animated .GIF, but with multiple levels of transparency, much like a .TIFF. Any ideas of such a mystical file format?

What about AVI's or MOV's? Transparency?

KazuyaMochu
06-18-2003, 11:54 AM
I don't know any mystical file, but I may enlighten you. I think you could make a single tiff file, or png with all of your sprites inside. It depends on your friends engine. can they read tiff or png?

either this, or have multiple separated images and then.... zip it?

That's it from me... I'm out of ideas

Kazuya Mochu

EricChadwick
06-18-2003, 09:19 PM
Perhaps if you want more than 1-color alpha you could use TIF or TGA or BMP or whatever, but just arrange all the frames side-by-side in one image.

I've seen this done before with sprites, where the bkg color was used instead of an alpha, for a hard-edged 1-color mask.

Each frame of the anim is in its own 16x32 (or whatever) frame. As long as the frame size is constant, you could use any size image.

The image would look soimething like this...


[01][02][03][04]
[05][06][07][08]
[09][10][11][12]
[13][14][15][16]

biffen
06-19-2003, 06:42 AM
hmmmm. Thats interesting. Write a script that displays from "these" cooridinates to "those" cooridinates for a frame, then move on. I'll look into that.

CGTalk Moderation
01-15-2006, 11:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.