Mouse Hover Compatability (not a question)

Non-platform specific questions.

Will you use this?

Yes
2
100%
No, Never even thought about needing hover
0
No votes
 
Total votes : 2

Mouse Hover Compatability (not a question)

Postby willg101 » 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)
Last edited by willg101 on Tue Jan 18, 2005 9:10 pm, edited 8 times in total.
http://www.wish-games.com
Old betas now available!!
User avatar
willg101
 
Posts: 473
Joined: Thu Dec 16, 2004 12:08 am
Location: West Michigan
Score: 5 Give a positive score

Postby jazz_e_bob » Mon Jan 17, 2005 11:54 pm

Thanks for the tip! :)
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby makslane » Tue Jan 18, 2005 6:28 pm

Text actors can't get collision events
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

oops

Postby willg101 » Tue Jan 18, 2005 9:06 pm

oops :oops:
typo! i meant to say 'next' version
http://www.wish-games.com
Old betas now available!!
User avatar
willg101
 
Posts: 473
Joined: Thu Dec 16, 2004 12:08 am
Location: West Michigan
Score: 5 Give a positive score

Postby makslane » Wed Jan 19, 2005 11:41 am

The next version will have an events to make this :)
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest