Files
RCBASIC4/doc/doc_files/getspriteshape.html
2025-08-13 19:20:25 -05:00

45 lines
807 B
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>GetSpriteShape [RCBasic Doc] </title>
</head>
<body>
<p><h2>Function GetSpriteShape(spr_id) </h2></p>
<p>
Returns the shape of a sprite.
</p>
<p>
Possible Shapes
</p>
<ul>
<li>
SPRITE_SHAPE_NONE
</li>
<li>
SPRITE_SHAPE_BOX - A rectangular shape
</li>
<li>
SPRITE_SHAPE_POLYGON - A polygon (any shape with 3 or more sides)
</li>
<li>
SPRITE_SHAPE_CIRCLE - A circle
</li>
<li>
SPRITE_SHAPE_CHAIN - A open polygon shape
<ul>
<li>
NOTE: Mainly used for terrain
</li>
</ul>
</li>
</ul>
<br><p>Related:
<a href="setspriteshape.html">SetSpriteShape</a>
</p>
<p>
</body>
</html>