//~ octagon.png

//~ Don't forget to enable physics for the sprite.
//~ Don't forget to change <SpriteID> to the correct id.

w# = ( GetSpriteWidth( <SpriteID> ) / 2.0 )
h# = ( GetSpriteHeight( <SpriteID> ) / 2.0 )
SetSpriteShapePolygon( <SpriteID>, 8, 0, w# * -0.895, h# * 0.319 )
SetSpriteShapePolygon( <SpriteID>, 8, 1, w# * -0.895, h# * -0.372 )
SetSpriteShapePolygon( <SpriteID>, 8, 2, w# * -0.405, h# * -0.862 )
SetSpriteShapePolygon( <SpriteID>, 8, 3, w# * 0.407, h# * -0.862 )
SetSpriteShapePolygon( <SpriteID>, 8, 4, w# * 0.891, h# * -0.378 )
SetSpriteShapePolygon( <SpriteID>, 8, 5, w# * 0.891, h# * 0.326 )
SetSpriteShapePolygon( <SpriteID>, 8, 6, w# * 0.424, h# * 0.792 )
SetSpriteShapePolygon( <SpriteID>, 8, 7, w# * -0.423, h# * 0.792 )
