/typescript-canvas

A basic typescript canvas starter project

Primary LanguageTypeScriptMIT LicenseMIT

typescript-canvas

A basic typescript canvas starter project. Uses webpack to process typescript files and minify.

npm install Get all the stuff

npm run build Compile the project

npm run start Compile and start up the dev server at localhost:8080

  • Code typscript in the src folder, watch it appear in the dist folder.
  • Main.ts is the entry point for the game
  • index.html has a basic 1280x720 canvas on it, and links to the packed main.js