Page 1 of 1

Q: Demos or examples of array usage for puzzle games

PostPosted: Fri Jun 16, 2006 12:55 am
by zupernoc
Greetings,

I have searched the forums, and read the relative posts to the subject - however I am still seeking more general clarification.

Apologies in advance for the vague question - but if one were to make a puzzle game in which there is a constant new generation of pieces (tetris, puyo pop, columns, klax, etc).......... is the best practice method to use an array to track the pieces / actors?

I understand 2 actors colliding. However, in order to say "make 3 matching pieces disappear" - would one have to write a function to check all array combinations row by row or column by column to check for matching pieces?

Thank you in advance.

PostPosted: Fri Jun 16, 2006 8:12 am
by Fuzzy
I asked this very question once. Another member was kind enough to provide me with an answer! Let me did the link up for you... here it is.

http://game-editor.com/forum/viewtopic. ... highlight=

PostPosted: Sat Jun 17, 2006 12:30 am
by zupernoc
Thank you. This is exactly what I was seeking.
:D