Fix depth offsets for sprite with non-zero ZRamp.

Bibs and other effects that should be drawn at ground level
can now simply define ZRamp: 1, Offset: <X>,<Y>,1, avoiding the
need to account for the Y offset or internal sprite offsets.
This commit is contained in:
Paul Chote
2021-07-24 23:39:08 +01:00
committed by reaperrr
parent 27f9f35efb
commit be3412ee74
9 changed files with 73 additions and 99 deletions

View File

@@ -20,12 +20,12 @@ apache:
rotor: harpyrotor
Start: 32
Length: 31
Offset: 0, 0, 16
Offset: 0, 0, 32
ZRamp: 1
Tick: 25
slow-rotor: harpyrotor
Length: 31
Offset: 0, 0, 16
Offset: 0, 0, 32
ZRamp: 1
Tick: 50