Products > Software > Gamvas

Gamvas Web

Gamvas Web is a MIT licensed open source 2D HTML5 canvas game engine in JavaScript, which allows you to use it even for commercial projects.

The following are only a few highlights of Gamvas Web:

Sprites with states and animations

So called actors can have different states, animation and JavaScript based logic. States are logic groups that allow you to have clean code and easy the task of developing artificial intelligence. For example, a actor can have a 'patrole' state, where he walks along a given path, as soon as he detects the player, he will switch to a 'follow' state where he follows the player. As he reaches the player, he switches to a 'fight' state and so on.

A actor can have unlimited number of animations that can either be synchronized with the states or can be handled completely independent.

Box2D based physics

Actors can have physical properties like mass, friction or elasticity to calculate movement in a physics simulation. The physics simulation uses a JavaScript port of the industry proven Box2D engine.

Example video

State system for the application

The same state system as for actors, does exist on a application wide level, which allows you to split your game into states like intro, menu, game or high score table.

Camera system

You can have cameras that you can move, rotate or zoom independent from each other.

Resource management

A resource manager can give you information about how much resources are already loaded and you can draw a loading screen with progress bar until everything is loaded.

Particle System

A fast and easy general purpose particle engine which allows you to create many effects from rain, smoke, fire to sparkles.

Example video