Actions

Align Sprite

From Sonic Retro

Revision as of 15:58, 6 September 2012 by MainMemory (talk | contribs)

Template:Program Align Sprite is a utility that aligns a bitmap of a sprite appropriately and marks empty tiles, making it suitable for importing to SonMapEd. AlignSprite is written by MarkeyJester.

Download.svg Download Align Sprite
File: AlignSprite.zip (8 kB) (info)

Usage

  • Prepare a bitmap of a sprite to be aligned. Note that it must be in 24-bit format, the top left pixel is assumed to be the transparent color, and large files will not work with this utility.
  • Drag and drop that file onto the AlignSprite executable.
  • The file is now converted. Tiles marked as empty have the color FF 00 FF (255 000 255).

To convert multiple sprites at once, a batch file can be used:

@echo off
AlignSprite.exe WalkFrame01.bmp =
AlignSprite.exe WalkFrame02.bmp =
AlignSprite.exe WalkFrame03.bmp =
pause

External Links