Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Window opacity and z coordinate not working?

Hi guys. Here's my problem
http://img138.imageshack.us/img138/2434/immaginebv2.jpg[/img]
As you can see there are two windows, A and B, with A.z > B.z so that A appears closer to the viewer.
But, you also see that under the word "beast" there's a little arrow that belongs to the window in the rear (B). And it seems to have opacity=255, while window B has opacity=100, back_opacity=0 and content_opacity=0.
How is that possible?

Thanks for any help.

EDIT: i figured out the problem with the z coordinate. That cursor is kind of considered as content, and then it has a z-coordinate value that equals the window's z-coordinate plus 2. Raising the difference between A.z and B.z solves the problem in the picture.
However there are other cases in which the cursor of the rear window is not covered, and it appears solid, no matter what opacity i set. So the  question becomes: what controls the opacity of that cursor?
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top