Hi,
I am attempting to create an animated flag, using one texture switching between differend areas of it... Using the timer BGL_TICK18 as
, witch switchs between two parts only...I wish to switch between the 8 differend areas I 've already created, one after the other... the broblem that occurs is that trying differend jumps into my code I managed either to switch between two parts, or between one and all the others together, or one and nothing... my question is... is it possible to switch into one after the other my eight parts, or this timer is been used just as a two parts switcher?..
I am attempting to create an animated flag, using one texture switching between differend areas of it... Using the timer BGL_TICK18 as
Code:
Hellas_flag_MasterScale_1 label BGLCODE
MATERIAL 0,0 ; <255,255,255,255> HELLAS.BMP;;;
BGL_ZBIAS 1
IFMSK flag00, BGL_TICK18,0008h
DRAW_TRI_BEGIN 0, 4
DRAW_TRI 2, 3, 0 ; poly=2 part=1
DRAW_TRI 1, 0, 3 ; poly=1 part=1
DRAW_TRI_END
BGL_JUMP_32 flagend
flag00 label word
DRAW_TRI_BEGIN 4, 4
DRAW_TRI 2, 3, 0 ; poly=2 part=1
DRAW_TRI 1, 0, 3 ; poly=1 part=1
DRAW_TRI_END
BGL_JUMP_32 flagend
DRAW_TRI_BEGIN 8, 4
DRAW_TRI 2, 3, 0 ; poly=2 part=1
DRAW_TRI 1, 0, 3 ; poly=1 part=1
DRAW_TRI_END
BGL_JUMP_32 flagend
DRAW_TRI_BEGIN 12, 4
DRAW_TRI 2, 3, 0 ; poly=2 part=1
DRAW_TRI 1, 0, 3 ; poly=1 part=1
DRAW_TRI_END
BGL_JUMP_32 flagend
DRAW_TRI_BEGIN 16, 4
DRAW_TRI 2, 3, 0 ; poly=2 part=1
DRAW_TRI 1, 0, 3 ; poly=1 part=1
DRAW_TRI_END
BGL_JUMP_32 flagend
DRAW_TRI_BEGIN 20, 4
DRAW_TRI 2, 3, 0 ; poly=2 part=1
DRAW_TRI 1, 0, 3 ; poly=1 part=1
DRAW_TRI_END
BGL_JUMP_32 flagend
DRAW_TRI_BEGIN 24, 4
DRAW_TRI 2, 3, 0 ; poly=2 part=1
DRAW_TRI 1, 0, 3 ; poly=1 part=1
DRAW_TRI_END
BGL_JUMP_32 flagend
DRAW_TRI_BEGIN 28, 4
DRAW_TRI 2, 3, 0 ; poly=2 part=1
DRAW_TRI 1, 0, 3 ; poly=1 part=1
DRAW_TRI_END
flagend label word
BGL_ZBIAS 0
BGL_RETURN
