VERSIÓ 1.4.6
-[NEW] font.load() -[NEW] font.current() -[NEW] font.spacing() -[NEW] font.DEFAULT -[NEW] surf.SCREEN
This commit is contained in:
@@ -16,6 +16,7 @@ function mini.init()
|
||||
end
|
||||
print("========================")
|
||||
|
||||
f = font.load("font.fnt")
|
||||
end
|
||||
|
||||
function mini.update()
|
||||
@@ -42,4 +43,9 @@ function mini.update()
|
||||
draw.rectf(mx, my, 4, 4, 8)
|
||||
draw.text(mx .. " " .. my, 1, 8, 8)
|
||||
--draw.text(other.peiv(),1,100,4)
|
||||
|
||||
font.current(f)
|
||||
font.spacing(0)
|
||||
draw.text("0146",100,50,28)
|
||||
font.current(font.DEFAULT)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user