Added sprite shape functions
This commit is contained in:
8
doc/files/getspriteboxsize.txt
Normal file
8
doc/files/getspriteboxsize.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
#title GetSpriteBoxSize [RCBasic Doc]
|
||||
#header Sub GetSpriteBoxSize(spr_id, ByRef w, ByRef h)
|
||||
|
||||
Returns the size of the collision box on a sprite.
|
||||
|
||||
NOTE: Returns (-1, -1) if the collision shape is not a box
|
||||
|
||||
#ref SetSpriteBox
|
||||
Reference in New Issue
Block a user