I have found the code online to do both things; drag & drop objects (newRects/Images i’m interested in) and multitouch zoom in/out code.
However, I run into a lot of issues, the biggest of which;
Drag & drop: when you drag one object over another, the other takes over the focus even though you didn’t let go the first. The original object you were dragging will not register moved events until you move your finger back to it. That’s kind of never how you want drag to work. I want to drag around the first object no matter what happens until I let go by actually removing my finger from the screen. How do I do that? Sorry if that is trivial; I couldn’t find it…
Multitouch: I want to use it to actually , for a puzzle game, scale and rotate objects, but scaling now is always *scale both x and y which means that they scale in both direction with the same scale factor. That, again, is rarely what you want; I want to scale more in the x direction if I move more horizontally and y if I slide more vertically. I messed around but cannot get it done.
If drag & drop works as expected I can create the other functionality in another way, but now both don’t work and I just cannot get it to work.
Hopefully someone made this already!