Sprite To Polygon
Posted on February 12, 2007 at 5:13 PM
This is a simple engine that takes a sprite and it draws a polygon on a surface that outlines the sprite, this engine is not very sound though. I will be updating it sometime with a better version. Right now, complex sprites can cause glitches, i have done all i can to prevent infinite loops, so you won't get those often, prolly just once in a while. What it does is for every 4 degrees, it moves out from the center of the sprite until it hits the transparency color, then it adds a point to the polygon there.
Comments are currently disabled on games.