@skewedaspect/sage
v0.8.0
Published
A modern JavaScript/TypeScript game engine built on top of BabylonJS that provides simplified abstractions for 3D game development.
Maintainers
Readme
SkewedAspect Game Engine (SAGE)

The SkewedAspect Game Engine (SAGE) is a powerful and flexible game engine designed for creating 2D and 3D games. It leverages BabylonJS for rendering and Havok for physics simulation.
Installation
To install the SAGE library, use npm:
npm install @skewedaspect/sageUsage
Creating a Game Engine Instance
To create an instance of the SkewedAspect Game Engine, you need to provide a game canvas and rendering options.
import { createGameEngine, GameCanvas, RenderEngineOptions } from '@skewedaspect/sage';
const canvas: GameCanvas = document.getElementById('gameCanvas') as HTMLCanvasElement;
const renderOptions: RenderEngineOptions = {
// ...your rendering options...
};
const gameEngine = await createGameEngine(canvas, renderOptions);
// Start the game engine
gameEngine.start();Stopping the Game Engine
To stop the game engine, simply call the stop method on the game engine instance.
gameEngine.stop();Contributing
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
License
This project is licensed under the MIT License.
