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.
my inspiration is in zombie smasher game
thanks in advance
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
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
Develop games in your browser. Powerful, performant & highly capable.
If the animation is smooth the button will work as such
..you can also mask your button with sprite..
capx> http://s000.tinyupload.com/index.php?fi ... 8382326194
thank you very much RayKi and korbaach