TouchEvents In WCK

Hi there 🤓 , i'm newbie round these parts of town. you seem like a helpful community & the search was able to solve alot of my questions already just reading through posts.

i'm currently building a game prototype and i've ran a bit into a brick wall, once i started testing my on my iDevice ( with the mouse everything works as planned ). a drag of a spring connector is what im trying to do, kinda like a pinball plunger. it actually works sometimes, and sometimes it just ignores my touchevents. think it might be the speed of the drag that effects it.

im also kinda new to using touchevents to make things even worst. 🙂

i tried editing input.as a bit with touchevents duplicates of the mouseevents instead, but i'm not sure what im doing wrong. don't know if that's the best approach

just wondering if anyone has successfully implemented touchevents with wck for ios development. is it even possible ? i know wck wasn't really meant to support them , but is there a workaround or am i better off using the alchemy build with code-built application instead of the IDE to get the best of touchevents? the board had recommended using MouseJoints for touch events, but couldn't find any examples of using them around,

also how do i tell fingers apart ?

sorry if that's more then a single question, got so much to explain & learn atm 😐
hope the above makes sense, and thanks in advance for your time.
hello, i am having a similar problem...

i am exporting via flash pro cs 5.5 with air for ios, using wck.
within the flash testing all is well, the mouse can grab what i want and drag and release, yet when i export for the ipad2, as soon as i touch the bar i want to pull, it behaves very strangely. sometimes is jumps to a different spot 10-40 pixels away from where i touch. for instance i have a lever with a circle welded to the end with a revolute spring joint on one end of it to drag down and release, with a ball on top of it, like a catapult of sorts.

when i click on the circle, sometimes it shoots away all the way to the ground, other times it 'jumps' to a different position on the circle then where i touched,...once it 'jumps' to where it thinks i grabbed, the drag works as planned, i can release, etc, all smoothly,.but since i am dragging a ball on top of it, the 'jump' causes the ball to ricochet off before i pull it back, if that makes sense.

i am also looking for a the correct way, workaround or solution to getting the touch events to register correctly, in this manner...
any thoughts, suggestions or solutions anyone may have would be greatly appreciated.

Cheers..
yeah, seems like your having the exact same issues. i've searched everywhere for some extra information into the issue but with no luck.
fingers crossed someone can give is some direction / insights to what were doing incorrectly or misunderstanding
yeah, seems like your having the exact same issues. i've searched everywhere for some extra information into the issue but with no luck.
fingers crossed someone can give is some direction / insights to what were doing incorrectly or misunderstanding
I'm using the same workflow as theRambler (but exporting to iPad 1) and having exactly the same problem, has anyone else come across this, or have any suggestions?

I have been following Lee Brimilow's tutorial http://gotoandlearn.com/play.php?id=135

Have also had the same issue with the wck demo when packaged for iPad from flash.

Apologies if I have missed this posted anywhere else.

Original thread: https://box2d.org/forum/viewtopic.php?t=7587