Page 1 of 1

transparecncy and canvas actors ?

PostPosted: Mon May 05, 2008 10:50 am
by feral
silly question .. sorry...

why do canvas actors have a semi-transparent "field" behind them and can I remove it ?

sorry, sounds silly and is probably quite easy..

thanks
feral

Re: transparecncy and canvas actors ?

PostPosted: Mon May 05, 2008 12:24 pm
by makslane
semi-transparent "field"!? Can you post a sample?

Re: transparecncy and canvas actors ?

PostPosted: Mon May 05, 2008 12:37 pm
by feral
makslane wrote:semi-transparent "field"!? Can you post a sample?


ok

in this example.. I see a "field" of semi transparency around the canvas actor (using draw_from)

it is a square shape in the size of the original canvas

it may be my computer or graphics card ??

Field.zip
example of the 'field"
(3.03 KiB) Downloaded 99 times


thanks
feral

Re: transparecncy and canvas actors ?

PostPosted: Mon May 05, 2008 12:55 pm
by makslane
Ok, first make your canvas 100% transparent:

Code: Select all
erase(0, 0, 0, 1);


This will solve the problem.

Re: transparecncy and canvas actors ?

PostPosted: Mon May 05, 2008 12:59 pm
by feral
makslane wrote:Ok, first make your canvas 100% transparent:

Code: Select all
erase(0, 0, 0, 1);


This will solve the problem.


yes , thank you, that works, sorry, I knew it was a silly question.. :oops:

that worked very well..

thanks
feral