Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trancparency in PUT?
#15
Here is how I am doing it in a little program I was messing around with (.13b). It seems to work OK:

Code:
'define the array to hold the graphic (48 x 48, 24 bit)
dim shared sred((48 * 48 * 2) + 4) as ushort

'load the graphic into the array
bload "graphics\red.bmp", VARPTR(sred(0))

'put the graphic to the screen
put (x,y), sred, TRANS

The transparent color is pink (255, 0, 255).
Reply


Messages In This Thread
Trancparency in PUT? - by Nathan1993 - 05-10-2005, 01:24 AM
Trancparency in PUT? - by Anonymous - 05-10-2005, 01:30 AM
Trancparency in PUT? - by Z!re - 05-10-2005, 01:32 AM
Trancparency in PUT? - by Nathan1993 - 05-10-2005, 05:12 AM
Trancparency in PUT? - by Z!re - 05-10-2005, 05:54 AM
Trancparency in PUT? - by Anonymous - 05-10-2005, 08:38 AM
Trancparency in PUT? - by Z!re - 05-10-2005, 09:07 AM
Trancparency in PUT? - by Anonymous - 05-10-2005, 09:24 AM
Trancparency in PUT? - by Z!re - 05-10-2005, 09:37 AM
Trancparency in PUT? - by Anonymous - 05-10-2005, 10:12 AM
Trancparency in PUT? - by Z!re - 05-10-2005, 10:18 AM
Trancparency in PUT? - by lillo - 05-10-2005, 12:50 PM
Trancparency in PUT? - by Anonymous - 05-10-2005, 02:29 PM
Trancparency in PUT? - by urger - 05-10-2005, 05:20 PM
Trancparency in PUT? - by rdc - 05-10-2005, 06:15 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)