Hello,
I’m learning LUA and trying to make a game.
My first difficult was to replicate the images, in different positions.
Since they’re many repetitions, anybody has any advice about how to proceed in this case?
My ideia (it’s not working):
leaf = {}
for p = 60,650 do
index=index+index
local leaf [index] = display.newImage (“leaf.png”, p, 220)
leaf[index]:scale (0.9,0.9);
end
Thank you in advance!