- Gaia Project
- Take 6: Viewer - Engine
The site is open source and a mono repo.
You can see the architecture diagram to understand how everything works together.
The site is able to load games in a completely modular fashion.
You need to have two entry points, in one or two separate modules.
The entry point of the game engine needs to be in
Check out the docs!
The entry point needs to be in
launch function, which takes in parameter a css selector and return an
EventEmitter. The viewer will place itself inside the element indicated by the css selector (or replace it altogether), and the
EventEmitter will be used to communicate.
There can be multiple
css dependencies which will be loaded through
For more details, check out the docs!