|
GetSpriteLocalPtr | ||
Address = GetSpriteLocalPtr(SpriteNumber) | ||
Parameters: SpriteNumber = The Index of the sprite you wish to query |
||
Returns: Address = The Address in memory of this sprites local data area |
||
The GetSpriteLocalPtr function returns the memory address (pointer) of the sprites local data area. FACTS: * GetSpriteLocalPtr will return a zero if no local area exists * See CreateSpriteLocals & Pointer 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 would output something like the following. The pointer address of the your sprites local data will be different each time you run the program.
|
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |