Files
RCBASIC4/doc/doc_files/setspriteshape.html
2026-02-26 15:33:51 -06:00

46 lines
813 B
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>SetSpriteShape [RCBasic Doc] </title>
</head>
<body>
<p><h2>Sub SetSpriteShape(spr_id, shape) </h2></p>
<p>
Sets 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="getspriteshape.html">GetSpriteShape</a>
</p>
<p>
</p>
</body>
</html>