What does "V" on SPANIM is useful for? like on the HELP it says...value for internal variable but it doesnt say nothing else......anyway if i use
SPANIM 0,"V",-20,1,-20,1,0
...WHAT am i doing with SPANIM?
I don't even know tbh
Now I'm pretty sure it's like all of them combined
It animates the SPDEF function
From what I remember
I'd like to know what it does too
oh? well i ask cause on the smiletool on ANIM at the lower right there is V7 and if you click it you will see TABLE were at the upper middle it will say.
WAIT VH VL
FRAME 0, 1 , 0 , 0
something like this ^
anyway...i dont know what does VH OR VL stands for. but i know it relates to SPANIM V.
OH NO that's a different thing
Those values define where on the Sprite page the Sprite should be taken from
So using SPSET 0,64,64,32,32 we are creating a sprite, index 0, starting at 64,64, with a width and height if 32
64,64,32,32 are U and V
Each sprite has 7 internal variables. SPANIM "V" set changes on the last variable. This could be useful if you want to change a value along with the animation.
Example:
SPSET 0,0
SPANIM 0,"V",1,0,-60,10,0
WHILE 1
? SPVAR(0,7)
VSYNC
WEND
SPVARS are useful when you want to handle multiple sprites with the same values, but independent of each other, so you don't need to declare arrays or stuff like that.
Imagine that every sprite has "life points" attached to it, that's were SPVARS comes in.