Buttons Ignoring Z-Order

Get help using Construct 2

Post » Sat Apr 25, 2015 10:08 pm

Hello, I'm trying to figure out why my button plugin objects are not obeying the z order I have set up on the layer they exist. They are going to the top of all the layers no matter what, and I have to make them invisible if I want them to not show through a higher z or higher layer object like a fade In screen object or whatever. Only the mouse will show above them. A custom cursor object I'm using goes under the button as the mouse goes over it. Is this a CSS issue?

Thanks
B
4
Posts: 29
Reputation: 264

Post » Sun Apr 26, 2015 12:39 am

Buttons are HTML elements that are drawn on the "web page" the game is displayed on, overtop of the canvas. They always ignore the Z-order of anything except other form elements (such as listboxes).
B
5
Posts: 13
Reputation: 251

Post » Sun Apr 26, 2015 12:45 am

ImageImageImage
B
71
S
22
G
247
Posts: 3,753
Reputation: 137,552

Post » Sun Apr 26, 2015 1:23 am

Oh, I missed that sentence. I guess I'll be making my own button sprites. Thanks for the replies.
B
4
Posts: 29
Reputation: 264


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 16 guests