Why are my buttons not visible

Get help using Construct 2

Post » Thu Sep 04, 2014 8:37 pm

Im working on this project...

I changed a few things with my menu so lots of things are not cleaned up yet :D
But somehow my GameMenu while playing the game is not showing my buttons correctly.

Im starting at Layout start and load all sounds. then jump to Layout UI to pickup my global UI.
Main Menu (with extra created Menu cause of the touch button).
When i play the game and press "ESC" for Menu the menu shows up and is working correctly but the "buttons" are not visible....

Please help me.

Here is the capx:
https://www.dropbox.com/s/wdc2fgr8regng ... .capx?dl=0

Obviously my buttons have a lower Z-Order than the Menu Background, but WHY? in UI-Layout everything looks ok.
B
6
S
1
Posts: 30
Reputation: 1,059

Post » Fri Sep 05, 2014 5:39 am

Is there no one who could help me?
B
6
S
1
Posts: 30
Reputation: 1,059

Post » Fri Sep 05, 2014 5:57 am

Yes it's a z-order problem. But you can always avoid the objects overriding each other by using z-order related actions. I've added two lines of codes in "showmenu" function.
You do not have the required permissions to view the files attached to this post.
B
23
S
9
G
3
Posts: 114
Reputation: 3,794

Post » Mon Sep 08, 2014 6:35 am

@Herks Thanks alot. I will test this immediately.

it works. but i did it this way to have only 1 line of "code"
Image
B
6
S
1
Posts: 30
Reputation: 1,059


Return to How do I....?

Who is online

Users browsing this forum: dop2000, hao102a2 and 33 guests

cron