Well I guess I jumped the gun as far as being done with this particular post. I don't want to leave you hanging and confused.
your right about the z variables
but my point of the A* search was to get you thinking in terms of doing EVERYTHING in side an array. To the point you could destroy all the sprites,and re-create them, and the game would still be running fine.
falling, stacking,checking, filling, flipping ext.
It would be a process more akin to how they actually programmed those games, however its a little more abstract, and requires you to think like a computer.
I've been working so much with arrays,functions, and loops, I forget how confusing they can be to work with.
R0J0hound's method is object oriented, and takes advantage of the features of construct. Its probably alot easier to rap your head around whats going on. even if its not working the "same way" .The ideas the same, and people wouldn't be able to tell the differences.
so ether ways fine, but since your new, I'd go with R0J0hound's.
He's been around the block. and has a lot more experience helping people than me.
----------------------------------------------------------------------
It's pretty rough when one of the key creators of the project says he plans on letting the CC forum die.
I think its a good reason to be mournful.
But whatever, for me personally, its kinda a good thing.
--------------------------------------------------------------
"Unfortunately I usually only reply after implementing a solution that works."
I don't know if that was a jab at me personally, but
If not:
-----> I think the best method to help teach people is one of cooperation and joint trial and error. Teach a man to fish and all that.
if so:
----->go &*@# yourself.
-------------------
NOW I'm done.