hello … i need to move an object by touch with specif limits as x = 200 to x= 400
and y= 149
[import]uid: 96162 topic_id: 35779 reply_id: 335779[/import]
hello … i need to move an object by touch with specif limits as x = 200 to x= 400
and y= 149
[import]uid: 96162 topic_id: 35779 reply_id: 335779[/import]
Here’s a handy tutorial on dragging objects:
http://www.coronalabs.com/blog/2011/09/24/tutorial-how-to-drag-objects/ [import]uid: 135394 topic_id: 35779 reply_id: 142388[/import]
oki but i need to move the object a long from x = 220 to x = 360n and make y is constant just like
y = 110 [import]uid: 96162 topic_id: 35779 reply_id: 142509[/import]
Check out this forum post, it relates to maintaining boundaries when dragging:
https://developer.coronalabs.com/forum/2013/02/11/set-boundary-objects-can-not-move-beyond [import]uid: 135394 topic_id: 35779 reply_id: 142511[/import]
Here’s a handy tutorial on dragging objects:
http://www.coronalabs.com/blog/2011/09/24/tutorial-how-to-drag-objects/ [import]uid: 135394 topic_id: 35779 reply_id: 142388[/import]
oki but i need to move the object a long from x = 220 to x = 360n and make y is constant just like
y = 110 [import]uid: 96162 topic_id: 35779 reply_id: 142509[/import]
Check out this forum post, it relates to maintaining boundaries when dragging:
https://developer.coronalabs.com/forum/2013/02/11/set-boundary-objects-can-not-move-beyond [import]uid: 135394 topic_id: 35779 reply_id: 142511[/import]