diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-03-05 18:53:06 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-03-05 18:53:06 -0500 |
commit | 937875c4e1432b418f0f5051759e02c8d4c9ffa4 (patch) | |
tree | bfb08ae9f8e4619dc213e20739b4fbce682ae0d0 /res | |
parent | cd72ba5481705072b893d728e2f80931b5cca580 (diff) | |
download | tanetane-937875c4e1432b418f0f5051759e02c8d4c9ffa4.tar.gz tanetane-937875c4e1432b418f0f5051759e02c8d4c9ffa4.tar.bz2 tanetane-937875c4e1432b418f0f5051759e02c8d4c9ffa4.zip |
Added the mask sprite layer
This layer is below the normal sprite layer. Sprites on it are only rendered within the area of a zone that is defined per-map.
Diffstat (limited to 'res')
-rw-r--r-- | res/scripts/common.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/res/scripts/common.lua b/res/scripts/common.lua index b0e555b..2a2ce35 100644 --- a/res/scripts/common.lua +++ b/res/scripts/common.lua | |||
@@ -26,8 +26,9 @@ CharacterState = { | |||
26 | } | 26 | } |
27 | 27 | ||
28 | SpriteLayer = { | 28 | SpriteLayer = { |
29 | NORMAL = 0, | 29 | MASK = 0, |
30 | ABOVE = 1 | 30 | NORMAL = 1, |
31 | ABOVE = 2 | ||
31 | } | 32 | } |
32 | 33 | ||
33 | BehaviourType = { | 34 | BehaviourType = { |