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