0.8.0 • Published 2 months ago

@skewedaspect/sage v0.8.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

SkewedAspect Game Engine (SAGE)

SAGE Logo

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/sage

Usage

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.

0.8.0

2 months ago

0.7.1

2 months ago

0.7.0

2 months ago

0.6.2

4 months ago

0.6.1

4 months ago

0.6.0

4 months ago

0.5.1

4 months ago

0.5.0

4 months ago

0.4.0

4 months ago

0.3.0

4 months ago