I'm programming
The Traveller's Guide in Visual Basic 6, the graphics routines being for DirectDraw 7 meaning that it only directly works with bitmap files. The basic idea behind the animation routine and file format you could use might go something like this:
1. You need a variable to store how many frames are in the animation.
2. For each frame, declare
a. one variable to store the relative path to the image to load
b. another variable to store how many ticks (80ths of a second in my case) it is to be shown for.
Here's what this might look like in VB:
- Code: Select all
Public Frames As Long
Public Type ADF
ImageFile as String
Ticks As Byte
End Type
Public Frame() As ADF
Does this help or give you any ideas at all?
[color=RoyalBlue]@)}~`,~ [/color]Carry this rose in your signature as
thanks to Inkhana, for all she has done for us in the past.Even though
she is no longer a moderator, she has done an awful lot for us while she was and she deserves thanks. ^_^