touch buttons do not work in mobile browser

If you have found a bug, or have a suggestion/comment then leave it here

Post » Tue Nov 05, 2013 2:38 am

greetings, I made a game on "construct 2" and export it in html5, uploaded it to a website and if you see it from a PC with the browser works without problems, but if I see it from the browser of a smartphone or tablet do not work touch or mouse buttons.
android does not work
iphone does not work
but in a windows phone 7.8 if it works.
with this it is clear that the file is fine, but not how to fix it to work in the other browsers, please help.
B
3
Posts: 1
Reputation: 202

Post » Thu Nov 28, 2013 12:18 am

i hope someone replies on this thread as i'm also having similar issues, although i used an iframe in embedding my game on the site or @cucoch have you found any solution?
B
15
S
4
Posts: 138
Reputation: 2,003

Post » Thu Nov 28, 2013 12:53 am

@Dasat
@cucoch

On the side of construct 2 editor there's a menu that has two clickable options, "projects" and "layers". Click on projects then scroll through your object types, and look for "touch". Click on the "touch" and look at the settings on the left side after you have clicked on "touch". Then under properties it says "use mouse input", set this to "yes".

If your making a game that uses both mouse and touch, then all you need is the touch object. The touch object can also be used to control the mouse on browsers, so you don't need the mouse object or its actions.retrodude2013-11-28 00:56:11
B
18
S
4
G
3
Posts: 436
Reputation: 4,801


Return to Website Issues and Feedback

Who is online

Users browsing this forum: No registered users and 0 guests