Computer Science Canada

Transparency

Author:  pr0xiler [ Wed Mar 02, 2005 11:04 pm ]
Post subject:  Transparency

Does anyone know how to make the background of a text transparent...

as in colorback(transparent)... does anyone know how to make something like that work?

Thanks.

Author:  Tony [ Wed Mar 02, 2005 11:48 pm ]
Post subject: 

you're looking for Font.Draw() function

Author:  pr0xiler [ Wed Mar 02, 2005 11:50 pm ]
Post subject:  re

not sure... I have a picture as a background in my program...
and when i use
put "text here"

the text becomes highlighted in whatever color colorback() is set to. Is there a way to set this so you can see the background thru the text?

Thankyou

Author:  Tony [ Wed Mar 02, 2005 11:52 pm ]
Post subject: 

tony wrote:
you're looking for Font.Draw() function

Author:  pr0xiler [ Thu Mar 03, 2005 12:20 am ]
Post subject: 

But you cant use put and get with Font.Draw...

http://relik.net/road.JPG

I wanna get the white spot the arrow is pointing to transparent... I still want to use the put statement to do this.

Author:  jamonathin [ Thu Mar 03, 2005 6:55 am ]
Post subject: 

The only thing you can do is use Font.Draw (like tony said...twice..) or just when you put something do this. (two dots)
code:

put "blah blah fart?" ..

Author:  Bacchus [ Thu Mar 03, 2005 7:03 am ]
Post subject: 

yes use Font.Draw like tony said, it has a transparent background and if you need to use get, you still can. just set it to noecho in the setscreen


: