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.
- 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
You can view a Demo here.
Best performance with Chromium / Chrome.
- ←,→: Walk, Run, Brake
- ↑: Look Up
- ↓: Roll, Crouch
- SPACE: Jump
- SPACE + ↑: Peel Out (when Standing)
- 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.)