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