Hey all,
I’m currently working on a card game with four rows.
Currently I have four groups for each row:
rowOneGroup = display.newGroup()
rowTwoGroup … etc to Four.
Is there a more efficient way to do this? Would rowGroup[1] = display.newGroup() work?
Right now when I clean up I am using:
for i = rowOneGroup.numChilder,1,-1 do
local child = rowOneGroup[i]
child.part:remove(child)
child = nil
end
for each group.
IF using rowGroup[1…4] works, in the above code, would I do:
local child = rowOneGroup[n, i] with n being the row number, and i being the same as code above?
Makes any sense? Thanks 
[import]uid: 26664 topic_id: 6561 reply_id: 306561[/import]