how do you use mouse down events with a custom cursor?

Game Editor comments and discussion.

how do you use mouse down events with a custom cursor?

Postby DarkParadox » Tue Jul 24, 2007 8:57 pm

how do you use mouse down events with a custom cursor?
User avatar
DarkParadox
 
Posts: 457
Joined: Mon Jan 08, 2007 11:32 pm
Location: USA, Florida.
Score: 84 Give a positive score

Postby J Maker » Tue Jul 24, 2007 9:12 pm

same as normal
Some people believe Chuck Norris evolved from a dinosaur, the Chucknorisaurus.
----------------------------------------------------------------------------------
Chuck Norris doesn't sleep, he waits.
----------------------------------------------------------------------------------
Chuck Norris doesn't hunt, he kills.
----------------------------------------------------------------------------------
Chuck Norris once shot down a german fighter plane with his finger by yelling BANG!!!
----------------------------------------------------------------------------------
User avatar
J Maker
 
Posts: 177
Joined: Fri Jun 22, 2007 4:17 pm
Location: in the stick version of Hyrule
Score: 10 Give a positive score

Postby DarkParadox » Tue Jul 24, 2007 9:35 pm

that didn't help at all
User avatar
DarkParadox
 
Posts: 457
Joined: Mon Jan 08, 2007 11:32 pm
Location: USA, Florida.
Score: 84 Give a positive score

Postby Game A Gogo » Tue Jul 24, 2007 11:17 pm

On create actor of your pointer, desable the events of mouse button down and up.
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby DarkParadox » Tue Jul 24, 2007 11:26 pm

no i want to be able to use mouse down events
User avatar
DarkParadox
 
Posts: 457
Joined: Mon Jan 08, 2007 11:32 pm
Location: USA, Florida.
Score: 84 Give a positive score

Postby metal_pt » Tue Jul 24, 2007 11:31 pm

sure, but not over the cursor actor ;)
]v[eta[_ - Using GE since June, 15 2007
Currently using v1.3.8 Registered
metal_pt
 
Posts: 117
Joined: Sat Jun 16, 2007 12:57 pm
Location: Sintra, Portugal
Score: 2 Give a positive score

Postby Game A Gogo » Wed Jul 25, 2007 12:53 am

This will remove the events on the custom cursor, so it will let place for mouse events on the others. the Real cursor is always there, but is just hidden, so mouse down events does it on the "fake" cursor, if you remove them, it will do the mouse down event on the actor under the cursor.

Just try it, and it will work.
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby DarkParadox » Wed Jul 25, 2007 1:06 am

thanks game a gogo
User avatar
DarkParadox
 
Posts: 457
Joined: Mon Jan 08, 2007 11:32 pm
Location: USA, Florida.
Score: 84 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron