⚡ Performance Overhaul & Caverns Polish
⚡ Performance Overhaul & Caverns Polish
The dungeon just got a whole lot smoother! This update tackles the persistent memory leaks that have been haunting the Caverns, with comprehensive fixes across display objects, AI pathfinding, battle logs, and more. We've also added highly-requested features like shop restock timers and empty equipment slot tooltips, so you'll always know when new gear arrives and what goes where. Plus, Flying Jellies have been brought back down to earth (literally).
"The Caverns remembers everything... except now it actually forgets things properly." - The Dev Team
[h2]⚡ Performance Improvements[/h2]
- Fixed multiple critical memory leaks in Caverns - including display objects, AI pathfinding, unit conditions, battle log entries, and visual objects
- Switched to bitmap fonts for floating text (reduced CPU usage)
- Smoothed out UI transitions when returning to surface from Caverns
- Fixed memory leaks from improper cleanup of visual objects
[h2]✨ New Features[/h2]
- Shop restock timer and animation - now you'll know exactly when new items arrive!
- Button to show/hide battle logs in the Caverns for a cleaner interface
- Equipment slots now display backgrounds and tooltips when empty, indicating what type of gear belongs in each slot
[h2]🎮 Quality of Life[/h2]
- Hero stat bars in Caverns now animate when losing HP or spending AP/MP
- Temple gold sacrifice slider now caps at maximum effective amount (no more overspending!)
- Inn battle logs now indicate whether battles were attacks or defenses
- Active XP potion tooltips now show time remaining instead of total duration
- Improved Caverns battle log by batching "inspired" and heal messages for better readability
- Caverns Battle Log now stops when party is defeated
- Added Russian translations for all devlog entries and announcements
[h2]⚔️ Gameplay & Balance Changes[/h2]
- Nerfed Flying Jellies (they were a bit too spicy)
- Players who maintain maximum tier (10) in Inn Tournaments now receive upgrade rewards
- Caverns rooms now generate with at least 20 additional tiles beyond the number of players' units
- Improved AI decision-making for AoE abilities to avoid harming allies
[h2]🐛 Bug Fixes[/h2]
- Fixed XP potion display showing incorrectly when the potion had expired
- Fixed XP potion tooltip timer display
- Fixed Caverns mob spawning and tile occupation tracking issues
- Fixed Caverns operations that could incorrectly occur during travel or surfacing
- Fixed missing Caverns run data handling to prevent errors
- Fixed Caverns battle events not processing when the game tab was hidden
- Fixed Caverns Battle Log not processing events when browser tab was hidden
- Fixed scrolling issues in Battle Log Modal and Inn Logs Modal
- Fixed several bugs related to tearing down Caverns room views
- Fixed Battle Logs / Inn Logs not updating correctly when claiming items
- Candles now properly expire when logging in or leaving battle screens
- Fixed expired candles being rendered in the Temple
- Fixed several Temple candle/prayer rendering bugs