Actions

Difference between revisions of "Align Sprite"

From Sonic Retro

(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…")
 
Line 1: Line 1:
[[Image:AlignSprite.png|frame|right|250px|The input bitmap (left) and [[AlignSprite]] output (right)]]
+
[[Image:AlignSprite.png|frame|right|250px|The input bitmap (left) and Align Sprite 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]].
+
'''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
 
{{Download

Revision as of 14:00, 8 October 2011

The input bitmap (left) and Align Sprite output (right)

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