2D RPG Buildings

Blitz3D Forums/Blitz3D Beginners Area/2D RPG Buildings

Benasp(Posted 2006) [#1]
I have a tavern sprite that I want to use in my 2D RPG, but I can't figure out how to draw it on the screen. It either scrolls with the PC and the rest of the screen, or when I put it directly into the map transparently with mappy, it isn't transparent in the program. I'm using the mappybb.bb file that is somewhere in the code archives. I don't have a link right now, so I'll just post the code:



jfk EO-11110(Posted 2006) [#2]
You may have to replace the color that used to be transparent. Check the masked sprites that are working with Mappy to see what color is used as tranparent color.


Benasp(Posted 2006) [#3]
Yeah, I already know that it's RGB(255,0,255) (pink) but I'm not sure how I would replace the color with transparency (I've tried maskimage, but I don't know if I'm doing it right).