Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.23 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.23 KB

2D Game Engine

This is a 2D Game Engine written in Javascript. It was written for educational purposes only.

It is not intended for serious projects as there are still a lot of features missing.

Features

  • Animations with Spritesheets
  • Sprite Rotation & Flipping
  • Parallax Scrolling of Backgrounds
  • Camera Interpolation
  • Double Buffering
  • Simple Collision Detection via Rectangular Hitboxes
  • Input Handling (supports Key-Combinations)
  • Maps encoded as JSON-Files
  • Zoom

Demo

You can view a Demo here.
Best performance with Chromium / Chrome.

Controls

  • ←,→: Walk, Run, Brake
  • : Look Up
  • : Roll, Crouch
  • SPACE: Jump
  • SPACE + ↑: Peel Out (when Standing)

Missing Features

  • Sound
  • State Machine for different Scenes
  • Loading Screen with Progress
  • Reloading of Local Cache
  • z-index of Objects (Currently the order in which the objects are created determines their z-index.)