PixelRebirth Ah-oh teach me nao! Jk:)
Actually, I'd really appreciate if you could point me in a right direction:
1)Do you have a single Array? Is it 2d or 3d?
And if it's 3d.. how "deep" is your array? (ouch this might sound wrong:P)
2)Do you use recursion? Functions or just events&loops?
Thanks in advance^^
1) I do have a couple of arrays. One for the playfield which is 3d with a depth of 2. It has an additional layer for marking blocks to be destroyed so to speak.
The second array is 1D and being used dynamically. Sort of a queue or tasklist. Basically the game checks this array for entries, calls that function and removes the entry afterwards. If theres nothing left to do the player may interact again.
2) Functions of course. I would argue they are essential for any serious game made in C2. Without them you will end up getting clunky and overcomplicated events for sure.
There are also loops and recursive functions, so yeah. You'll end up using all of that naturally. <img src="smileys/smiley2.gif" border="0" align="middle" />