celeritas.js is a JavaScript library designed for easy 2D game development on the HTML5 <canvas>
element. It was inspired by LÖVE,
an *awesome* framework you can use to make 2D games in Lua. It's free, open-source, and works on Windows, Mac OS X and Linux.
Rather than being something like Box2D.js or PhysicsJS, celeritas.js aims to be an easy way to create games in JavaScript and HTML5, especially for beginners.
The library is designed for easy use for any JavaScript level of expertise. As such, objects created by it have intuitive function properties (e.g. Body.prototype.setLinearVelocity(xV, yV)
). As this project gets older, we plan to create more advanced features.
- Objects
- Circles
- Squares
- Rectangles
- Collision
- Gravity
- Velocity
- Body update
- Directional gravity
- Config file?
- Mouse position?
- Suggest some in the Issues!
No documentation yet. It will be put in the wiki or gh-pages when I get around to beginning it.
Code with commented links means that I adapted code from StackOverflow. If you're the original author, feel free to contact me to remove the section of code - I will replace it with something achieving the same purpose but (hopefully) different enough.
Last updated 4/18/2015.