feat: overhaul cursed apple sprite with custom tile data, vibrant palette, and dynamic pulsing glow

This commit is contained in:
phillip committed 2026-10-03 21:02:59 +02:00
1 parent 60bf111400
commit 08a4b41280
4 files changed
+44 -25

No files matched your search

+7
View File
@@ -7,6 +7,13 @@ const int START_LENGTH_HARD = 2;
const int APPLE_SCORE = 10;
const int CURSE_DURATION_TICKS = 40;
// Cursed apple palette indices in SPRITE_PALETTE_SUB
const uint16_t CURSE_PAL_OUTLINE = 16;
const uint16_t CURSE_PAL_FILL = 17;
const uint16_t CURSE_PAL_GLOW = 18;
const uint16_t CURSE_PAL_CORE = 19;
const uint16_t CURSE_PAL_LEAF = 20;
// Speed scaling configuration (gradual acceleration based on consumed apples)
const int SPEED_BASE_NORMAL_MHZ = 5000; // 5.0 Hz (~200 ms per step)
const int SPEED_BASE_HARD_MHZ = 9000; // 9.0 Hz (~111 ms per step)