[Solved] How do I make interactive setting button

Get help using Construct 2

Post » Thu Jun 04, 2015 4:17 pm

hello guys
i'm creating setting button, how can i make that button show menu of music from right to left. and the setting icon rotate clockwise.
Image


my inspiration is in zombie smasher game

thanks in advance :)
Last edited by fahmijufri on Fri Jun 05, 2015 1:07 pm, edited 2 times in total.
B
9
S
2
G
1
Posts: 28
Reputation: 671

Post » Thu Jun 04, 2015 6:28 pm

If you understand CSS you can try and work with that. But if you are just like me and doesn't know how to properly use CSS you can try using sprites with animations as buttons. I do it and it works just fine.

Create a sprite with the frames of the animations of your button, and then create events to call this animations. O mouse over, on mouse click, on mouse release. Simple like that
B
17
S
7
Posts: 280
Reputation: 2,522

Post » Fri Jun 05, 2015 4:02 am

i don't understand CSS properly,, just know little bit,

if i use animation, can i make that button smooth, how many frames should i make?

p.s : i've made six frames for the button (width 100px), but not smooth enough

thanks
B
9
S
2
G
1
Posts: 28
Reputation: 671

Post » Fri Jun 05, 2015 6:51 am

If the animation is smooth the button will work as such
B
17
S
7
Posts: 280
Reputation: 2,522

Post » Fri Jun 05, 2015 12:45 pm

..you can also mask your button with sprite..

capx> http://s000.tinyupload.com/index.php?fi ... 8382326194
B
66
S
24
G
7
Posts: 1,514
Reputation: 11,039

Post » Fri Jun 05, 2015 1:05 pm

thank you very much @RayKi and @korbaach
B
9
S
2
G
1
Posts: 28
Reputation: 671


Return to How do I....?

Who is online

Users browsing this forum: RalleRoyal and 35 guests