Game Development Community

Breakup sprites or large list of sprites?

by Jereis Zaatri · in Game Design and Creative Issues · 08/29/2010 (5:06 pm) · 1 replies

Hello,

So I'm creating a game where the player has many face expressions and movements. Initially I thought of breaking up the sprite into it's parts, but when I did that I got gray lines along the cut out boarders making the player look like Frankenstein. It seems any pixel with an alpha value produces a boarder. So do I go through the annoyance trying to get rid of those lines or just do every combination of the sprite?

#1
08/30/2010 (10:38 am)
Are you sprites cell based? Like in a sprite sheet? If so, did you leave a row of blank pixels around the perimeter of the sprite cell? Example, if you want 128x128 sprites you would need to make your sprite 126x126 +1 row of blank pixels around it.

This usually takes care of the gray line artifacts.