I already have the grid-based movement, but how do I deal with the box-pushing aspect? If I just make the box react to overlapping with the player, they’ll get pushed against a wall and moved into. What do I do?
6 Likes
here’s a basic way to do it:
and here’s a more advanced version that animates the boxes:
7 Likes
I’m not sure these will work. I hand-coded my movement to snap to the grid:
1 Like
The sokuban basic might work, if you make it so if the Player tries to move where the box is the box moves as well
1 Like
