Updateing Framecount individually?

BlitzMax Forums/BlitzMax Beginners Area/Updateing Framecount individually?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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 :)