・Animation is to set a value and wait for a specified time.
・The animation starts from the next frame after running TANIM.
・Accept up to 32 data for each target element.
・If a negative value is specified for time, linear interpolation is performed from the previous value.
ID of text screen to set animation: 0 to 4
Numeric value or string that manages the element to be changed
0 | "XY" | XY Coordinates |
1 | "Z" | Z Coordinate |
2 | "R" | Rotation Angle |
3 | "S" | Magnification XY |
4 | "C" | Display Color |
5 | "V" | Variable (value of text screen internal variable 7) |
・If you add "+" to the end of the string or add 8 to the value, it will be the relative value from the animation start point.
・"I" and "UV" that can be used with SPANIM are ignored even if they are specified.
1D numeric array that stores animation data
Loop count: 1 or more
・Specify 0 to make an infinite loop.
・1, if not specified.
・Anime data is prepared in the following order in the numerical array (up to 32).
・Time1,Item1,[Item2,] Time2,Item1,[Item2,]...
DIM PANIM[ 6 ] PANIM[0]=-60 'frame(-60=smooth) PANIM[1]=200 'offset X,Y PANIM[2]=100 PANIM[3]=-30 'frame PANIM[4]=50 'offset PANIM[5]=20 TANIM 0,"XY",PANIM
ID of text screen to set animation: 0 to 4
Numeric value or string that manages the element to be changed
0 | "XY" | XY Coordinates |
1 | "Z" | Z Coordinate |
2 | "R" | Rotation Angle |
3 | "S" | Magnification XY |
4 | "C" | Display Color |
5 | "V" | Variable (value of text screen internal variable 7) |
・If you add "+" to the end of the string or add 8 to the value, it will be the relative value from the animation start point.
・"I" and "UV" that can be used with SPANIM are ignored even if they are specified.
・The first label of the DATA command that stores the animation data.
・@Label name is enclosed in "" and specified as a string (or character variable).
Loop count: 1 or more
・Specify 0 to make an infinite loop.
・1, if not specified.
Animation data is prepared in the following order in the DATA command
DATA NumberOfKeyFrames (up to 32)
DATA Time1,Item1[,Item2]
DATA Time2,Item1[,Item2]
:
@MOVDATA DATA 2 'counter DATA -60,200,100 'frame,offset DATA -30,50,20 'frame,offset TANIM 0,"XY",@MOVDATA
ID of text screen to set animation: 0 to 4
Numeric value or character string that manages the element to be changed
0 | "XY" | XY Coordinates |
1 | "Z" | Z Coordinate |
2 | "R" | Rotation Angle |
3 | "S" | Magnification XY |
4 | "C" | Display Color |
5 | "V" | Variable (value of text screen variable 7) |
6 | "UV" | UV Coordinates (definition source image coordinates) |
7 | "I" | Definition Number |
・If you add "+" to the end of the string or add 8 to the value, it will be the relative value from the animation start point.
・"I" and "UV" that can be used with SPANIM are ignored even if they are specified.
・Animation data itself (up to 32 as many as necessary).
Loop count: 1 or more
・Specify 0 to make an infinite loop.
・1, if not specified.
TANIM 0,"XY",-60,200,100,-30,50,20
ID of text screen to set animation: 0 to 4
Definition number already defined by ANIMDEF command: 0 to 1023
ANIMDEF 0,"XY",-60,100,0 TANIM 0,0
ID of text screen to clear animation: 0 to 4
・If not specified, clear all screen animations.
TANIM 0 TANIM