Jump to content





Vector sprite tool

Posted by SpiceWare, in Space Rocks 02 May 2012 · 707 views

I've made a variation of my sprite converter tool that will convert a sprite AND create a vector version at the same time. This will make it much easier for me to process all the forthcoming images.

http://www.spiceware...ari/vector8.php

To use it, enter a GIF image that's available online via URL
Attached Image

Tell it which color is the background color, color numbers are in the top-right, and an image using those numbers is at the bottom. (Tip: click CHANGE COLORS if screen color conflicts with any sprite color)
Attached Image

and get the results
Attached Image

The way the vector image is created is to check the neighbors (up/down/left/right, ignoring diagonals) of each pixel. If all 4 neighbors are on, then turn the pixel off.

Next I need to make a converter that merges the vector routines with the 2x sprite routines from my Two Color converter (which I used for the dragon graphics in Medieval Mayhem).




Search My Blog

Recent Entries

Latest Visitors

0 user(s) viewing

0 members, 0 guests, 0 anonymous users