- Funció text()

This commit is contained in:
2023-01-29 17:37:49 +01:00
parent 0d6e471229
commit 5791dbcb01

View File

@@ -14,6 +14,19 @@ function _update()
update()
end
function text(txt,x,y,col)
color(6)
prnt(txt,x-1,y-1)
prnt(txt,x,y-1)
prnt(txt,x+1,y-1)
prnt(txt,x-1,y)
prnt(txt,x+1,y)
prnt(txt,x-1,y+1)
prnt(txt,x,y+1)
prnt(txt,x+1,y+1)
color(col)
prnt(txt,x,y)
end
function main_init()
set_update(menu_update)