transparecncy and canvas actors ?

Non-platform specific questions.

transparecncy and canvas actors ?

Postby feral » Mon May 05, 2008 10:50 am

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
User avatar
feral
 
Posts: 308
Joined: Sun Mar 16, 2008 6:27 am
Score: 47 Give a positive score

Re: transparecncy and canvas actors ?

Postby makslane » Mon May 05, 2008 12:24 pm

semi-transparent "field"!? Can you post a sample?
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: transparecncy and canvas actors ?

Postby feral » Mon May 05, 2008 12:37 pm

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
User avatar
feral
 
Posts: 308
Joined: Sun Mar 16, 2008 6:27 am
Score: 47 Give a positive score

Re: transparecncy and canvas actors ?

Postby makslane » Mon May 05, 2008 12:55 pm

Ok, first make your canvas 100% transparent:

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


This will solve the problem.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: transparecncy and canvas actors ?

Postby feral » Mon May 05, 2008 12:59 pm

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
User avatar
feral
 
Posts: 308
Joined: Sun Mar 16, 2008 6:27 am
Score: 47 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron