|
GetSpriteLocalFloat | ||
FloatValue# = GetSpriteLocalFloat(SpriteNumber, Offset) | ||
Parameters: SpriteNumber = The Index of the sprite you wish to query Offset = The offset address to read this data from |
||
Returns: FloatValue# = The value you read from the sprites local data |
||
The GetSpriteLocalFloat function reads a Float value from a sprites local data bank. FACTS: * See CreateSpriteLocals Mini Tutorial: This example creates a sprites local data bank, fills it will various tidbits of test data, then reads this data back from the sprite.
This example wouldoutput something like this.
|
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |