You forgot to add your pictures to the localGroup.
Here is what you should do:
--Prepare Pollys
local preparePollys = function (event)
p1 = display.newImage('Julia.png', 200, 105)
p2 = display.newImage('abbott.png', 360, 167)
p3 = display.newImage('Julia.png', 360, 40)
p4 = display.newImage('abbott.png', 50, 167)
p5 = display.newImage('Julia.png', 200, 105)
localGroup:insert(p1)
localGroup:insert(p2)
localGroup:insert(p3)
localGroup:insert(p4)
localGroup:insert(p5)
for i = 1, pollys.numChildren do
pollys[i]:addEventListener('tap', pollyHit)
pollys[i].isVisible = false
end
startTimer()
end
Try that and tell me how it goes!
-Landon [import]uid: 111492 topic_id: 31124 reply_id: 124859[/import]