Quintus HTML5 Game Engine
The code in
quintus.js defines the base
which create an instance of the engine. The basic engine doesn't
do a whole lot - it provides an architecture for extension, a
game loop, and a method for creating or binding to an exsiting
canvas context. The engine has dependencies on Underscore.js and jQuery,
although the jQuery dependency will be removed in the future.
Most of the game-specific functionality is in the various other modules:
Inputmodule, which allows for user input via keyboard and touchscreen
Spritesmodule, which defines a basic
Q.Spriteclass along with spritesheet support in
Scenesmodule. It defines the
Q.Sceneclass, which allows creation of reusable scenes, and the
Q.Stageclass, which handles managing a number of sprites at once.
Animmodule, which adds in support for animations on sprites along with a
viewportcomponent to follow the player around and a
Q.Repeaterclass that can create a repeating, scrolling background.