Home - Juriy/gameai GitHub Wiki

What is gameai

gameai is a game engine for a fast yet flexible prototyping of web games based on Canvas. Right now only 2D Context is supported, the WebGL support in coming in the nearest future.

Features:

  • Cross-Platform: compatible with major modern browsers and mobile devices
  • TileMaps support: layers, collision detection, mouse/touch picking
  • Advanced optimizations: render endless virtual worlds on low-end PCs and smartphones
  • zero-setup. Start fiddling with your game in no time

gameai was originally a project to illustrate the basics of Artificial Intelligence in a book Pro Android Web Game Apps. Step by step it has grown into something much bigger: a full blown engine capable of handling massive amounts of graphics.

Building library

git clone https://github.com/Juriy/gameai cd gameai npm install grunt

This will create a local build of the library. You can also fiddle with library core, rebuild it and see what happens.

Hello World

Working with input