@msgame/catana
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Catana

catane-logo



version 0.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.

Package Sidebar

Install

npm i @msgame/catana

Weekly Downloads

0

Version

0.0.2

License

ISC

Unpacked Size

59.9 kB

Total Files

20

Last publish

Collaborators

  • sbibou-jr