Skip to content

Simple game we made for computer graphics class with TypeScript, WebGl2, Cannon.js

Notifications You must be signed in to change notification settings

leonleon123/tallboi

Repository files navigation

tallboi

init

  • to init run npm install (or npm i for short) to install dependencies (works on Node v14.15.1, we don't guarantee that for higher versions)

compile

  • to compile once run npm run build
  • to build and watch the project (so it recompiles on save) run npm start. this also starts a simple http server and auto reloads the browser window
  • typescript will compile and bundle into javascript in dist/main.js and this is then referenced in index.html

lint

  • for linting i recommend ms-vscode.vscode-typescript-tslint-plugin vscode extension and then setting the following in settings.json (F1 -> search for settings -> Preferences: Open settings (JSON))
"editor.codeActionsOnSave": {
    "source.fixAll.tslint": true,
    "source.organizeImports": true
}

About

Simple game we made for computer graphics class with TypeScript, WebGl2, Cannon.js

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •