Рет қаралды 255
#gamedev #phaser
In this video, we continue working on the logic that is tied to our NPCs in our game, and we focus on the collision logic between our player and the npc game objects. To do this, we enhance our existing base character class to allow us to pass in game objects to check for collisions with, and we added in new logic to check for collisions between these game objects.
You can find the code for the project up to this point on GitHub here:
github.com/devshareacademy/mo...
Video Chapters
0:00 - Intro
0:21 - Review plan for collisions
1:00 - Add new properties to character class
5:00 - Add collision logic to character class
8:49 - Testing collisions
9:22 - Thanks and links to other content
The completed code for this part of the project can be found here on GitHub:
github.com/devshareacademy/mo...
You can find a playable version of the game over on Itch.io here:
galemius.itch.io/monster-tamer
Playlist for the series:
• Monster Tamer - Pokemo...
Code for the series can be found on GitHub here:
github.com/devshareacademy/mo...
Interested in more great content?
Check out my videos on Phaser 3 here on KZbin:
• Phaser 3
Check out my free courses here on KZbin:
Introduction To GitHub Actions Course:
• Introduction To GitHub...
JavaScript Course:
• Learn JavaScript Course
Follow Me:
/ scott-westover-77393a97
github.com/scottwestover
Blog:
scottwestover.dev/