Game Development Community

Chuzzle clone

by Andy Hawkins · in Torque Game Builder · 12/08/2007 (7:32 am) · 3 replies

I want to make a chuzzle clone. I was wondering if there was any source around that deals with how to do the slide tiles left, right up and down in rows, detect and fall method it uses?

I guess I could write it, but it must be public domain by now?

I notice Puzzle Poker does the same thing.

The other thing I need to work out is, is the tile placement random or predetermined to make sure it's solvable? How would this be done?

Note this is not a "write my game" post, more of a "help me with integral parts" post.

#1
01/02/2008 (10:52 pm)
There's quite a bit of dynamics to consider with this program. The main thing is to create a script that allows an object to detect objects north, south, east, and west of it. The object will also need to know if it is touching a barrier or not. You'd have to restrict the object from moving in any direction but along it's direct x and y axis in a linear fashion. The object would have to move other objects adjacent to it in the direction it was dragged. Every object should be a template because it should be destroyed if dragged into a barrier but clone on the opposite side of the barrier to create the scrolling effect. The object would also have to have a variable which defines it's color. Then be able to determine the color of al the object connected to it. If the object has 3 or more similar colors it and the connecting objects need to be destroyed on mouse click and replacement objects must spawn and fall into place with a random color. There's a ton more dynamics even before you get close to even considering and the larger chuzzles or the chuzzle locks into the equation. This would be fun to recreate and definetly possible but I don't know torque script well or C# for that matter so all I can offer is Pseudocode. I hope it helps.
#2
01/02/2008 (11:21 pm)
Why to clone Chuzzle? The clones of this game doesn't sells as well as match-3 or time-management games. IMHO, cloning Build-A-Lot is much better and profitable idea :)
#3
01/03/2008 (6:59 am)
@Glenn - yes that does help, thank you. Is there a way to set up the pieces so that it is possible to finish the game, or doesn't it work that way? Do I have to randomly generate the tiles on the fly or does this make it impossible to win?

@Kostya - well I'm just dabbling right now, so Chuzzle is okay. But I will try Build-A-Lot. Diner Dash was pretty cool too.