How do you make buttons invisible without them not working?

Discuss game development design and post your game ideas

Post » Mon Jun 06, 2016 3:43 pm

Ok.

https://www.dropbox.com/s/s280t6d48b00z ... .capx?dl=0

Layer opacity = zero. Buttons shows. No opacity for button.
And now ?
B
33
S
18
G
27
Posts: 2,452
Reputation: 20,368

Post » Mon Jun 06, 2016 3:53 pm

OH, you mean with a big blue sprite ?

https://www.dropbox.com/s/8gl12t9f0mg9p ... .capx?dl=0

Works.
B
33
S
18
G
27
Posts: 2,452
Reputation: 20,368

Post » Tue Jun 07, 2016 6:03 am

That worked, thanks mate.
B
3
Posts: 4
Reputation: 187

Post » Thu Jun 09, 2016 1:24 pm

Oh sorry, my bad, you meant regular buttons, usually I just use sprite buttons =P
Check out my games:

Space Project
B
8
S
3
G
2
Posts: 12
Reputation: 1,626

Post » Thu Jun 09, 2016 6:04 pm

normal buttons are a different type of objects they cant be toggled invisible unless you use CSS to make it so... or move it outside the layout. but there is no point of using buttons when you have sprites :P unless you need that custom CSS feature of them.
B
70
S
20
G
67
Posts: 1,315
Reputation: 42,303

Previous

Return to Game Development, Design & Ideas

Who is online

Users browsing this forum: No registered users and 4 guests