Skip to content

Level Life ​

Level Life block contains configuration for life system.

Identifier ​

ts
const LevelLifeId = 2005

Values ​

IndexInitial ValueDescription
00Consecutive Perfect life increment
10Consecutive Perfect life step
20Consecutive Great life increment
30Consecutive Great life step
40Consecutive Good life increment
50Consecutive Good life step
61000Initial life
71000Max life

Access ​

CallbackReadWrite
preprocess✔✔
spawnTime✔❌
despawnTime✔❌
initialize✔❌
updateSequential✔❌
updateParallel✔❌
terminate✔❌
updateSpawn✔❌

Remarks ​

Player starts every level with 1,000 life. Upon reaching 0, the level is considered failed (player can still continue playing).

Consecutive life increment applies for every step reached, as long as the level is not failed. For example using consecutive Perfect life, an increment of 10 and a step of 50, will result in increasing life by 10 for every 50 consecutive Perfects reached.