Giving a character more frames?

Status
Not open for further replies.

742mph

My work is never done yet
Is it possible to lengthen a loop of character frames to more than its current number? For example, if I wanted a character whose flight animation was a cycle of four frames instead of two, how would I do that? I tried this code, which was supposed to make the character's flight animation look like a cycle of its four jumping sprites, but the game refused to loop the code, so the flight period of the character was shortened to 8 tics. What's wrong with this?
Code:
FRAME 21
SPRITENUMBER = 0
SPRITESUBNUMBER = 12
DURATION = 2
NEXT = 22
ACTION None
VAR1 = 0
VAR2 = 0
 
FRAME 22
SPRITENUMBER = 0
SPRITESUBNUMBER = 13
DURATION = 2
NEXT = 1825
ACTION None
VAR1 = 0
VAR2 = 0
 
FRAME 1825
SPRITENUMBER = 0
SPRITESUBNUMBER = 14
DURATION = 2
NEXT = 1826
ACTION None
VAR1 = 0
VAR2 = 0
 
FRAME 1826
SPRITENUMBER = 0
SPRITESUBNUMBER = 15
DURATION = 2
NEXT = 21
ACTION None
VAR1 = 0
VAR2 = 0
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top