# Tile Puzzle Game

**URL:** https://forum.kirupa.com/t/tile-puzzle-game/315003
**Category:** flash
**Created:** [October 14, 2010, 4:44pm UTC](https://forum.kirupa.com/t/tile-puzzle-game/315003 "2010-10-14T16:44:10Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![paulscanlon\_99](https://avatars.discourse-cdn.com/v4/letter/p/0ea827/32.png) [@paulscanlon\_99](https://forum.kirupa.com/u/paulscanlon_99)
#### Post date: [October 14, 2010, 4:44pm UTC](https://forum.kirupa.com/t/tile-puzzle-game/315003/1 "2010-10-14T16:44:10Z")

</div>

Can someone help me on the last part of this game i’m trying to make, you’ve all seem em, the tile games with one tile missing and when clicking a tile it slides into the empty stop.

I’ve got most of this working, code needs optimizing a bit i know but i’m stuck on the conditional part that will stop a tile moving unless it’s either one above, below to the left or to the right.

fla attached if someone can take a look i’d really appreciate it.!

you’ll need TweenLite for the actual movement i’ve not included this in the zip
