Nowadays with <canvas>
, it is easy to find all kind of cool stuff around the Internet. Like emulators, demos, games, just visual
stuff, etc.
But it seems that everyone is programming using the basic primitives of canvas.
There exist any framework working over <canvas>
or utility library?
Babylon. js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.
Starting with pure JavaScript is the best way to get a solid knowledge of web game development. After that, you can pick any framework you like and use it for your projects.
js is one of the most popular 3D game engines used by developers. As with any other 3D library, it provides built-in functions to help you implement common 3D functionality more quickly. See the Building up a basic demo with Babylon. js subpage for the basics of using Babylon.
You could look at something like Processing.js:
http://processingjs.org/exhibition
UPDATE:
If you want a game API, I haven't tried it, but the comments are promising, you can look at:
http://ajaxian.com/archives/gamejs-canvas-game-library
In order to keep the javascript small and optimized I tend to just access the elements directly, but, over time people will create libraries of their own, but it may not be libraries that are useful in certain situations.
UPDATE 2:
Looks like you can get a version of gamejs from here:
http://tommysmind.com/gamejs/GameJS-0.1.rar
This also was an interesting article on GameJS by the author: http://tommysmind.com/gamejs/
A couple of sprite based canvas libraries are:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With