How to keep game editor from selecting transparent color?

Talk about making games.

How to keep game editor from selecting transparent color?

Postby MrScience101 » Sat Mar 24, 2007 8:09 pm

When I load my title screen for my game it displays everything but the dismal gray background I chose. I suspect that the reason it does not draw the background color is because it assumes it is the transparent color and should not be drawn. However, I want to force it to draw the whole picture without it selecting which colors to draw and which not to. Any ideas how to do that?

Thanks.
User avatar
MrScience101
 
Posts: 115
Joined: Tue Mar 20, 2007 9:52 pm
Score: 13 Give a positive score

Postby MrScience101 » Sat Mar 24, 2007 8:21 pm

I am dumb. It tells you in the editor, that the first pixel encountered is the transparent color, or if there is an alpha channel it considers that. Sorry.
User avatar
MrScience101
 
Posts: 115
Joined: Tue Mar 20, 2007 9:52 pm
Score: 13 Give a positive score

Postby Sgt. Sparky » Sat Mar 24, 2007 11:07 pm

it's okay :D
remember as kodu I think it is said:
Search and you will find...
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby DilloDude » Mon Mar 26, 2007 12:33 am

If you want to keep a bg colour, just add a border (or a row on the top pr left) that is a colour not used anywhere else. That way, none of the image is effected.
Image
User avatar
DilloDude
 
Posts: 866
Joined: Tue Jan 24, 2006 9:51 am
Location: Nyerellion
Score: 58 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest