Game Development Community

Next Project Underway

by Doug Linley · 07/08/2006 (8:08 am) · 1 comments

My latest project is a match-three game. It's pretty much just like bejeweled. I'm not developing it as a commercial product obviously. Just another platform for learning. I have learned an enourmous amount thus far by starting from scratch. I was originally doing everything with canvas placement. Torqued and Kyhwanna over in the IRC channel talked me into giving tile layers a try. I'm glad I listened. This has made my life immeasurably easier.

One problem I had is that I can't really move tiles. When tiles are collapsing or swapping, I need them to actually move to the new locations. The decision was to do the following:

1. Clear moving tile.
2. Spawn t2dStaticSprite's in the locations of the moving tiles.
3. move the sprites to their new positions
4. set the new tile position with the propper gem frame
5. remove the static sprite.

This worked out very well. I've posted a movie to show how this looks.

There is still a lot of work to do, but the first two project milestones are complete, and two days early at that. I'll be starting work on the next milestone this evening. The goal right now is to have the product finished and released on 8/15. I will probably release the source as a learning resource for the TGB community. I haven't decided yet. It depends on how ugly the code gets before the end of the project. ;)

#1
07/09/2006 (2:04 am)
Thats looking really great Doug, cant wait to play your final. I'm really glad the tiles worked out for you, looks like they are working really well.