Updateing Framecount individually?

BlitzMax Forums/BlitzMax Beginners Area/Updateing Framecount individually?

No. The map array is filled with bombs.

if MapArray[x,y].frame = 0 then Draw Bomb but dont animate

if MapArray[x,y].frame = 1 then Draw Bomb and animate.

I want the bombs to animate individually when clicked. Try out the code I posted by downloading the zip.

If i click on a bomb it starts animating. If I click on another bomb it doesn't start animating from the begining. Instead it flicks to the saem frame as the previously clicked bomb.

[edit] I'll try your method Degac. thanks :)