Рет қаралды 381
#gamedev #phaser
In this video, we continue working on our base world scene by adding in the game logic for checking for collisions between our player game object and the other tiles in our world scene. We go over how to create a tilemap and tile layer in Phaser 3 by using the JSON export from Tiled.
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:18 - Review plan for collision layer
1:17 - Load new assets
3:27 - Add foreground
4:44 - Create tilemap
6:15 - Create tile layer
9:10 - Add collision tileset
12:19 - Add collision layer to character class
13:48 - Add collision logic
19:29 - 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...
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/