(Formerly part of GetGameParameter, which is now obsolete)
readonly static int Game.SpriteHeight[int slot]
Returns the height of the specified sprite.
The height will be returned in the usual 320x200-resolution co-ordinates. If an invalid
sprite slot is supplied, 0 will be returned.
Example:
Display("Object 0's sprite is sized %d x %d.", Game.SpriteWidth[object[0].Graphic],
Game.SpriteHeight[object[0].Graphic]);
See Also: Game.SpriteWidth
|