I am trying to make a simple game where you are a ball and have to avoid objects.
My code is available here: https://jsfiddle.net/skpvjoxb/
My problem is in line 69: I try to make collission between the player (sprite) and one of the enemies (enemy), but it doesn't work. Anyone can figure out how to make collission between enemy and sprite/player? Thank you so much