ShiVa3D
Mouse and touch
Google Play Store, Amazon Kindle, Nook, and so many moreMouse and touch
by Vitalii » 16 Jul 2012, 10:07
I have a HUD button with
Click action: JumpBtnDn
Clicked action: JumpBtnUp
When i'm pressing and releasing button with mouse, it works as expected.
Either it works when i'm pressing and releasing touchscreen fast enough.
But when i'm touching button more than several seconds, and then release, Clicked action is not calling, and character continues to jump.
Just wondering if it is bug, or i should redirect mouse->touch or touch->mouse like here
http://www.shivaengine.com/developer/1720-mix-mouse-and-multitouch
Click action: JumpBtnDn
Clicked action: JumpBtnUp
When i'm pressing and releasing button with mouse, it works as expected.
Either it works when i'm pressing and releasing touchscreen fast enough.
But when i'm touching button more than several seconds, and then release, Clicked action is not calling, and character continues to jump.
Just wondering if it is bug, or i should redirect mouse->touch or touch->mouse like here
http://www.shivaengine.com/developer/1720-mix-mouse-and-multitouch
-

Vitalii - Senior Boarder

- Posts: 52
- Location: Helsinki, Finland
1 post
• Page 1 of 1