So i am using the gameUI library so i can drag physics objects around. As well i have my game setup with a “camera” using the egg breaker example. I have all my objects in a single display group, so as my “player object” moves, the display group scrolls. the issue i am finding is that as the screen is scrolling, i go to grab and drag a physics object and because the screen is scrolling, it is screwing with the object im dragging, because that same object is part of the display group that is being scrolled. Basically when i drag the object it is not being dragged tight to my cursor, its way off and funky. Hope that makes sense, just wondering if anyone has any thoughts on how i can have a camera that scrolls the game world, and still be able to drag physics object and have them tight to my cursor. thanks! [import]uid: 19620 topic_id: 15969 reply_id: 315969[/import]
Have you tried enabling multitouch ? [import]uid: 84637 topic_id: 15969 reply_id: 59196[/import]
yea just gave it a try, doesnt seem to affect anything. Maybe i just need to have it in a seperate display group, that also scrolls, but will halt scrolling of the objects display group when i touch the object. [import]uid: 19620 topic_id: 15969 reply_id: 59210[/import]
At this point i cant seem to figure a solution, i have my game setup right now with a simple scroll method that allows me to drag the screen left and right, once i drag the screen any direction on the X, and then i try to drag my player object, the player object jumps back a good distance away from the cursor itself, as though my touch event is not registering in the correct place… im going to keep trying, if anyone has any suggestions let me know, im going to try and post a video showing the issue soon. [import]uid: 19620 topic_id: 15969 reply_id: 59228[/import]