|
GetSpriteQuantity | ||
MaxSprites = GetSpriteQuantity() | ||
Parameters: NONE | ||
Returns: MaxSprites = The max number of Sprites that PB can currently handle |
||
The GetSpriteQuantity() function return the maximum number Sprite Indexs available. FACTS: * See SpriteQuantity if you wish to reduce or allocate more space for more sprite indexs Mini Tutorial: This example simply gets the current sprite quantity, displays it then doubles the quantity and displays it again.
This example would output (This depends upon what version of PB your running, so the results may differ).
|
Related Info: | CreateSprite | GetFreeSprite | SpriteQuantity : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |