Hi,
I made a little code to make a plain object as a tree.
It working good and the tree image has correctly the black color as transparent.
Here the code (use the attached image as media)
load image "tree.bmp",10
make object plain 1,200,200
texture object 1,10
set object 1,1,1,0,0,0
set object transparency 1,1
position object 1,180,115,180
point object 1,0,20,0
fade = 100
DO
timerz = timerz + 1
text 10,10,"timerz = "+str$(fade)
text 10,20,"transparency = "+str$(fade)
IF timerz = 80
IF fade >= 0
fade = fade - 1
FADE OBJECT 1,fade
ENDIF
timerz = 0
ENDIF
LOOP
Ok so you can see that the tree working good but I would to add a transparent effect to make my tree fading to total invisibility.
So I set correctly the object and I using FADE OBJECT command (inside a timer loop) but nothing..
Can you help me to obtain a gradual transparency (from total visible to total invisible) for the plain object and his tree texture too? Thanks!