Joseph-Ladino / 2d-template

starter template for 2d projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Short summary

Boiler plate code to get you (more so future me) up and running with a 2d project.

Current features

  • ES6 Modules (less things clogging up global scope and only one script to include in your html)
  • Fixed timestep gameloop with interpolation support
  • Resizable buffer to draw on for consistency across devices
  • Scaling with constant aspect ratio
  • Built in vector library
  • Global mouse and keyboard objects with updated states
  • Extendable classes for rectangles, circles, and more to come
  • misc. tools (such as linear interpolation and rotation)

About

starter template for 2d projects


Languages

Language:TypeScript 49.9%Language:JavaScript 49.0%Language:HTML 1.1%