@msgame/catana
v0.0.2
Published
Catana is a light and basic game framework for web browser. It is written in javascript and supports typescript.
Downloads
14
Maintainers
Readme
Catana
| 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.