Gamvas
Gamvas is a 2D HTML5 game engine for the canvas element. Gamvas tries to reduce low level tasks for the developer by providing a general game programming framework with game states, actors, actor states, cameras and Box2D physics integration. It is developed by the author of the MIT licensed C/C++ game engine Sge2d and shares many ideas with it.
Developer(s) | Heiko Irrgang |
---|---|
Initial release | 2012 |
Final release | 0.8.6
/ March 10, 2013 |
Repository | http://www.moddb.com/engines/gamvas-web |
Written in | JavaScript |
Platform | HTML5 |
Type | Game engine |
Licensing
As of June 7, 2012 Gamvas is available under open source MIT license without feature limitation. Before this it was available in a lite version free for non commercial use and a pro version with enhanced features and the right to use it in commercial projects.
Example
The following example is a very basic hello world running with a constant frame rate:
myState = gamvas.State.extend({
draw: function(t) {
this.c.fillStyle = "#fff";
this.c.fillText("Hello World!", 0, 0);
}
});
gamvas.event.addOnLoad(function() {
gamvas.state.addState(new myState('hello'));
gamvas.start('canvasid');
});
gollark: I didn't know APL allowed you to throw fireballs, but I only ever read something like two sentences of documentation for it so who knows.
gollark: Traditional ones use fairly fixed-in-structure trees, which are uncool.
gollark: My language will... um... work by constructing and reducing arbitrary directed graphs.
gollark: Time to annoy everyone and make a new one!
gollark: They have context and in-world things to refer to.
See also
External links
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.