Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Games Monorepo Snapshot

A monorepo collection of a sample game and libraries for HTML5 game development.

This is just a snapshot of my working monorepo, where I develop games and maintain these libraries.

Further development of these libraries will be done by me on a different repository. Although I'm not against turning these libraries into npm packages that can be shared and further developed by the community, this is not in my immediate plan.

At this point, the libraries aren't totally battle tested, and have many opportunities for improvements in terms of features and code/architecture quality.

You'll probably find commented code and abandoned features (e.g.: tooltip) for things I thought I was going to need but stopped working on for the time.

Games

A Very Tiny Game

You can play this game here: https://andre-lima.itch.io/a-very-tiny-game

A simple game developed as a way to guide the development of the libraries below. It was intended to be a vertical slice of most features required for the development of a full RPG game.

Although, Inventory and Battle systems (2 important features for these types of games) were not included in the list of libraries I developed in the end.

Libraries

Here's a list of libraries and components I created to support the development of the games. They're all singletons that can be imported and used on all games and libraries.

Audio Manager

Manages playing SFX and music.

Events Manager

Emits and listens to events passing through all of the games and libraries.

Helpers and Excalibur Components

Components, math helpers, config helpers, GUI helpers, etc.

Game Menu Creator

Creates game menus with React/JSX.

Geecss

CSS helpers and variables

Global Game Store

Keeps state for games.

GUI Overlay

Creates HTML overlays on the games. Useful for custom menus and UI heavy games.

Inputs Mediator

Handles input events and states for keyboard and gamepads.

Models

Some useful types common to all projects.

Quick Game Dialog

Creates game dialogs for use in game. Dialogs are created in the Ink language.

License

You can reuse any of the code in this repository for personal or commercial projects.

The art and sound assets can't be used for commercial projects or resold, as they were purchased for this project and have their own closed license attached to them.

About

A snapshot of my monorepo of games and libraries

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages