Gladius is a 3D game engine, written entirely in JavaScript, and designed to run in the browser. We leverage existing web technologies whenever possible and where gaps exist in support for games, we develop new solutions.
The engine consists of a core set of functionality that is common to all games and simulations like the game loop, messaging, tasks and timers. Common components like the spatial transform are also provided by the core. More specialized funcionality, like graphics or physics, is encapsulated into engine extensions that are designed to run on top of the core. A common set of extensions is maintained as part of this project, and support for third-party extensions is a strong design objective.
An engine instance is comprised of the engine core plus a set of extensions.
We are also building a set of tools and libraries for building games. They are designed to be generally useful and reusable in other projects as well.
Check out our roadmap for more details.
After cloning, be sure to execute make setup
in the project directory to
ensure that all the submodules are checked out, and the pre-commit hook is
installed.
No building is needed for development workflows.
To build the engine for distribution, run make in the top-level project directory. The build process produces a javascript file containing the entire engine and its dependencies and also a minified version of that file.
Run unit tests by opening test/ directory in a web browser. Tests run automatically and failures are marked in red.
A short tutorial is provided here. Examples are available from the top-level project directory.
See LICENSE for more information.
All our logos are handmade by Sean Martell.