Hi everybody. I am a starter with GDevelop and I am finding a problem I did not have previously.
WHAT AM I TRYING TO DO:
I am trying to do this in the game: when a shot-sprite (“disparo”) hits the enemy (“enemigo”) all these things should happen:
1.- Shot-sprite (“disparo”) must change from animation 0 to animation 1 (explosion)
2.- Enemy´s life (“vida enemigo”) must be reduced by 1. Enemy life is fixed at the beggining of the game with a “Life Counter” equal to 10.
3.- If enemy life is equat to zero, then enemy sprite must vanish.
4.- If shot-sprite (“disparo”) hits a colission box that covers enemy’s head (“PC_Enemigo01”) enemy’s life reduces
WHAT’S THE ISSUE:
Nothing happens when enemy or enemy’s hitbox collide with shot sprite.
Could please anyone tell me what I am doing wrong?
Thanks in advance!!
SCREENSHOT