Make A Game Like Pokemon in Unity | #25 - Move Priorities & Bug Fixes

Опубликовано: 24 Март 2025
на канале: Game Dev Experiments
8,815
317

This is Part 25 of Make a Game Like Pokemon in Unity Series. In this video, we'll implement priority moves. So a move like Quick Attack should be performed first even if the other pokemon has higher speed. We'll also prevent the pokemon from performing moves that doesn't have any PP remaining.

Join my Patreon and get access to the Complete Project files of this series (contents with copyright are replaced with free ones)
  / complete-project-39632268  

Script files for each part of this series (You can use this to compare with your script and find any mistakes)
  / script-files-for-38708232  

Download the art assets needed to follow along with this series
https://github.com/GameDevExperiments...

0:00 - Intro
0:40 - Move Priorities
5:11 - Fix Max HP calculation
5:31 - Don't allow to use a move with 0 PP
8:15 - Also prevent enemies from using moves with 0 PP

If you like this series, consider subscribing to the channel and leave a like on the video to help this channel grow.