A couple of movement questions?
![Swagged](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
i have an example where i have 5 boxes lined up horizontally all (50x50) now i place one other (50x50) box on top of the row. i want to move the one box on top from left to right so that every time i press left or right the box moves exactly one box over making it aligned with the box under. so in other words i don't want the box to be able to stop half way in between the two boxes, i want it to be an instant transition to the left or right.
another thing i need help with is i want the box to be able to climb another box, for example i have two boxes the one on the left needs to end up on top of the one on the right. so as soon as i press right the box is on top of the other. however i need to have the setting for the boxes to collide in my game because theres boxes under them too, is there anyway i can make that happen?
another thing i need help with is i want the box to be able to climb another box, for example i have two boxes the one on the left needs to end up on top of the one on the right. so as soon as i press right the box is on top of the other. however i need to have the setting for the boxes to collide in my game because theres boxes under them too, is there anyway i can make that happen?
Answers
If box position X+1 row of the column is full, then check at Box position X+1, y+1 and if that's empty, jump up there.
And you can have that for each direction left and right. This would make it possible for you to design basically one scene and have the levels defined with tables, which makes life easier.