PUSH the Box functin: for cool puzzle

hi corona people. so learning to clone this classic sukoban puzzle. you’ll see i’ve done the map, chars, boxes. . i can even move my character along the ‘walkable tiles’ in the grid. but i dont know how to implement a ‘push the box’ function… files have been attached. it’ll be easy for you experienced ones. thanks!

here’s the source code :slight_smile:

http://www.4shared.com/rar/9XxzeRBY/sukoban.html

(only left arrow is working)

since im always on the move, i’ve managed to actually create my 4-direction controller. but now, the RIGHT direction function is buggy…it tends to jump and skip tiles. the character and box should be moving 1 tile at a time. when i press ‘right button’ it skips and moves to the other end.

if you need my code just tell me.will upload it

since im always on the move, i’ve managed to actually create my 4-direction controller. but now, the RIGHT direction function is buggy…it tends to jump and skip tiles. the character and box should be moving 1 tile at a time. when i press ‘right button’ it skips and moves to the other end.

if you need my code just tell me.will upload it

shout out to Mr. Nevin Flanagan for helping me with this. . :smiley:

shout out to Mr. Nevin Flanagan for helping me with this. . :smiley: