Treat BG color for displaying sprite objects as transparency

Post Reply
darkhog
Posts: 80
Joined: Sun May 13, 2018 10:02 am

Treat BG color for displaying sprite objects as transparency

Post by darkhog » Thu Jul 05, 2018 4:11 pm

As in the level editor and where you set up point where bullets will shot at, etc. Currently it seems to render a black border (or whatever color is used for the BG) around the monsters and so on which is not at all how it'd look in-game. You should look into making in-editor look as consistent as it would look in the game as possible, which involves making bg color for sprite-based objects transparent.
User avatar
TheNew8bitHeroes
Posts: 247
Joined: Fri Feb 16, 2018 9:24 pm
Location: Sarasota, FL
Contact:

Re: Treat BG color for displaying sprite objects as transparency

Post by TheNew8bitHeroes » Fri Jul 06, 2018 12:03 pm

Oh - you mean when an object is being placed when designing a screen...gotcha. I can discuss that with Josh, not sure how tricky it would be. But I'll add it to the cue! I can see how making background+monster scenarios, this would be beneficial!
darkhog
Posts: 80
Joined: Sun May 13, 2018 10:02 am

Re: Treat BG color for displaying sprite objects as transparency

Post by darkhog » Sat Jul 07, 2018 6:51 pm

You probably have custom in-tool sprite rendering routine anyway, so most likely all it would take is to, while plotting pixels, check if color is the BG color and if so don't plot anything.
Post Reply