I can’t make more then one movieclips bounds to be right at once
My code so far:
brickOne = movieclip.newAnim{"brick.png"}
brickOne.x = 100
brickOne.y = display.contentHeight/1.05
brickOne:setDrag{
drag = true,
limitX=false,
limitY=true,
bounds={ 100, 0, 110, 0 }
}
brickTwo = movieclip.newAnim{"brickTwo.png"}
brickTwo.x = 210
brickTwo.y = display.contentHeight/1.05
brickTwo:setDrag{
drag = true,
limitX=false,
limitY=true,
bounds={ 200, 0, 210, 0 }
}
Something must be wrong since they can go into each other.
So what to do? [import]uid: 24111 topic_id: 8276 reply_id: 308276[/import]