Add locked gore death and enemy health pips

This commit is contained in:
MeatSlicer Developer committed 2026-07-30 22:18:44 +10:00
1 parent 2f1769a528
commit 0eab705ed3
9 files changed
+153 -20

No files matched your search

+1 -2
View File
@@ -411,8 +411,7 @@ function drawPlayer(ctx) {
const kick = p.recoil * 3;
Sprites.shadow(ctx, p.x, p.y + 17, 27 + p.moveBlend * 2, 9, 0.46);
if (p.hp <= 0) {
// Preserve the authored full-body fall while the live character stays layered.
Sprites.actor(ctx, 'player', p.x, p.y, p.bodyFacing, 'death', p.deathT || 0, 96);
Sprites.strip(ctx, 'player_death_sheet', p.x, p.y, p.deathT || 0, 12, 14, 128, 144, true);
} else {
Sprites.legs(ctx, p.x, p.y + 4, p.bodyFacing, p.step, 124);
const torsoOffset = (w.torsoFwd || 18) - kick;