Sly 2:Game state: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
m (Minor text fixes)
m (Fix typos)
Line 15: Line 15:


=== State Forcing ===
=== State Forcing ===
At all times, every ''before'' an Available task must be Complete or Final. Additionally, every task ''after'' an Available task must be unavailable. It is possible to "force" a task to a particular state, which propagates throughout the DAG to ensure those conditions are always met.
At all times, every task ''before'' an Available task must be Complete or Final. Additionally, every task ''after'' an Available task must be unavailable. It is possible to "force" a task to a particular state, which propagates throughout the DAG to ensure those conditions are always met.


== Missions ==
== Missions ==
Line 23: Line 23:


== Checkpoints ==
== Checkpoints ==
A task is considered a ''checkpoint task'' if it has some checkpoint data associated with it, including a particular character a location in the game world. When a checkpoint task becomes Available, that checkpoint is set as the ''latest'' checkpoint.
A task is considered a ''checkpoint task'' if it has some checkpoint data associated with it, including a particular character and location in the game world. When a checkpoint task becomes Available, that checkpoint is set as the ''latest'' checkpoint.


When a rollback occurs, the game uses the latest checkpoint to set the current character and their location.
When a rollback occurs, the game uses the latest checkpoint to set the current character and their location.