Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révisionLes deux révisions suivantes | ||
agi-game:leisuresuitlarry:reference-timer [2021/05/02 21:32] – frater | agi-game:leisuresuitlarry:reference-timer [2021/05/02 21:34] – [varClearStatusSeconds [v68]] frater | ||
---|---|---|---|
Ligne 44: | Ligne 44: | ||
This timer is used by any room logic to set a timer (example, if larry won't move, after few second the dog came in). | This timer is used by any room logic to set a timer (example, if larry won't move, after few second the dog came in). | ||
- | This timer only raise (Set) the boolTimingScriptDone [f75] when reach 1 second left (not 0, to avoid loop to 255 (-1) value). | + | This timer only raise (Set) the //boolTimingScriptDone// [f75] when reach 1 second left (not 0, to avoid loop to 255 (-1) value). |
- | Any room logic can change the variable to what value they want to wait, and pool the boolTimingScriptDone [f75] flag for raise. | + | Any room logic can change the variable to what value they want to wait, and pool the //boolTimingScriptDone// [f75] flag for raise. |
The timing Handler decrease the value until it's reach 1. | The timing Handler decrease the value until it's reach 1. | ||
Ligne 56: | Ligne 56: | ||
It's used to clear bottom line. | It's used to clear bottom line. | ||
+ | <code c> | ||
+ | if (varClearStatusSeconds == 1) lear lower part of the screen half line (line 24) | ||
+ | { | ||
+ | clear.text.rect(24, | ||
+ | } | ||
+ | </ | ||
==== v72 & v71 ==== | ==== v72 & v71 ==== | ||