diff --git a/pepe_runner_dx.lua b/pepe_runner_dx.lua index cc5872f..0c3130d 100644 --- a/pepe_runner_dx.lua +++ b/pepe_runner_dx.lua @@ -678,14 +678,14 @@ function update_gameover() -- i una columna a cada costat. Es pinta primer per a que el text -- quede a sobre. local box_w = total_chars + 2 - color(colors.hud_bg, colors.hud_bg) + color(colors.gameover_box, colors.gameover_box) local blank = string.rep(" ", box_w) for dy = -1, 1 do print(blank, text_x - 1, text_y + dy) end -- Lletres del typewriter local nletres = flr(t / temps.typewriter_step_frames) + 1 if nletres > total_chars then nletres = total_chars end - color(colors.title, colors.hud_bg) + color(colors.title, colors.gameover_box) print(substr(g, 0, nletres), text_x, text_y) -- Tic nomes en el frame en que apareix una lletra nova, i nomes diff --git a/skins/custom.lua b/skins/custom.lua index 6c144e1..c4f23cb 100644 --- a/skins/custom.lua +++ b/skins/custom.lua @@ -37,5 +37,6 @@ return { malo_carrega = COLOR_LIGHT_MAGENTA, malo_atrapat = COLOR_BROWN, score_flash = COLOR_YELLOW, + gameover_box = COLOR_BLUE, -- fons del cuadre del text "FI DE JOC" }, } diff --git a/skins/native.lua b/skins/native.lua index efb3b3e..7b0c663 100644 --- a/skins/native.lua +++ b/skins/native.lua @@ -38,5 +38,6 @@ return { malo_carrega = COLOR_LIGHT_MAGENTA, malo_atrapat = COLOR_BROWN, score_flash = COLOR_YELLOW, + gameover_box = COLOR_BLUE, -- fons del cuadre del text "FI DE JOC" }, } diff --git a/skins/pintor.lua b/skins/pintor.lua index 48be3df..5bdb035 100644 --- a/skins/pintor.lua +++ b/skins/pintor.lua @@ -41,5 +41,6 @@ return { malo_carrega = COLOR_LIGHT_MAGENTA, malo_atrapat = COLOR_BROWN, score_flash = COLOR_YELLOW, + gameover_box = COLOR_BLUE, -- fons del cuadre del text "FI DE JOC" }, }