Hi all,
In my game module I have a display group called “arena_group”. When a new level is created it calls arena.new() function in my arena.lua module. What I’m struggling with is how to add the objects created in arena.new to the arena_group. If do the following (as an example)
example=display.newRect(arena\_group, 100,100,20,100)
I get the following error
Bad argument #1 to ‘newRect’ (number expected, got nil)
I know this is basic stuff but for whatever reason I just can’t fathom it.
Thanks in advance