Documentation
References
- GameJs API Reference (contains lots of examples)
- JavaScript Reference
A short intro to CommonJs modules.
Learn by example
Even reading just one example (mostly the javascript/main.js
files) should give you a strong understanding of how the API works.
- example applications’ source code (examples ship with GameJs)
- Animations and spritesheet example walk through
- Director, scenes, multiple screens tutorial
- showcased games often contain source code, check their page.
Contact
Talk to someone about your problems:
- Mailing list
- #gamejs on FreeNode IRC
General JavaScript Introductions
You will find excellent reference documentation for most JS language features by appending “MDN” to any google query; e.g.: javascript array mdn
Learning JavaScript is easy but you may have some misconceptions. I recommend you at least skim one language overview for proficient programmers:
- MDN JavaScript overview
- Crockford’s “A Survey of the JavaScript Programming Language”