Button/Text Box visible upon the next Layer

Get help using Construct 2

Post » Mon Nov 11, 2013 8:42 am

The problem I have and I dont understand is:

- I make a Sprite (Layer 1)
- put some buttons and text-box on it (Layer1)
- than i change the position from another sprite (which is on Layer2) over the first Sprite

and however the text-boxes and Buttons are visible on the Sprite which is one Layer over their. :/

hope you understand my terrible english :D
B
7
S
3
Posts: 15
Reputation: 1,455

Post » Mon Nov 11, 2013 8:59 am

sounds strange
B
15
S
6
G
6
Posts: 512
Reputation: 5,555

Post » Mon Nov 11, 2013 10:18 am

B
7
S
3
Posts: 15
Reputation: 1,455

Post » Mon Nov 11, 2013 10:50 am

From the manual:

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.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon Nov 11, 2013 11:17 am

So set them just invisible as soon as you move something over them.

To avoid bugs insert into your on form actions a condition: is visible
B
15
S
6
G
6
Posts: 512
Reputation: 5,555

Post » Mon Nov 11, 2013 11:34 am

Thx for both helpfull answers ;)
B
7
S
3
Posts: 15
Reputation: 1,455


Return to How do I....?

Who is online

Users browsing this forum: jorgmaquoi and 6 guests