Here we will learn how to create an attack which'll be reusable between our player and our enemy. We'll use event listeners, data objects, and animations to create a tackle attack that is very similar to what you can find in your typical Pokémon games.
0:59 - Add Event Listeners to Attack Buttons
4:19 - Create Attack Method on Player Sprite
12:56 - Opacity animation
16:18 - Animate Health Bar on Hit
19:38 - Add Reusable Enemy Tackle