Make A Sprite

General Computer Utilities
Post Reply
uncleBen
Posts: 63
Joined: Sat Oct 29, 2005 9:03 pm

Make A Sprite

Post by uncleBen »

Turns your bmp image into a masked sprite image which you can then save onto disk.

To make a sprite, first make sure that the area you want to be transparent is white in the original drawing.
Then
1) open the bmp file;
2) choose create sprite from the menu;
3) and when it says "Creating sprite... Done!", you can save the sprite as a bmp file.

Note: Since I was too lazy to write a flushing/delsegmenting routine, the sprite image only gets flushed after it's finished. That means, avoid covering up the window while making a sprite or you'll have to start over again.

#Edit: Replaced previous version with version 1: bigger sprites, .bmp extension automatically added to saved files and a progress bar.
Attachments
MakeASprite1.zip
(2.24 KiB) Downloaded 556 times
uncleBen
Posts: 63
Joined: Sat Oct 29, 2005 9:03 pm

Updated Version

Post by uncleBen »

Changes:
* Controls are relative to display settings, meaning that you can mask bigger sprites using a bigger resolution.
* Filedialogs open the folder where you last opened or saved an image.
* Other minor fixes.
Attachments
MakeASprite2.zip
(2.65 KiB) Downloaded 532 times
Post Reply