Quintus.Scenes Class
Quintus Scenes Module Class
Methods
Q.overlap
(
Boolean
-
o1
-
o2
Check for the overlap of the boudning boxes of two Sprites
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
- scene function:
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.