Game library for 2d games written in Typescript.
Motto: "Good luck, have fun!"
- assets - Helper to load assets files (JSON, Images).
- bitmask - Bitmask library for fast bitwise operations.
- component - Generic opinionated ECS Components.
- ecs - ECS Library that implements the following classes Entity, Component, System, Query, World
- fsm - Finite State Machine implementation.
- geometry - Geometry related objects (Point, Circle, Rectangle, etc.).
- input - Implementation of inputs like Keyboard, Mouse and Controller.
- matrix - Matrix system for binary grid.
- quadtree - Quadtree implementation.
- renderer - Rendering UI and Canvas utilities.
- tiled - Matrix system for binary grid.
- demo - A demo of a 2d game implementation using glhf.js library
Library is currently under development.
You can see the progress by following me at https://www.youtube.com/@SerbanTV
Catch me on the Discord server to discuss stuff about game dev, ECS, etc.