#172902 - Alriightyman - Wed Mar 10, 2010 10:16 pm
I was using the Pern Map Editor, and exported teh mappings, tiles, and palettes. Loaded them up into VRAM, and everything is great except one thing. The transparent color is black, and there are multiple black colors within the palette. And because of this any tiles that need that transparent color use black instead of the transparent black. I was wondering if anyone knew how to change it so there is one black before I export from the editor or how to manually fix this.
I hope that all make sense.
Thanks.
EDIT: I figured out how to do it manually once I got the tile data format. All I had to do was just change sone numbers.
#172930 - dovoto - Thu Mar 11, 2010 10:05 pm
the best way is to use a file format with alpha (like png), the editor will use this and so will grit in the exporter. If this is not an option you should use ome color other han black for transperency (brigh pink is pretty common). you can change the transperent color in the tileset property viewer.
_________________
www.drunkencoders.com
#172939 - Alriightyman - Fri Mar 12, 2010 6:33 am
Funny thing is, I did change the color. I tried a bunch of colors, including pink, and it still insists on making it a black color.
#172947 - sverx - Fri Mar 12, 2010 10:40 am
Maybe it doesn't overwrite the BG_PALETTE[0] ... ?
#172974 - Alriightyman - Sat Mar 13, 2010 7:05 pm
I does. I think it has something to do with the art I put in it.
I have a different question though that's related to tiles and sprite sizes. I see you can have a 16x16 sprite or 32x32 sprite, but can you set up a 24x24 sprite?
#173002 - sverx - Mon Mar 15, 2010 10:51 am
no, you can place your 24x24 image inside a 32x32 sprite or you could use more than a single sprite (but I wouldn't do that, personally)
#173009 - Alriightyman - Mon Mar 15, 2010 1:28 pm
Ok, that's what I've been doing. Thanks!
#173023 - dovoto - Mon Mar 15, 2010 8:39 pm
could you send me a coppy of the art you are using? probably a bug since my test art has black tansperency. I will fix and upload a new vesion.
_________________
www.drunkencoders.com