Skip to content

thlorenz/pixi-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pixi-typescript

Project setup to hack on pixijs apps in typescript.

Installation

Clone this repo + run npm install.

Usage

Run npm start to start watching and serving your game page.

Run npm run build to create a distributable version of your game inside ./dist.

Setup

parceljs is used to bundle and serve JavaScript.

Settings inside tsconfig.json and the below inside package.json keeps transpilation/compilation to a mimimum during development.

"browserslist": {
  "development": [
    "last 1 chrome version"
  ]
}

hot module replacement is also enabled (see ./main.js).

Basically the game is recreated with a new Canvas after the old Canvas was removed from the page. This means that when serving your game via npm start you can simply make edits and save and see the browser page update itself.

License

MIT

About

Project setup to hack on [pixijs](www.pixijs.com) apps in typescript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published