Added new functions to documentation
This commit is contained in:
18
doc/files/getspriteshape.txt
Normal file
18
doc/files/getspriteshape.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
#title GetSpriteShape [RCBasic Doc]
|
||||
#header Function GetSpriteShape(spr_id)
|
||||
|
||||
Returns the shape of a sprite.
|
||||
|
||||
Possible Shapes
|
||||
#list ul
|
||||
#li SPRITE_SHAPE_NONE
|
||||
#li SPRITE_SHAPE_BOX - A rectangular shape
|
||||
#li SPRITE_SHAPE_POLYGON - A polygon (any shape with 3 or more sides)
|
||||
#li SPRITE_SHAPE_CIRCLE - A circle
|
||||
#li SPRITE_SHAPE_CHAIN - A open polygon shape
|
||||
#list ul
|
||||
#li NOTE: Mainly used for terrain
|
||||
#/list
|
||||
#/list
|
||||
|
||||
#ref SetSpriteShape
|
||||
Reference in New Issue
Block a user