Modificada la font (J i S). Intro en res X2. Arreglada la funció d'escriure en borde negre

This commit is contained in:
2026-03-23 21:04:28 +01:00
parent 650ca21167
commit 0bdca831c7
4 changed files with 30 additions and 24 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -2,7 +2,7 @@ local arcade_config = {
org_resolucion = { width = 128, height = 96 }, org_resolucion = { width = 128, height = 96 },
resolucion = { width = 256, height = 192 }, resolucion = { width = 256, height = 192 },
surface = { width = 256, height = 192 }, surface = { width = 256, height = 192 },
logo_sf = { width = 144, height = 20 }, logo_sf = { width = 180, height = 25 },
sprite_size = { w = 32, h = 32 }, sprite_size = { w = 32, h = 32 },
escala = 1.0, escala = 1.0,
org2arc_escala = 2.0, org2arc_escala = 2.0,

View File

@@ -15,20 +15,22 @@ function intro_init()
intro_wait=400 intro_wait=400
surf.cls(16) surf.cls(16)
font.current(font_sf)
surf.target(logo) surf.target(logo)
surf.cls(16) surf.cls(16)
draw.text("JAILGAMES",0,0,15) draw.text("JAILGAMES",0,0,15)
surf.target(0) surf.target(0)
surf.source(logo) surf.source(logo)
draw.surf(0,0,36,5,56,70,arcade_config.logo_sf.width,arcade_config.logo_sf.height) draw.surf(0,0,72,10,48,70,arcade_config.logo_sf.width,arcade_config.logo_sf.height)
surf.target(logo) -- surf.target(logo)
surf.cls(16) -- surf.cls(16)
text("presenta",0,0,14) -- text("presenta",0,0,14)
surf.target(0) -- surf.target(0)
surf.source(logo) -- surf.source(logo)
draw.surf(0,0,36,5,96,100,36*o2aX, 5*o2aX) -- draw.surf(0,0,36,5,96,100,36*o2aX, 5*o2aX)
arc_textB("presenta",96,102,14)
-- draw.surf(0,0,36,5,28,35,72,10) -- draw.surf(0,0,36,5,28,35,72,10)
-- draw.surf(0,0,36,5,56,70,arcade_config.logo_sf.width,arcade_config.logo_sf.height) -- draw.surf(0,0,36,5,56,70,arcade_config.logo_sf.width,arcade_config.logo_sf.height)
surf.source(tiles) surf.source(tiles)

View File

@@ -105,14 +105,16 @@ function mini.update()
end end
function text(str,x,y,col) function text(str,x,y,col)
draw.text(str,x-1,y-1,16) draw.text(str, x-1, y-1, 16)
draw.text(str,x,y-1,16) draw.text(str, x , y-1, 16)
draw.text(str,x+1,y-1,16) draw.text(str, x+1, y-1, 16)
draw.text(str,x-1,y,16)
draw.text(str,x+1,y,16) draw.text(str, x-1, y, 16)
draw.text(str,x-1,y+1,16) draw.text(str, x+1, y, 16)
draw.text(str,x,y+1,16)
draw.text(str,x+1,y+1,16) draw.text(str, x-1, y+1, 16)
draw.text(str, x, y+1, 16)
draw.text(str, x+1, y+1, 16)
draw.text(str,x,y,col) draw.text(str,x,y,col)
end end
@@ -154,14 +156,16 @@ function arc_textB(str, x, y, col)
font.current(font_sf) font.current(font_sf)
-- font.spacing(0) -- font.spacing(0)
draw.text(str,x+0,y+0,16) draw.text(str, x-1, y-1, 16)
draw.text(str,x+1,y+0,16) draw.text(str, x , y-1, 16)
draw.text(str,x+2,y+0,16) draw.text(str, x+1, y-1, 16)
draw.text(str,x+0,y+1,16)
draw.text(str,x+2,y+1,16) draw.text(str, x-1, y, 16)
draw.text(str,x+0,y+2,16) draw.text(str, x+1, y, 16)
draw.text(str,x+1,y+2,16)
draw.text(str,x+2,y+2,16) draw.text(str, x-1, y+1, 16)
draw.text(str, x , y+1, 16)
draw.text(str, x+1, y+1, 16)
-- draw.text(str,1,1,col) -- draw.text(str,1,1,col)
draw.text(str,x,y,col) draw.text(str,x,y,col)