Alan
I have watched the video till before the shooting sprite.
The problem I am facing with the trap is this:
If I walk onto the tile, it pushes the actor back and health bar goes low and finally, he dies.
But if it jumps on the trap it pushes back, but sometimes it pushes just a little bit back near the trap, now when I press jump on the trap, it makes it stand on the trap isntead of pushing back, even when the health goes 0. It never dies unless it starts running again and touches the trap. I think it is happening because jump handler is not checking whether the health is zero or not and updating to idle on landing. I have removed the collison box from all of the trap sprites.
What can be done about it?