Hello everyone
I have a nice noob question for smart folk like you)
i have this:
[lua]x= -30
local circles = {“coffee1”, “coffee2”, “coffee3”}
function pri()
print(“wow”)
end
for i=1, #circles do
x = x +100
images = display.newImage(circles[i]…".png")
images.x = x
end[/lua]
How to attach different functions to objects(images)? [import]uid: 16142 topic_id: 13854 reply_id: 313854[/import]
[import]uid: 3826 topic_id: 13854 reply_id: 51032[/import]