Heppell08 Posted June 21, 2014 Share Posted June 21, 2014 So i have been playing about and got quite a bit of code working well in my game. I am now trying to create my menu and i want it to have some animation and movement. ~What i am trying to do is have the button scale up 2x when the mouse over it. I know about frames and buttons but in this instance that is of no use to me. I would like the button to scale up and then when the mouse is not over the button it would originate it size back to normal. I have seen the onOverMouseOnly for buttons has been added to 2.0.5 and that is what i am using so if there is an example or someone has it working and can show me the code i'd be very appreciative. Thanks Link to comment Share on other sites More sharing options...
Heppell08 Posted June 21, 2014 Author Share Posted June 21, 2014 Scrap this question, i got an answer from this post http://www.html5gamedevs.com/topic/5171-checking-if-mouse-is-over-a-sprite-hover/ Link to comment Share on other sites More sharing options...
Recommended Posts