Ok, so I posted a question in “lua programming”, but it has gone a little dead so unsure if its in the wrong department.
Thread here:
http://forums.coronalabs.com/topic/33251-table-within-a-table-is-that-the-correct-way/#entry172369
Basically I trying to create a grid of enemies like space invaders.
I can create and populate the grid ok, however I just dont get how to use the for loop and table to create a different enemy on each row.
I can get them to populate random.
I am really truley stuck on this one, I have tried loads of things but I am missing something, including sleep trying to figure it out.
If anybody would take a look at the code I posted and help me out I will be eternally grateful.
Thank you