Gladius

From MozillaWiki
Revision as of 17:30, 18 June 2012 by Mhanson (talk | contribs) (fix link)
Jump to navigation Jump to search


Gladius is a framework for making 3D games in HTML5/JS for the open web. It currently includes an engine with core infrastructure support and a math library. Related standalone libraries and templates will be underway soon.

Current Features

Here's a list of some of the things that Gladius does right now.

  • Scheduler, tasks and timers
    • Tasks can be executed each frame
    • Dependency resolution for correct execution order
    • Multiple phases (input, update, render) each frame for easy scheduling
  • Entity/component framework
  • Message-passing framework
  • Modularity and minification with require.js
  • Robust math library
    • Support for 2D and 3D math
    • Backed by typed arrays for high-performance with WebGL
  • Asynchronous asset loader
    • Support for static and procedural assets with a common API
    • Easy to add new loader functionality
  • Extensible base prototypes
    • Add new services and components to the engine
  • Core/extension architecture
    • Common simulation elements provided by the core
    • Extensions provide application-specific functionality
  • Extensions for some functionality are provided:
    • Keyboard input; Mouse and others coming soon
    • 3D graphics with CubicVR; Mesh and material resources; Model, light and camera components; Prototype collada loader
    • 2D physics with Box2D; Body and frame definition resources; Body component
  • Examples provided
  • Substantial unit test coverage

Roadmap