Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Library for 2D games/drawing applications using HTML 5 canvas.
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
dist
vendor
.gitignore
Makefile
README.md
backingCanvas.js
blit.js
console.js
demo.css
demo.html
demo.js
fullCanvas.js
gamescreen.js
gl.js
scrollingCanvas.js
style.css
transform.js
util.js
webgl-utils.js

README.md

Gamescreen

Go to http://inmytree.co.za/gamescreen/demo.html to see the demo app.

http://inmytree.co.za/gapaint-vis is another demonstration.

Library for use in 2D drawing/game application.

Features:

- can have multiple screens on screen at the same time
- drawing functions are detached from screens, ie. drawing
- is not tied to a specific screen. See demo for example.
- scrolling
- zooming
- diagnostic console per screen (for eg. FPS info)
- resizable during application runtime

Using

Have a look at the included demo application.

To run the demo app, just do (depending on your python version)

python -m http.server

(if you're on python 3)

or

python -m SimpleHTTPServer

(if you're on python < 3)

Then go to http://localhost:8000/demo.html

Something went wrong with that request. Please try again.