How do I Do a fade transition properly?

Get help using Construct 2

Post » Fri Mar 06, 2015 1:36 am

I have a fade transition setup, it works great, except for one thing, and that's buttons. I have buttons as part of my menu and the buttons are always on top of the black sprite I use for the fade transition. The sprite is on the very top z order on the top layer and the buttons are on a lower layer at a lower z order, but still they stay on top visually. How do I correct this?
B
5
S
1
Posts: 59
Reputation: 497

Post » Fri Mar 06, 2015 2:16 am

How many layers you have?
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Fri Mar 06, 2015 2:22 am

Two, a top and a bottom. Like I said the black sprite is on the top layer and the buttons are on the bottom
B
5
S
1
Posts: 59
Reputation: 497

Post » Fri Mar 06, 2015 2:45 am

The Button object creates a form button which the user can click to perform an action. It can also be set to be a checkbox..
Form controls are actual HTML elements floating above the game canvas in the HTML page. Therefore, nothing can be displayed on top of a form control, apart from other form controls.

https://www.scirra.com/manual/111/button


use custom buttons(sprites)...
Image
B
65
S
23
G
7
Posts: 1,504
Reputation: 10,894

Post » Fri Mar 06, 2015 3:07 am

.......seriously? Well that's awesome. Thanks for letting me know, I'll just redesign my entire menu system now.
B
5
S
1
Posts: 59
Reputation: 497

Post » Fri Mar 06, 2015 3:08 am

Switching to sprites for buttons would fix your issue.

Edit:
I see korbaack already offered a solution.
B
56
S
15
G
13
Posts: 826
Reputation: 17,645


Return to How do I....?

Who is online

Users browsing this forum: namaewayukidesu, Yahoo [Bot] and 7 guests