I’m building a Jenga inspired app in which users can rearrange the stacking order of blocks. The Blocks appear isometric but they’re all on the same plane and I’m simply using the front face of each to perform the hitTests. I’ve run into a few issues:
- Managing depths for blocks at the same _y.
- Dragging blocks along the _x and having the others slide sideways accordingly
- If you drag a block too quickly it passes through the others b/c the mouse refresh is quicker than the onEnterFrame.
I’ve attached the files below.
I’m pretty experienced with AS development but relatively new to game programming. Any help would be greatly appreciated. Thanks.