Page 1 of 1
Mouse Enter & Mouse Leave Event problems (PPC)
Posted:
Thu Mar 01, 2007 1:08 am
by Kodo
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?
Posted:
Thu Mar 01, 2007 1:31 am
by Game A Gogo
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
Posted:
Thu Mar 01, 2007 1:37 am
by Kodo
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.
Posted:
Thu Mar 01, 2007 2:22 am
by Game A Gogo
maybe this could be filed into the fearture request section
Posted:
Thu Mar 01, 2007 2:37 am
by makslane
I will take a look on this issue.