feat: add handcrafted 8x8 sprite art and VBlank bioluminescent animation for rotten apples

This commit is contained in:
phillip committed 2026-10-03 23:49:24 +02:00
1 parent 8559159fc0
commit 91908d1f15
6 files changed
+322 -260

No files matched your search

+2 -1
View File
@@ -129,9 +129,10 @@ void draw_apples_rotten(const GameState &state, const RenderAssets &assets,
if (oamId >= 128) {
return;
}
const bool hflip = (((apple.x + apple.y) & 1) != 0);
oamSet(&oamSub, oamId, apple.x * 8, apple.y * 8, 0, 0, SpriteSize_8x8,
SpriteColorFormat_256Color, assets.gfx_apple_rotten, -1, false,
false, false, false, false);
false, hflip, false, false);
oamId++;
}
}