Touch Pressed doesn't work on cordova windows phone.
FabioCarvalho
BrazilMember, PRO Posts: 8
Hey Guys, all good ?
I'm trying to publish my game on Windows Phone but the touch command doesn't work, someone know why ? On Android work perfectly.
My Steps:
I made my game as HTML5 app and use cordova to generate the Windows universal app. Then, I installed him on Windows Phone using the "Windows Phone Application Deployment".
Comments
Yes, there are problems with GS reacting to Touch-Pressed, -Down and -Released under HTML5.
Some bugs regarding this have been submitted to the bug-tracker, but not resolved yet.
In the meantime you will have to find a workaround. There are different causes for the problem, some are related to scene scaling, others are caused by the fact that the mouse state does not get cleared.
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com
In theory Raw mouse position x and y should account for scene scaling, it works absolutely fine, as it should, in Creator, but unfortunately doesn't really work on iDevices, but maybe it's worth trying on a Windows Phone ?
I wish it was sorted out as it'd be really really useful for a whole range of issues.
I agree.
I want to up my game to WP and W10, but, i already tried a lot of things to make "touch" work, and nothing it happens. I think i will need make a joystick or something
Hey @Socks,
unfortunately it is not as simple as that. It can occur that after scaling, or the window losing focus, the active touch area caught by GS, is somewhere in the upper left hand corner. Raw or not.
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com
Ah ! I see !