Mouse Hover Compatability (not a question)
Posted: Mon Jan 17, 2005 10:57 pm
I don't know if this is a big issue with anyone, but i figured out a way to see if an actor is being hovered on by the mouse.
1 ) create an actor ("hover")
2 ) give this actor a small(1x1), black animation
3 ) choose 'add event', then 'create actor', then 'follow mouse' [both]
4 ) select the actor you want(the one that will know when it being hovered on)
5 ) choose 'add event', 'colision', { on [any side] of actor [hover] }
6 ) now, choose the actions you want while the mouse is hovering over this actor
7 ) now, choose 'collision finish', {of actor [hover] }
8 ) and then select the actions taken when not hovered (just finished hovering)
Ps-In the text version will this be an event? (to makslane)
1 ) create an actor ("hover")
2 ) give this actor a small(1x1), black animation
3 ) choose 'add event', then 'create actor', then 'follow mouse' [both]
4 ) select the actor you want(the one that will know when it being hovered on)
5 ) choose 'add event', 'colision', { on [any side] of actor [hover] }
6 ) now, choose the actions you want while the mouse is hovering over this actor
7 ) now, choose 'collision finish', {of actor [hover] }
8 ) and then select the actions taken when not hovered (just finished hovering)
Ps-In the text version will this be an event? (to makslane)