Jump to content
  • entries
    657
  • comments
    2,689
  • views
    897,623

Vector sprite tool


SpiceWare

1,900 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

blogentry-3056-0-38483100-1336014869_thumb.png

 

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)

blogentry-3056-0-29617100-1336014873_thumb.png

 

and get the results

blogentry-3056-0-49297000-1336014877_thumb.png

 

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).

0 Comments


Recommended Comments

There are no comments to display.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...