Phaser3插件开发简介

Intro to developing Phaser 3 plugins
2023-04-07 19:31:13
Game Development Games phaser hashnode
Phaser3插件开发简介

Phaser 3 is an open source game engine for the web which is fun to use and has a gentle learning curve, making it nice and approachable.

Phaser also has a built-in system for plugins designed to enable devs to extend its base functionality with additional features. Today we will be examining how one can go about developing their own plugins for the Phaser ecosystem.

Create a test Phaser game

I recommend starting by creating a dummy game with which you can use to test your plugin, before implementing it into a full-fledged project.

There are many resources available for setting up a Phaser 3 boilerplate, feel free to follow my tutorial if you like Vite:

© 2022 开源博客 京ICP备20030565号-2 Powered by Quick API team