1. RPG: Transparancy
- Posted by Alex Ford <FFUltimateMaster at CS.COM>
Aug 20, 2000
-
Last edited Aug 21, 2000
OS: Windows
Ver: EU 2.2
i need help with transparancy for one of my RPGs... How could i make it so
that if the program reads the a certain color [say pink] how could i make it
think its transparnt?
hehe... here is a status report... just cuz i feel like saying it
*Finished ( 39 ) tiles
*Character Movement
*Tile replacement on Character move-over
*Music range
-Thanks to Smoky for all his help!-
~thanks and later~
2. Re: RPG: Transparancy
>OS: Windows
>Ver: EU 2.2
>
>i need help with transparancy for one of my RPGs... How could i make it so
>that if the program reads the a certain color [say pink] how could i make
>it
>think its transparnt?
>
>hehe... here is a status report... just cuz i feel like saying it
>*Finished ( 39 ) tiles
>*Character Movement
>*Tile replacement on Character move-over
>*Music range
>
>-Thanks to Smoky for all his help!-
>
>~thanks and later~
That's easy.
For DOS;
1. bk_color(whatever) will make "whatever" the background color.
2. code your own bitmap drawing routine you lazy ass! J/K
simply DON'T draw the pixel in a bmp if it is the color you want to leave
out. AKA if bmp[x] != color then pixel(bmp[x],{x,y}) end if
For Win32;
do Nr. 2 for DOS, or use MaskedBlit from win32lib setting the transparant
color to 255,0,255.
Mike The Spike
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
3. Re: RPG: Transparancy
- Posted by Alex Ford <FFUltimateMaster at CS.COM>
Aug 20, 2000
-
Last edited Aug 21, 2000
okay MTS [kinda shocked getting help from you... but help is help...]
thanks
4. Re: RPG: Transparancy
>okay MTS [kinda shocked getting help from you... but help is help...]
>
>thanks
NP man.
Don't feel shocked, I once challenged John Carmack in 98' to see who could
write faster GFX code for 3DFX cards. I lost, but, hey! I was young then :p
Mike The Spike
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
5. Re: RPG: Transparancy
In a message dated 8/20/00 9:37:00 PM Eastern Daylight Time,
mikethespike2000 at HOTMAIL.COM writes:
<< For Win32;
do Nr. 2 for DOS, or use MaskedBlit from win32lib setting the transparant
color to 255,0,255.
Mike The Spike >>
Um, exactly how would i use MaskedBlit? I dont know that much about Win32lib
yet... [yes... of course i am useing it....]
~later~
http://evilzz.net/aetheorraent