Smooth out weapon usage and movement, add health bar.

This commit is contained in:
Anna Rose Wiggins 2023-09-30 01:25:07 -04:00
parent e045eec163
commit a5bb3744b5
3 changed files with 23 additions and 16 deletions

View file

@ -24,9 +24,7 @@ function Meter:setValue(value)
x = 0
w = self.width
y = self.height - playdate.math.lerp(0, self.height, value / 100)
print(y)
h = self.height - y
print(h)
else
y = 0
h = self.height