|
DrawSpriteRange | |
DrawSpriteRange StartingSpriteIndex, EndingSpriteIndex | |
Parameters: StartingSpriteIndex = The identifier of the first sprite you wish to draw EndingSpriteIndex = The identifier of the last sprite in this range you wish to draw |
|
Returns: NONE | |
DrawSpriteRange lets you us manually render groups of sprites. The sprites will be rendered using their current properties. Typically though, you won't want to bother yourself with manually drawing sprites, so you'll either use DrawAllSprites, or DrawOrderedSprites. But it's here if you need it. FACTS: * Unlike DrawSprite which will produce errors if you attempt to draw sprite that doesn't exist, DrawSpriteRange internally screens the validity of each sprite. So it won't produce errors if sprites don't exist within the provided range. * DrawSpriteRange renders all sprite images to current surface, except when CaptureToScene or CaptureToWorld are activated. In either situation the render request will be added to the scene or world que's respectively. * See SpriteDrawMode to the change the appearance of any sprite |
|
Example Source: Download This Example
|
Related Info: | DrawAllSprites | DrawOrderedSprites | DrawSprite | SpriteDrawMode : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |