Improved the performance of the game. The game window now keeps responding when the graphics card stalls in the Windows build. Improved the look of the Gaol encounter. Added a Level Up sign and a button that opens the Trek route, and swapped the old ante icons in the results screen for new badges that show how well you did. You can now play the web demo on lucremachine.com. Added a Framerate cap setting to the Windows build. Encounters now offer 5 stars for free when you cannot afford any of their offers. The next Trek stop now waits until a Frenzy ends. Rewrote card descriptions in all 27 languages. Fixed 9 bugs: 4 with crashes and freezes, 4 in encounters and 1 in the interface. Proofread all 27 languages again.
Scope: 54 changes: 13 performance (24%), 11 interface (20%), 9 bug fixes (17%), 6 visuals (11%), 5 new features (9%), 3 languages (5%), 2 content (4%), 2 sound (4%), 1 icons (2%), 1 saves (2%), 1 balance (2%).
Files: 597 added, 36 deleted, 907 changed, 6 renamed
Churn: +14467 / -4515 (total 18982, net +9952)
Lines of code: 1495636 (+7975)
Performance
- Improved the performance of the game by no longer sending unchanged data to the graphics card every frame
- The game now keeps decoded audio in memory only for the latest music tracks, instead of for every track played in a session
- Added a size limit to the text layouts, descriptions and decoded sounds the game keeps in memory
- The Windows build now skips frames when the graphics card falls behind, so the window keeps responding during a stall
- The Windows build now waits at most 100 ms for a swapchain image, instead of 1 second
- The Windows build now waits up to 10 minutes for shaders to compile on boot behind a progress bar, instead of at most 8 seconds
- The game now compiles more shaders on boot, instead of the first time they are used
- The Windows build now tries D3D12 first on AMD graphics cards, instead of Vulkan
- Moved Steam callbacks and rich presence updates off the main game thread in the Windows build
- Moved log writes off the main game thread in the Windows build
- Optimized graphics memory allocation and texture uploads in the Windows build
- The Windows build now frees each frame's texture and views as soon as the frame is presented, instead of at garbage collection
- The 3D background of the Gaol encounter now builds off the main game thread
Website and Steam
- Added the itch.io web demo to the home page of lucremachine.com
- Added a Windows demo download to the home page of lucremachine.com, with its version and size
- Added itch.io links across the website
- Added 4 questions about the demo to the top of the FAQ on the home page of lucremachine.com
- The community cards on the home page of lucremachine.com are now arranged in one row, with the press section under them
- Link previews of lucremachine.com now use the Steam main capsule
- Posted the demo announcement on Steam
Gaol
- Replaced the baked lighting of the Gaol encounter with real-time lighting: PBR materials on its stone and iron, moon shadows and reflection probes on the iron
- Added a point light to the sparks thrown when a chain tears off the coffin in the Gaol encounter
- Reduced the board and camera shake from hits in the Gaol encounter
- Fixed a bug where the game crashed after a long idle stretch in the Gaol encounter, due to its 6 physics walls being rebuilt every frame in a physics world that never stepped
- Fixed a bug where loading a run saved at the Gaol encounter kept the torn chains of the run you had open, due to the encounter resetting only when it first came up
Level up
- Replaced the level-up lines under the XP level icon with a Level Up sign that shows the level's income and coin health multipliers. It comes with confetti, its own sounds and a green tint over the app background and the UI
Trek
- Added a button beside the Codex button that opens the Trek route
- The subtitles before the Trek opens are now 1 line that waits for your click, instead of 2 lines that advanced after 5 seconds
- The next Trek stop now waits until a Frenzy ends, plus 3 seconds
Results screen
- Added ante grades, set by when you reached the ante's threshold: brilliant before 30% of the time to midnight, great before 50%, best before 70%, then book, inaccuracy in the last 30 seconds, mistake in the last 5 seconds and blunder in the last 1.5 seconds
- Replaced the old icons of the ante track in the results screen with chess badges that show each ante's grade, a skull badge for the ante that ended the run and a faded question mark for each ante you did not reach
- The Codex progress bar in the results screen is now the Codex glass tube, turned horizontal
- The Stats and Vault columns in the results screen now use the sidebar's frosted glass and tab headers. The run stats in the Stats column now use the sidebar card look
- The buttons in the results screen are now arranged in one centered row
- The Start Run button in the results screen now reads Start new run
- The column headers and the run stats in the results screen now appear and disappear with the same voronoi wipe as the rest of the screen
Encounters
- If you cannot afford any offer in an encounter, one of its offers is now 5 stars for free
- Fixed a bug where the front of the Trader's cart cut off offer titles and prices in the bottom row, due to the whole cart front drawing over offer text
- Fixed a bug where an offer leaving the Trader or Stitcher encounter left a stray rope behind, due to an offer resting just below its raised position not counting as raised
Crashes and freezes
- Fixed a bug where a stalled audio device could freeze the game, due to the game thread waiting on a full audio message queue with no timeout
- Fixed a bug where the storage and audio decode workers of the Windows build could restart in an endless loop when they failed to load, due to each one restarting itself at once
- Fixed a bug where memory growth could crash the web build during Frend clicks, saw blade cuts and epic zaps, due to their event readers holding memory views that growth detaches
- Fixed a bug where a failed assert in the Jolt physics library could crash the game, due to release builds keeping its debug asserts
Tutorial
- In the tutorial, Gregory's line that tells you to earn your first skill now waits for your click
- Gregory's first line about the clock in the tutorial now cannot be clicked past for 1.5 seconds, instead of 0.2
- The Click anywhere to continue hint now also hides when the mouse cursor is near the wishlist button
Interface and board
- Added the Framerate cap setting to Tweaks in the Windows build: Off, or 24 to 750 FPS
- Fixed a bug where the version date in the main menu read in the wrong order in Arabic and Hebrew, due to the date not being isolated from the line's left-to-right base direction
- Added 10 new icons
Sound
- Improved the ding that plays when you reach an ante's threshold before midnight
- Improved the sounds of a tutorial line becoming clickable and of clicking past it
Languages
- Proofread all 27 languages again, fixing 4248 strings
- Gregory's censored swearing, emoticons and $$$ no longer break across lines in any language
- Rewrote the descriptions of the Payout Particles, Epic Zaps and Zinc Waves skills, The Physiocrat boon, the epic coins and 6 relics in all 27 languages
