Skip to content

vicksonzero/tank-beyond-repair

Repository files navigation

tank-beyond-repair

Phaser 3 starter copied from cook-engine, with server side stripped away

How To Play

Play here: https://vicksonzero.github.io/tank-beyond-repair/

Controls

P1: WASD to move, C to do actions

P2: Arrows to move, / to do actions

Getting started

Dev

npm install
npm run dev

It is a share-screen offline multiplayer game. we do all development work onto master, and it will be seen on gh-pages
Entry point is client.ts
Main Phaser scene is MainScene.ts (duh)
All meat starts with the create() and update() calls

Docs

https://photonstorm.github.io/phaser3-docs

Important links

https://globalgamejam.org/2020/games/tank-beyond-repair-5
https://github.com/vicksonzero/tank-beyond-repair
https://globalgamejam.org/2020/jam-sites/hong-kong

Prod

git checkout master
npm install
npm run build
git add .
git commit
git push

Built content will be put in master

How to read logs made with log()

  1. open the game in browser
  2. Open console
  3. input _Debug.enable('tank-beyond-repair:*') and press enter
  4. Replace 'tank-beyond-repair:*' with any filter you want. consult npm package debug for more doc

Tech Stack

  • typescript (For Static type)
  • webpack (For client side dependency management; server side will just use require() after running tsc)
  • phaser 3 (For Graphics and some game rules)
  • box2d.ts (For Stand-alone Physics Engine)
  • debug.js (for logging with tags)

Credits

License

BSD-3-Clause

  • Can
    • Commercial Use
    • Modify
    • Distribute
    • Place Warranty
  • Cannot
    • Use Trademark
    • Hold Liable
  • Must
    • Include Copyright
    • Include License

About

Repair your tanks or scrap them for a better tank, play against your friend to build the best tank!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •