0.0.2 • Published 4 years ago

@msgame/catana v0.0.2

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
4 years ago

Catana

catane-logo



version0.0.2

Infos

This framework has been created for educational purposes and personal projects. You can have fun with it, but for real projects, it is better to look at more complete and proven frameworks.


Description

Catana is a light and basic game framework for web browser.

It is written in javascript and supports typescript.


Install

CDN
<script
  type="text/javascript"
  src="https://unpkg.com/@msgame/catana@latest"></script>
NPM
npm i -S @msgame/catana

Basic Usage

This code will create and run an instance of the game engine.

If everything works, it should display an example scene.

import { CatGameEngine } from '@msgame/catana';

window.addEventListener('load', () => {
  const gameEngine = new CatGameEngine();
  gameEngine.run();
});

Manual

You can see the get-started here.

You can see the documentation here.

Or you can see some examples here.

Have fun.

0.0.2

4 years ago

0.0.1

4 years ago