1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2025-05-13 05:11:10 +00:00

Added "instant" feature to bars

This commit is contained in:
Harley White 2021-06-07 19:25:19 -04:00
parent f67e18b4bf
commit d015d0177c
3 changed files with 8 additions and 0 deletions

View file

@ -35,3 +35,6 @@ Features:
- layer: **assigned automagically**. It's the same value as the name of this layer, so you can do `player[this.layer].points` or similar.
- id: **assigned automagically**. It's the "key" which the bar was stored under, for convenient access. The bar in the example's id is "bigBar".
- instant: **very optional**. If this is true, the bar will instantly snap to the current value instead of animating in between. Good for things involving precise timing.