Skip to content

digitsensitive/phaser3-typescript

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
July 3, 2019 20:30
December 19, 2020 00:19
src
June 9, 2023 14:05
February 5, 2021 22:46
December 15, 2020 22:58
December 15, 2020 22:58
July 30, 2022 22:37
December 15, 2020 22:58
August 28, 2021 22:55
February 13, 2022 20:44

Phaser 3 Game Examples written in TypeScript. Since 2018.

Dependencies GitHub issues GitHub stars Contributions welcome code style: prettier GitHub licence

Examples made with ❤︎ by digitsensitive
Framework created by Photonstorm

Phaser 3 and TypeScript

Phaser is a wonderful, fast and free open source HTML5 game framework. Here you will find everything you need to develop games with Phaser 3 in TypeScript. Have fun discovering, developing and playing! Ideas and corrections are highly desirable to constantly improve this repository!

Getting started

Prerequisites

Download and install Node.js @ https://nodejs.org/en
Download and install yarn @ https://classic.yarnpkg.com/en/docs/install

Installing

Select a folder, navigate to it, and clone this repository with this command-line:

git clone https://github.com/digitsensitive/phaser3-typescript.git

Boilerplates

Check the package.json for the correct scripts to start projects. For example you can start the Webpack Boilerplate project with:

yarn webpack-boilerplate

Examples

Games

Check the package.json for the correct scripts to start projects. For example you can start the Candy Crush project with:

yarn candy-crush

Experimental

Check the package.json for the correct scripts to start projects. For example you can start the Game of Life project with:

yarn game-of-life

Patterns

Check the package.json for the correct scripts to start projects. For example you can start the Factory Method project with:

yarn factory-method

Project Configurations

Prettier

This project uses Prettier, an opinionated code formatter. The selected configuration options can be found in the .prettierrc file in the root project folder. More informations about the format options can be found here.

TypeScript

The selected compiler options for each project are set in the tsconfig.json file. More informations about the available options can be found here.

Tutorials

External Resources and Tools

Changelog

Learn about the latest improvements

Contributing

Want to correct a bug, contribute some code, or improve the codes? Excellent! Let me know! Please read CONTRIBUTING.md for details on our code of conduct.

I would like to thank the following persons for their support and help: @FakeBarenziah @emedws @evanlanglais @iliyaZelenko

License

This project is licensed under the MIT License - see the LICENSE.md file for details.