PixiJS
For a webgl rendering framework and for loading assets, we use PixiJS v8. We also use PixiJS' AssetPack to create a manifest.json.
Our own rendering & Canvas framework?
An eventual goal with the engine is to keep the rendering to Canvas/WebGL, asset loading, and actual functionality of the game more separate, as a very long-term goal would be switching off of PixiJS in favor of our own rendering and/or asset loading libraries.
This would mean all the calls to PixiJS (or other framework) would be in index.ts, components/Displayable.ts, modules/core/ui.ts, and modules/core/loading.ts.
Beyond Application and Renderer, the following would need to be recreated in the new library for it to be minimally functional.
import {
BitmapText,
Text,
Container,
Sprite,
Texture,
Ticker,
Assets,
} from "pixi.js";
Adding masking and simple graphics support (ie rectangles) would also be helpful.
Our WIP package yttt.js can be downloaded through NPM.
npm i yttt.js
The only reason this is feasible is how little we actually need. Transitioning off PixiJS onto yttt.js is a major long-term goal! A more short-term stretch goal would be transferrirng asset/resource loading onto yttt.js.