0.8.0 • Published 1 month ago

@skewedaspect/sage v0.8.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 month 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

1 month ago

0.7.1

1 month ago

0.7.0

1 month ago

0.6.2

3 months ago

0.6.1

3 months ago

0.6.0

3 months ago

0.5.1

3 months ago

0.5.0

3 months ago

0.4.0

3 months ago

0.3.0

3 months ago