It looks like you're new here. If you want to get involved, click one of these buttons!
local dots = {dot1, dot2} local function onTouchesMove(event) for i=1,totalTouches do local dot = dots[event.touches[i].id] dot:setPosition(event.touches[i].x, event.touches[i].y) end end |
Likes: tytadas
Comments
Thank you.
the above extra code.
What I was doing was adding: stage:addChild(paddle) when I didn't need it,
that was causing the crash.
Thanks