Similarly to profiles, make level variables which can be used in a variety of ways. They are stored per played level, when the level is either restarted or ended, the data is lost.
Possible uses:
Level stat tracking
Level progress, i.e. counting destroyed spheres, time to survive (to discuss)
Custom meters, for example frenzy meter
These variables should be readable by UI script, however they should not be modifiable.
Possibly make a sort of game triggers, which could be used not only for modifying the level variables, but also, for example, achievements in the future.
Similarly to profiles, make level variables which can be used in a variety of ways. They are stored per played level, when the level is either restarted or ended, the data is lost.
Possible uses:
These variables should be readable by UI script, however they should not be modifiable. Possibly make a sort of game triggers, which could be used not only for modifying the level variables, but also, for example, achievements in the future.