|
GetSpriteCollisionWorld | ||
WorldIndex = GetSpriteCollisionWorld(SpriteIndex) | ||
Parameters: SpriteIndex = The index of the sprite you wish to set |
||
Returns: WorldIndex = The index of the World this sprite us using for collision |
||
The GetSpriteCollisionWorld function return what world this sprite is using for it's sliding collision. FACTS: * See SpriteCollisionMode & SpriteCollisionWorld Mini Tutorial: This simple example creates a world, the creates a sprite and assigned this sprite the previously created world. It then displays this information back to the user.
This example would output.
|
Related Info: | CreateWorld | PartitionWorld | SpriteCollisionMode | SpriteCollisionWorld : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |