|
AnimFrameSheet | |
AnimFrameSheet AnimIndex, FrameSheet | |
Parameters: AnimIndex = The Index of the Animation you want to query FrameSheet = The Frame Sheet this animation is using |
|
Returns: NONE | |
The AnimFrameSheet command allows use to change the frame sheet of an animation. This can be useful when chaining different animation sequences together. Such as linking a Walking Animation to a Jump, Jump to a fall, a Walk to a Run Animation etc etc. It just saves us having to constantly destroy & recreate the animation controller. FACTS: * AnimFrameSheet will fail if the frame sheet you're changing this animation to doesn't exist. * AnimFrameSheet resets the Animations Position Index. (See AnimPos) |
|
Example Source: Download This Example
|
Related Info: | AnimFrameRate | GetFrameSheetCount | GetFrameSheetImage | GetFrameSheetStatus | LoadFrameSheet | NewAnim : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |