|
MapAnimType | ||
MapAnimType MapIndex, AnimIndex, Mode | ||
Parameters: MapIndex = The Index of the Map that you wish to create an anim within AnimIndex = The Index of the tile animation to create Mode = The animation mode os this animation |
||
Returns: NONE | ||
MapAnimType sets the animation type of a block animation. The animation type is used when animations are updated. It allows each animation to use it's own basic logic, from stepping through the frames forward, backwards, forward-once, backward-once, Ping pong forward, Ping Pong backwards or remaining idle. Mode Constants: PBMapAnim_Idle = Animation is Idle PBMapAnim_Forward = Animate forward PBMapAnim_BackWard = Animate backward PBMapAnim_ForwardOnce= Animate forward once (stops after reaching the end of the anim) PBMapAnim_BackwardOnce = Animate backward once (stops after reaching the end of the anim) PBMapAnim_PingPongForward = Ping Pong Animation forward PBMapAnim_PingPongBackward = Ping Pong Animation Backward FACTS: * Animations Type default to a mode PBMapAnim_Forward. * Each time a Animation frame rate is changed using MapAnimFrameRate the current Frame rate is also set. Mini Tutorial: This example shows the hands on creation of a Map, and the basic creation of a map Anims. It then displays the anims information for you. Which should give you a feel, for how the block animation commands are used together.
This example would output.
|
Related Info: | CreateMapAnim | DeleteMapAnim | GetMapAnimStatus | MapAnimCurrentFrameRate | MapAnimFrameRate | UpdateMapAnims : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |