Mouse Enter & Mouse Leave Event problems (PPC)

Non-platform specific questions.

Mouse Enter & Mouse Leave Event problems (PPC)

Postby Kodo » Thu Mar 01, 2007 1:08 am

Im having a problem with mouse enter and mouse leave. The problem is that it seems to work perfectly when running GE in game mode (on my PC), but as soon as I export to Pocket PC it doesnt seem to recognise either event :( Any idea what it is that I might be doing wong?
Inogames: http://www.inogames.com iOS gaming
Firetop Adventure (app store): http://itunes.apple.com/us/app/firetop- ... ?mt=8&ls=1
User avatar
Kodo
 
Posts: 449
Joined: Thu Oct 20, 2005 8:20 pm
Location: UK
Score: 23 Give a positive score

Postby Game A Gogo » Thu Mar 01, 2007 1:31 am

Pocket PC doesn't have a mouse, so, it doesn't support mouse enter/exit events, you cannot drag you stylus on it. try making the enter event in the mouse button down and the script or up animation on mouse up, not sure if this would 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 Kodo » Thu Mar 01, 2007 1:37 am

I already had everything working on a mouse down event, but would prefer to detect mouse movement so the player could just hold the stylus on the screen rather than keep tapping it, I was hoping that holding the stylus on the screen and moving it around would allow the mouse enter and mouse leave events to work, if you keep track of the xmouse and ymouse when moving the stylus around it seems to work exactly like moving a mouse around the screen on the PC, so it seems like it should work.

ON a seperate note, you can drag actors around the screen just as you would with a pc mouse, so even though PPCs dont generally have mice there are many similarities in the way the stylus works.
Inogames: http://www.inogames.com iOS gaming
Firetop Adventure (app store): http://itunes.apple.com/us/app/firetop- ... ?mt=8&ls=1
User avatar
Kodo
 
Posts: 449
Joined: Thu Oct 20, 2005 8:20 pm
Location: UK
Score: 23 Give a positive score

Postby Game A Gogo » Thu Mar 01, 2007 2:22 am

maybe this could be filed into the fearture request section
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 makslane » Thu Mar 01, 2007 2:37 am

I will take a look on this issue.
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