This is the third and final demo; publishing is right around the corner!
How’s this feel to play? I hope it feels good and fluid because it was very hard to make the segments move like that and I’d hate to think we did it all for nothing.
Remaining to complete:
- Track the number of movements
- A background image
- Create more levels
Total invested hours are about 15ish.

MUCH improved! I love how it gives you a preview of where the pieces are going to go. I found a small bug with the way the pieces move from row to row though. I’ll try to explain it with the help of some screen shots:
http://dl.dropbox.com/u/2116019/defrag1.JPG
See the green #2 piece? It’s four segments long, and if I click within the third segment and drag straight up into the above row where there is an empty space, I would expect that the piece would snap into position there like this:
http://dl.dropbox.com/u/2116019/defrag2.JPG
but instead, it requires you to move your mouse to the third open space before it will show the preview, like this:
http://dl.dropbox.com/u/2116019/defrag3.JPG
One solution might be to just show the preview but indicate that it is not a valid move, sort of like this:
http://dl.dropbox.com/u/2116019/defrag3.JPG
I don’t have GIMP on this computer so I couldn’t make it look pretty, but you get the idea.
-Joe
PS- it’s not so much a bug as it is just something that might confuse players of the game. I think showing a preview even for invalid moves would help make the game a little bit more playable for casual gamers.
PPS- it looks like I can’t edit my comments. In the original comment, that fourth URL should be:
http://dl.dropbox.com/u/2116019/defrag4.JPG
I fought with the algorithm for a while trying to find a happy medium between snapping into valid positions and allowing the piece to be moved around as freely as required (making it work as you describe in picture 2), but it always jumped weirdly. I like the idea of still giving a preview but indicating that it isn’t valid. Thanks Joe!