Code Monkey home page Code Monkey logo

gamejs's Introduction

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.

gamejs's People

Contributors

oberhamsi avatar jlfwong avatar danielgtaylor avatar robi42 avatar

Stargazers

YuYang avatar

Watchers

YuYang avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.