edrevolution / pywright

Automatically exported from code.google.com/p/pywright
0 stars 0 forks source link

Change from Script being top level scene class to Scene being top level scene class #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A Scene is a logical scene containing everything which the player can see and 
feel during a frame of processing. A Scene can contain multiple Worlds, and 
multiple Scripts. All Worlds are updated in sequence from lowest to highest. 
Scenes are stored on the stack, where only the highest Scene on the stack is 
used at a time. Once that Scene finishes, it pops off the stack (like current 
Script class).

A single Script only controls a single World. A World is set to paused or 
unpaused. Every time that World updates its objects, it sets its state to 
paused or unpaused depending on if any of the objects are blocking. Scripts 
will only process commands if their world is unpaused.

Original issue reported on code.google.com by saluk64007@gmail.com on 24 Mar 2011 at 6:24

GoogleCodeExporter commented 9 years ago

Original comment by saluk64007@gmail.com on 24 Mar 2011 at 6:24

GoogleCodeExporter commented 9 years ago

Original comment by saluk64007@gmail.com on 16 Jan 2014 at 10:57