Jump to content

Phaser 3 Typescript Starter


geocine
 Share

Recommended Posts

https://github.com/geocine/phaser3-rollup-typescript

This is a Phaser 3 starter with , Rollup for bundling and nollup as development server.

qXntDUS.gif

Hi I am a frontend developer by profession and just thought of digging into HTML5 Game Development amidst this pandemic (Stay at home and take care of your health). This starter is based on the template created by Richard Davey with a number of improvements:

  • Only 1 rollup config for both development and production
  • No JavaScript files are written to disk during development which makes it very fast thanks to nollup
  • Has hot reload feature, code recompiles balzingly fast and browser refreshes as you change your source code.
  • Static files are separated on public folder, sources (TypeScript) on src folder
  • Can easily be deployed to production using a free services like Netlify. With the following configuration
    Build Command: yarn build
    Publish Directory: dist

    This is a sample that is deployed to Netlify, https://phaser3-rollup-typescript.netlify.com/

Edited by geocine
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...