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

Non-platform specific questions.

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

Postby IPete2 » Thu Mar 10, 2005 8:19 pm

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.
IPete2
 
Posts: 43
Joined: Sun Jan 30, 2005 4:06 pm
Score: 0 Give a positive score

Postby makslane » Thu Mar 10, 2005 9:35 pm

Change the view zdepth if view is parent of score
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby IPete2 » Thu Mar 10, 2005 9:48 pm

thanks I'll try that.

IPete2.

... a moment later... yahoo thanks! That works great!
IPete2
 
Posts: 43
Joined: Sun Jan 30, 2005 4:06 pm
Score: 0 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest