Skip to content

bsorrentino/ga

 
 

Repository files navigation

npm

Goal

Make the amazing tiny, cute and friendly Ga HTML5 game engine compliant with typescript

Getting Started

install package

npm i kka-ga

import types in your typescript source

/// <reference types="kka-ga" />

import ga javascript assets directly in your HTML

<!doctype html> 
<meta charset = "utf-8"> 
<title>MY GAME</title>
<body>

<script src="node_modules/kka-ga/src/ga.js" ></script>
<script src="node_modules/kka-ga/src/plugins.js" ></script>

</body>

Examples

In the Examples folder there are a lot of typescript samples useful to better understand the Ga features. To start them execute the following command in your shell:

npx parcel serve ./examples/index.html --open

Tutorials

In the Tutorials folder there are the original ones translated into typescript To start them execute the following command in your shell:

npx parcel serve ./tutorials/index.html --open

About

The world's tiniest, cutest and funnest game engine

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • TypeScript 52.9%
  • JavaScript 43.7%
  • HTML 2.0%
  • PLSQL 1.3%
  • Shell 0.1%