Tiled Puzzle Game

im building a tiled puzzle game where you can swipe to move in different directions with tiles to block you. I almost have this working nicely but there is a problem detecting if a tile is there. I am using transitions and tables and the code if just under 200 lines and fairly complex but i would greatly appreciate if someone coukd check it out.

https://www.dropbox.com/sh/qoisq09tpuk61gl/AAD8nVgA0hSI7GdgQQ5YuXY9a

Regards, Lemon

I was looking at this code but wasn’t sure what you _don’t _have working. Did you only want the “hero” to move one square at a time? 

no i want the hero to “collide” with the tile in the middle. Thanks for going through even though theres so much code :slight_smile:

no worries guys ive fixed it, if you want the updated code you can e-mail me.

I was looking at this code but wasn’t sure what you _don’t _have working. Did you only want the “hero” to move one square at a time? 

no i want the hero to “collide” with the tile in the middle. Thanks for going through even though theres so much code :slight_smile:

no worries guys ive fixed it, if you want the updated code you can e-mail me.