Giter VIP home page Giter VIP logo

gamejs's Introduction

GameJs

GameJs is a JavaScript library for writing 2D games or other interactive graphic applications for the HTML Canvas. Its API is modeled after the successful PyGame http://pygame.org library.

  • Powerful, proven, and thin abstraction for 2D
  • Sane JavaScript! With CommonJs support
  • Runs in modern browsers
  • optional server-side integration with RingoJs http://ringojs.org

The API will change though it will converge to a sensible translation of PyGame concepts to JavaScript.

Install

If you downloaded a release just unzip the files.

Developer Version

You need:

  • Java 1.5+
  • git and ant

Clone the GameJs repository:

git clone git://github.com/oberhamsi/gamejs.git

Get all needed submodules with git:

cd gamejs
git submodule init
git submodule update

Compile RingoJs:

ant -f gamejs/app/ringojs/build.xml jar

You should now be able to start the GameJs server.

Usage

You need Java 1.5+. Start the GameJs web server with gjs-server.sh or gjs-server.cmd (Windows). And view the dashboard in your browser:

http://localhost:8080/

Several links to the example apps should show up. The source to those apps is in the apps/ directory of your GameJs installation.

Retarded Edition

Only recommended for demonstration purposes. More infos in the help file 'docs/retarted-edition' https://github.com/oberhamsi/gamejs/blob/master/docs/retarded-edition.md

More Help

Check the docs folder of your GameJs installation.

A couple of example apps can be found in the apps directory.

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

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.