Building a game engine in HTML5 Canvas from scratch
These are the basic features I hope to achieve:
- collision detection abiltiy for circle or rectangle bounding boxes
- physics for collisions, gravity, lights
- shaders for 2D world like dynamic shadows, shadows for arbitrary shapes
- texture loading for objects and ability to add animations and sounds
- camera movement
- online multiplayer capability
you can try it out here
code's flow diagram for understanding the code at a glance:
this project started on sept 25, 2021