Having things swipe independently would need a multi touch algorithm. Not sure what exactly you're specifically trying to accomplish. Could you explain the process you're trying to create.
Elaborate a bit more, do you need it so all swipe independently and can be manipulated simultaneously (multi-touch)? Or just one at a time but operate separately? What's the main purpose of the system?
@natzuur 1st one ...swipe independently. for example same blue ball which can swipe in the one level. I want swipe first blue ball, but at the same time the second and third ball remains stationary.
Comments
attributes
game.touchx
game.releasex
when touch is pressed
change attribute
game.touchx to game.mouse.position.x
game.releasex to game.mouse.position.x
when touch is released
change game.releasex to to game.mouse.position.x
rule
if game.releasex is greater then game.touchx
right 75 pixels
rule
if game.releasex is less then game.touchx
left 75 pixels