Make A Game Like Pokemon in Unity | #26 - Adding NPCs

Опубликовано: 27 Декабрь 2024
на канале: Game Dev Experiments
18,458
465

This is Part 26 of Make a Game Like Pokemon in Unity Series. In this video, we'll add NPCs to the game. We'll create a flexible system for interactables using SOLID principles with the help of interfaces in C# which will allow us to easily add more interactable objects in the future.

Join my Patreon to support this series 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:50 - Create NPC gameobject
1:57 - Sort based on y-axis
3:27 - Add collisions for NPCs
5:57 - Interacting with NPC & Creating a reusable interaction system

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