tsge

0.0.2 • Public • Published

TSGE (TypeScript Game Engine) [WIP]

Установка и настройка

npm i --save tsge

Создайте HTML элемент <canvas />

<html>
    <head></head>
    <body>
        <!-- ... -->
        <canvas id="canvas"></canvas>
        <!-- ... -->
    </body>
</html>

Внутри вашего проекта передайте его в конструктор класса Engine

const canvasElement = <HTMLCanvasElement>document.getElementById("canvas");
const engine = new Engine(canvasElement);

Readme

Keywords

none

Package Sidebar

Install

npm i tsge

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

475 kB

Total Files

46

Last publish

Collaborators

  • behindloader