A HTML5 rapid gamedev library
DareJS is the HTML5 game library we developed while creating our puzzle game Together Alone. We are in the process of improving it and will use it for future projects.
Note that this is a rough version and everything is still subject to change. That said, feel free to have a look, play with it and give us feedback. DareJS is available under the terms of the GNU General Public License.
If you want to keep up to date on DareJS progress, you can follow us.
DareJS currently consists of the following modules:
- base – Basic utility functions used throughout DareJS.
- log – Log panel for debug use (F9 activates debug mode)
- canvas – For using the canvas element directly or through a display list interface
- images – Loading images, generating sprite objects
- particles – Particle systems
- audio – Audio support through basic HTML5 audio or the SoundManager 2 library (with Flash fallback)
- key – Keyboard support
- mouse – Mouse support
- touch – Touch support (by default, touch events are translated into mouse events, but you can also capture them directly)
- settings – Saving settings in localStorage
- noise – Seedable Perlin noise functions
- app – Ties all the modules together to rapidly develop applications
base is always required; other than that, you can pretty much mix and match to your heart’s content. You don’t have to use the app module if you don’t want to either; you can just use each module directly.
You can download DareJS here.