I have tried all sorts to have an animation play using sprite sheets then when the animation has finished playing remove it from screen.
Currently it plays perfectly but then the last frame is left on screen and I can find no way to remove it.
the code I use to run the anim is this, so how do i get it to disapear when its finished playing.
Thanks
Mike R
[code]local function splotIt()
if gameActive == true then
local splot = sprite.newSprite(spriteSet3)
splot.x = splotX
splot.y = splotY
splot:prepare(“splash”)
splot:play()
localGroup:insert(splot)
end
end[code] [import]uid: 9950 topic_id: 6029 reply_id: 306029[/import]