8000 GitHub - yc2yuy/gamejs: A thin library on top of the HTML canvas element. The API is modeled after PyGame.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ gamejs Public
forked from GameJs/gamejs

A thin library on top of the HTML canvas element. The API is modeled after PyGame.

Notifications You must be signed in to change notification settings

yc2yuy/gamejs

D5D0
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GameJs

GameJs is a JavaScript library for writing 2D games or other interactive graphic applications for the HTML Canvas http://gamejs.org.

Its API is modeled after the successful PyGame library http://pygame.org.

http://gamejs.org -- http://gamejs.org/docs/ -- http://gamejs.org/showcase/

Usage

See examples/skeleton/ directory for a minimal GameJs app.

Note that you need to run the examples via http:// (not file://) unless you use Firefox or Safari.

GameJs Development

One trivial, cross-plattform solution to serve a directory with a web server is this executable: http://code.google.com/p/mongoose/.

Instead of using the gamejs-wrapped.js file you can also put all the GameJs files (everything below ./lib) into the JavaScript directory of your application. Your code should then transparently use those files.

Run GameJs unit tests, require RingoJs:

$ ringo test/all.js

More Help

Check the docs folder of your GameJs installation.

Example application can be found in the examples/ directory.

See the GameJs Website for more help or drop us an email in the Mailing List.

About

A thin library on top of the HTML canvas element. The API is modeled after PyGame.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0