/base-2d-game-core

simple base classes for 2d game core, this is a work in progress and not a complete representation of this project

Primary LanguageJavaScript

Base 2d Game Core

A set of base classes for 2d game development

Classes

  • Core: handles configuration settings, contexting, and initial generation of instances
  • Controls: adds event listeners for player controls
  • Render: draws unit instances after processing, view cones, and sprites
  • Unit: base class for unit type classes and all unit logic based on configuration of specific classes which extend it
  • [Unit class extensions]: classes which comprise specific unit type configurations, examples provided

Credits

@cgloss