Рет қаралды 304
#gamedev #phaser
In this quick tutorial, we take a look at how we can split the configuration needed for loading in all of the assets used in our game, from our game code and how we can load this configuration via an external JSON file. By using the built in Phaser 3 Plugin Loader, we can use the pack method to have Phaser 3 dynamically load all of the various assets we need like: spritesheets, images, audio, json, and more!
Video Chapters
0:00 - Intro
1:24 - Phaser loader plugin
2:36 - Start of code
7:14 - Test changes
7:36 - Wrap up
8:38 - Thanks and links to other content
The completed code for this project can be found here on GitHub:
github.com/devshareacademy/ph...
Credit for the assets used in the example:
/ xdeviruchi
axulart.itch.io/small-8-direc...
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:
Monster Tamer - Pokemon like RPG Tutorial with Phaser 3:
• Monster Tamer - Pokemo...
Introduction To GitHub Actions Course:
• Introduction To GitHub...
JavaScript Course:
• Learn JavaScript Course
Follow Me:
/ scott-westover-77393a97
github.com/scottwestover
Blog:
scottwestover.dev/