Quintus Module
Quintus HTML5 Game Engine
The code in quintus.js
defines the base Quintus()
method
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:
quintus_input.js
-Input
module, which allows for user input via keyboard and touchscreenquintus_sprites.js
-Sprites
module, which defines a basicQ.Sprite
class along with spritesheet support inQ.SpriteSheet
.quintus_scenes.js
-Scenes
module. It defines theQ.Scene
class, which allows creation of reusable scenes, and theQ.Stage
class, which handles managing a number of sprites at once.quintus_anim.js
-Anim
module, which adds in support for animations on sprites along with aviewport
component to follow the player around and aQ.Repeater
class that can create a repeating, scrolling background.
This module provides the following classes: