Hello i have a problem with a code in jquery.
I need to make a Animation with a cowboy in canvas ( draw cowboy with curcle and line)
then cowboy shot a bullet and when a bullet hit a wall,turning back and hit the cowboy.
Then cowboy falling down and a message apears "that was a mistake"
I have wright the code but i cant make the cowboy falling down and display the message.
Ps: Attached the code here if anyone can help me. Thx :)