Skip to content

FrederikP/tanky-mc-tankface

Repository files navigation

Tanky McTankface

Tanky McTankface is a js13k game for the 2019 edition of the contest. The zipped game including all dependencies must at most 13kb in size. The deadline is 13:00 CEST, 13th September 2019.

You take control of the tank and try to go as far as you can while fighting enemy turrets. You gather items along the way, but they are no applied instantly. Only when you are destroyed and start back at the beginning, the items will be applied and you will become more powerful. Compare Highscores to see how well you did.

Latest version

Play

Download ZIP

Notes

  • mostly tested with 1080p monitor. Some scaling will be performed, but experience will be best on 1080p
  • enemies will sometimes not be very smart, but it was a design decision. some will shoot upper curve, some directly
  • enemy inaccuracy is random and will overall decrease with progress

Setup for development

First clone the repository and change directory to the project root. Then:

npm install

Compile for development

npm run build-dev

Compile and zip for 13K contest

npm run build
zip -r -j tanky.zip dist/*
advzip -z -4 tanky.zip

Starting dev server

npm run start

Game will be accessible running at http://localhost:9000/

ToDo

  • Shooting will blacken the terrain
  • Introduce first enemy
  • Add enemy health bar
  • Add charge shooting mechanic
  • Add health bar
  • Autoload highscore from local storage
  • Introduce first item to be dropped by enemy
  • Autoload loot from local storage
  • Add background with paralax effect
  • Add intro/tutorial text
  • Add scaling to window size
  • Fix uphill speed vs accel
  • Add muzzle and explosion effects
  • Add sounds
  • Add simple start screen
  • Mirror repo to github and include link to repo in game menu
  • Optimize performance
  • Add enemy tanks to give more enemy variance
  • Fix health very low number formatting bug
  • Add more items if size allows, repeat
  • Final balance

Libraries and Tools

This project benefits from these great open source projects:

And more...