Page 1 of 1

Z Buffer problems - even though I shouldn't have them!

PostPosted: Thu Mar 10, 2005 8:19 pm
by IPete2
Hi - can anyone help please?

I am making a demo game viewed from the top down looking down at about 45 degrees.

I have used a couple of single graphics to draw 'tiles' to make an interesting and varied background, these overlay a desert brown background colour.

I have an actor and some trees, who swap z buffer positions with each other so the character is over the top and underneath the trees, depending

Image


The problem comes when I put a 'score' text actor over the top and try to make it stay on top of everything else. I have used a z-buffer of 1.00000. I have created a 'create actor' and a 'draw actor' scripts which do the same, but the score still goes underneath my single graphics which are actually the lowest z-buffer wise???

Anyone got any clues please? I am using the demo of 1.28

Thanks,

IPete2.

PostPosted: Thu Mar 10, 2005 9:35 pm
by makslane
Change the view zdepth if view is parent of score

PostPosted: Thu Mar 10, 2005 9:48 pm
by IPete2
thanks I'll try that.

IPete2.

... a moment later... yahoo thanks! That works great!