Can someone tell me if there is a alternative for drag n drop without using the drag n drop behavior. This is a mobile game but after i setup my collisions on the object it wont seem to drag across the screen . I just need the object to be dragged left and right across the screen but with touch inputs
,,,,,,,,,,,,,,,,,,,,
Develop games in your browser. Powerful, performant & highly capable.
You know that works until you start changing where you want the collision detection at then it cannot be dragged anymore i dont use the set to bounding box because i have a specific spot on where i want the collision detection to be at on my object
Can someone tell me if there is a alternative for drag n drop without using the drag n drop behavior. ,,,,, I just need the object to be dragged left and right.....
if you need something else..pease say ...
Okay i pm message you
IM uploading my capx file and which i have the drag n drop behavior setup on the rim . I also have the collision setup already how i wanted where when the ball collides on that specific spot which is inside the net they get points etc . I just need the player to be able to drag left and right using touch inputs with the collison i have enabled !
Perhaps you can use it like this - if that basket is the only thing that needs moving then forcing the user to drag on an exact point on it might be annoying. Just adjust the speed by changing the dt*XX value and find the right balance.
Ok thanks ill try your method when i get too pc
how can i modify your capx to work with r190 as i dont want to upgrade to the beta version