Hi!
My problem would be to make a phone game and "list" work only if I click on my mouse when I switch to touch - double tap object then it does not work.
How can I do that with "touch" I can click on the list and not with my mouse?
Sorry the bad english.
prnt.sc/gyj8w1
Hey —!
Your code seems to be correct. No idea why it's not working. Can you share a capx or something?
(deleted)
EDIT: Sorry, I misunderstood your issue.
Hey —! Your code seems to be correct. No idea why it's not working. Can you share a capx or something?
Yes..
I did a project that illustrates my problem.
(I want to play a phone with the list plugin, but the touch plugin does not work on the list, but I just can not click it.)
mediafire.com/file/7kshdwqqap2ixs2/example.capx
Develop games in your browser. Powerful, performant & highly capable.
It works for me.
All events ("On touched", "On tap gesture" and "On double-tap") work with the list on my Android phone.
The list looks different though, not the same as it is on PC.
It's working fine. You're probably testing on a desktop.
While the Touch on a touch-enabled device is recognized both as Touch and as Click, a mouse click, on a non-touch device, is only recognized as Click. So. If you test on a desktop computer with a mouse, the Touch event will never be activated.
Try going to http://constructgamelab.000webhostapp.com/test in a smartphone and you'll see it working.
cheers.