I have a Sprite, called enemy, which is created by ?Create object? any number of times at the start of a level.
Then there is a sprite, called gun, this gun is created at the same time as the enemy sprite. The enemy sprite has some animations.
While the enemy?s animations are playing, I?m doing calculations on the current frame to set some values on the gun, like visibility, size, etc?
The problem is, the enemy animations updates all the guns on the layout out, and not just the gun ?linked? to it.
How can I solve this?
Thx