Hi everybody,
I have a novice level question. When I use Corona Simulator, how can I activate taps in it? In order to trigger EventListener in this simulation?
Thank you
Hi everybody,
I have a novice level question. When I use Corona Simulator, how can I activate taps in it? In order to trigger EventListener in this simulation?
Thank you
Hi Michal. The Simulator responds to mouse clicks to simulate touch and tap events. When you press the left mouse button and hold that, its equivalent to a touch’s “began” phase. If you move the mouse while holding down the left mouse button, you will get “moved” events and when you let loose of the left button, you will get an “ended” or “canceled” event depending on if your mouse is still over the object or not.
Rob
Adding to Rob’s answer w/ some happy linkage:
Cheers,
Ed
Hi Michal. The Simulator responds to mouse clicks to simulate touch and tap events. When you press the left mouse button and hold that, its equivalent to a touch’s “began” phase. If you move the mouse while holding down the left mouse button, you will get “moved” events and when you let loose of the left button, you will get an “ended” or “canceled” event depending on if your mouse is still over the object or not.
Rob
Adding to Rob’s answer w/ some happy linkage:
Cheers,
Ed