Rendering things mostly

- "Miss warning" option is now on by default (ball's particles are red if catching it would be a "miss")
- "Show +X in gold"  option is now on by default (show a +X when combo increases)
- "High contrast" option added, off by default (applies lights layer again as "soft light" at the end of the render)
- "Colorful coins" option now applied at render time instead of coin spawn time, to make preview easier
- when settings are opened on pc, they show up on the side and the overlay is transparent to let you preview the changes
This commit is contained in:
Renan LE CARO 2025-04-04 12:07:24 +02:00
parent 7d518f14e5
commit f76c96019c
25 changed files with 255 additions and 132 deletions

View file

@ -798,6 +798,7 @@ async function openSettingsMenu() {
title: t("main_menu.settings_title"),
content: [t("main_menu.settings_help"), ...actions],
allowClose: true,
className:'settings',
});
if (cb) {
cb();
@ -874,8 +875,7 @@ async function openUnlocksList() {
t("unlocks.level"),
...levelActions,
],
allowClose: true,
actionsAsGrid: true,
allowClose: true,className:'actionsAsGrid',
});
if (tryOn) {
if (await confirmRestart(gameState)) {