Skip to content

matthewr6/celeritas.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Celeritas.JS

Easy JS physics

What is this?

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.

Features

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.

Current Features

  • Objects
    • Circles
    • Squares
    • Rectangles
  • Collision
  • Gravity
  • Velocity
  • Body update
  • Directional gravity

Planned Features

  • Config file?
  • Mouse position?
  • Suggest some in the Issues!

Documentation

No documentation yet. It will be put in the wiki or gh-pages when I get around to beginning it.

Notes

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.

Releases

No releases published

Packages

No packages published