DX: paleta configurable i fons unificat darrere dels glifs

This commit is contained in:
2026-05-15 13:19:22 +02:00
parent 8291f386fa
commit e34b5a20ce
2 changed files with 92 additions and 39 deletions
+26
View File
@@ -20,3 +20,29 @@
-- (En els dos casos el char 0 es reescriu a zeros, perque el ROM d'ascii
-- hi te una caixa hueca que taparia tot el mapa.)
skin = "native"
-- ====================================================================
-- PALETA DE COLORS
-- ====================================================================
-- Constants disponibles:
-- COLOR_BLACK=0 COLOR_BLUE=1 COLOR_GREEN=2 COLOR_CYAN=3
-- COLOR_RED=4 COLOR_MAGENTA=5 COLOR_BROWN=6 COLOR_LIGHT_GRAY=7
-- COLOR_DARK_GRAY=8 COLOR_LIGHT_BLUE=9 COLOR_LIGHT_GREEN=10
-- COLOR_LIGHT_CYAN=11 COLOR_LIGHT_RED=12 COLOR_LIGHT_MAGENTA=13
-- COLOR_YELLOW=14 COLOR_WHITE=15
--
-- Pots sobreescriure nomes les que vulgues. Comenta una linia
-- per a deixar el valor per defecte.
-- colors.bg = COLOR_BLUE -- fons del nivell
-- colors.pedra = COLOR_BROWN -- murs i blocs degradats
-- colors.diners = COLOR_YELLOW -- $ monedes
-- colors.escala = COLOR_LIGHT_CYAN -- ═ escales
-- colors.corda = COLOR_LIGHT_GRAY -- ─ cordes
-- colors.pepe = COLOR_WHITE -- el protagonista
-- colors.malo = COLOR_LIGHT_RED -- enemics
-- colors.malo_carrega = COLOR_LIGHT_MAGENTA -- enemic portant diners
-- colors.hud_text = COLOR_WHITE -- text del rotul inferior
-- colors.hud_bg = COLOR_BLACK -- fons del rotul inferior
-- colors.border = COLOR_BLUE -- vora exterior de la finestra
-- colors.title = COLOR_LIGHT_RED -- GAME OVER / NOU RECORD