|
MapAnimCurrentFrameRate | ||
MapAnimCurrentFrameRate MapIndex, AnimIndex, FrameRate | ||
Parameters: MapIndex = The Index of the Map that you wish to create an anim within AnimIndex = The Index of the tile animation to create FrameRate = The frame rate of this animation |
||
Returns: NONE | ||
MapAnimCurrentFrameRate sets the current rate of change (in updates) of a block animation. The animation speed is not given in frames per second, rather it works as a frame counter. Each time map anims are updated, the "CurrentFrameRate" counter decreases until it reaches zero (or bellow), upon doing that, the counter is reset to the "FrameRate" value, and the current frame is changed to the next in the animation sequence. FACTS: * Animations Current frame rates default to a speed of 1. * 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 togethert.
This example would output.
|
Related Info: | CreateMapAnim | DeleteMapAnim | GetMapAnimStatus | MapAnimFrameRate : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |