Help - Search - Members - Calendar
Full Version: Crispimage Alpha Generator
Game Maker Community > Games > Game Maker Creations > Tools & Applications
exar3000
CrispImage Alpha generator
By Exarmaster

Ever have an image that you want to use for a game, but it's an anti-aliased bitmap?
Getting it to look nice in GM is a real hassle, and getting rid of the borders looks awful.

This program generates an alpha channel & a color channel
for use with sprite_set_alpha_from_sprite,
to make your images look smooth, and high-quality.

It takes bitmap images and uses some simple math to make to images.

GM Version: 6.1
Vista-compatible: Yes
Download:



A couple of screenshots to demonstrate:

Image for generator: (Note, the background color must be solid, and pink (255,0,255))

http://img39.imageshack.us/img39/2858/antialiased.png

Resulting Alpha channel:



Resulting Color channel:



I hope you enjoy this program. smile.gif

For more information, run the program to see the help file.
RamboFox
I've used this method before - but it WILL give you pink edges if you use scaling/d3d functions (any scaling, even window resizing!).
exar3000
QUOTE (RamboFox @ Aug 8 2009, 11:32 PM) *
I've used this method before - but it WILL give you pink edges if you use scaling/d3d functions (any scaling, even window resizing!).


Of course, but I forgot to mention the fix to it. If you want that issue fixed,
after getting the alpha channel, replace the semi-transparent pixels with opaque ones the color of the outline.
It works perfectly then.


The new version now generates a color channel as well. This means no pink edges.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.