/next-phaser-typescript-sample

Phaser Game project sample on a web page with Next.js

Primary LanguageTypeScriptMIT LicenseMIT

Next Phaser Typescript Sample

Next.js Phaser License: MIT

Phaser Game project sample on a web page with Next.js.

Next.js Phaser TypeScript

Using

  • node 18.16
  • Typescript 5.2.2
  • Next.js 13.5
  • Phaser 3

Features

  • Composition by next.js AppRouter
  • Loading Progress bar
  • BGM Player (by Howler.js)
  • Shader example
  • WebFont rendering example
  • Simple game UI implementation examples

DEMO

Demo can be seen here

Install

git clone https://github.com/fubira/next-phaser-typescript-sample.git/
npm install

or

git clone https://github.com/fubira/next-phaser-typescript-sample.git/
yarn

Run dev server

npm run dev

or

yarn dev

Access http://localhost:3900/ in your browser.

License

This project is released under the MIT License. See the LICENSE file for more information.