API Docs for: 0.2.0
Show:

Quintus.Scenes Class

Quintus Scenes Module Class

Item Index

Methods

Properties

Methods

Q.overlap

(
  • o1
  • o2
)
Boolean

Check for the overlap of the boudning boxes of two Sprites

Parameters:

Returns:

Boolean:

Q.scene

(
  • name
  • [sceneFunc]
)

Set up a new scene or return an existing scene. If you don't pass in sceneFunc, it'll return a scene otherwise it'll create a new one.

Parameters:

  • name String
    • name of scene to create or return
  • [sceneFunc] Function optional
    • scene function: function(stage) { .. } that sets up the stage

Properties

Q.collision

Unknown

SAT collision detection between two objects Thanks to doc's at: http://www.sevenson.com.au/actionscript/sat/

This is sort of a black box - use the methods on stage like search and collide to run the collision system.