Actions

Align Sprite

From Sonic Retro

Revision as of 13:57, 8 October 2011 by PicklePower (talk | contribs) (Created page with "frame|right|250px|The input bitmap (left) and [[AlignSprite output (right)]] '''AlignSprite''' is a utility that aligns a bitmap of a sprite appropriate…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The input bitmap (left) and AlignSprite output (right)

AlignSprite 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