KISS approach generic 2D game base on haxe lime with peote-view graphics.
demo - https://jobf.github.io/deepnachtKISS/
haxe https://haxe.org/ lime https://lime.openfl.org/ peote-view https://github.com/maitag/peote-view
With dependencies installed, from the root of the repository:
lime test html5
lime test hl
Simple game base with the bare essentials needed to quickly start prototyping 2D games.
Core movement and collision logic is a lightly extended implementation of "A simple generic 2D engine" as written about here - https://deepnight.net/tutorials/
- Grid based collisions - for level platforms/walls
- Radius based collisions - for entity interactions
- Bresenham line of sight - for casting rays through the level
- Platformer movement - extension of base movement with extra jump logic
- No assets, only colored tiles - concentrate on the game