It seems that removing image from Image Group does not work. (Removing same image from Display Group works fine)
Checked with daily builds 807, 811, 813.
Here the example:
local atlas = graphics.newImageSheet ("image.png", {
frames =
{
{
x = 0,
y = 0,
width = 1024,
height = 768
},
}
})
local image = display.newImage (atlas, 1)
local group = display.newImageGroup (atlas)
--local group = display.newGroup () -- works with Display Groups
group:insert (image)
timer.performWithDelay (1000, function()
print ("Remove")
image:removeSelf ()
image = nil
end)
Please, confirm is it a bug? Or there is another way to remove object from Image Group?
Thanks [import]uid: 9058 topic_id: 26336 reply_id: 326336[/import]