Skip to content

Game library for 2d games written in Typescript.

License

Notifications You must be signed in to change notification settings

serbanghita/glhf

Repository files navigation

@serbanghita/gamedev

Game library for 2d games written in Typescript.
Motto: "Good luck, have fun!"

Packages

  • 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

  • demo - A demo of a 2d game implementation using glhf.js library

Development

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.

About

Game library for 2d games written in Typescript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages