I'm working on a shoot em up game but I have some problems with the animations. In particular with the BULLET and BULLETUP animations. I would like to make sure that when my character shoots you activate these animations that show the recoil of the weapon.I tried to do it but when I press the space to shoot, the animations (BULLET and BULLET UP) stop always at the first frame.I would be grateful if someone could help me, thanks. I attach the capx.
The issue is likely to do with your idle events on line 9, you will need to also add a condition 'space is NOT down' so that it does not keep playing the idle animation instead of the shooting one.
Develop games in your browser. Powerful, performant & highly capable.
it works, thank you very much! :)