|
GetSpriteLocalInt | ||
IntegerValue = GetSpriteLocalInt(SpriteNumber, Offset) | ||
Parameters: SpriteNumber = The Index of the sprite you wish to query Offset = The offset address to read this data from |
||
Returns: IntegerValue = The value you read from the sprites local data |
||
The GetSpriteLocalInt function reads a Integer 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 |