Premium Features

Download Video

Attacks - Tackle

Published 9 months ago

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

Comments

Want to participate?

Create a free Chris Courses account to begin

Login

No comments yet, be the first to add one

Providing the lift to launch your development career

© 2022 Chris Courses. All rights reserved.