Combining touch offset with camera offset.
So basically I've made an actor that I can drag around the scene with my mouse. I followed Tshirtbooth's "Camera Offset: following mouse or touch in large scenes using GameSalad" cookbook tutorial and it worked wonders for keeping the drag in place while the scene scrolls to the right. I then proceeded to add the touch offset from Tshirtbooth's "Touch Offset on constrained actors gamesalad" tutorial on top of these rules, so that the actor would not always snap to the center of where the mouse is. Unfortunately the touch offset seems to cancel out the camera offset. Is there an effective way to combine these two? This is what I tried:
I'm totally stumped on this one. Thanks guys!

Comments