1
0
Fork 0
mirror of https://github.com/ctruLua/ctruLua.git synced 2025-10-28 08:49:30 +00:00

Added ctr.gfx.text and the Bitsream Vera font

This commit is contained in:
Reuh 2015-08-19 14:32:53 +02:00
parent 2dcb9c6aa0
commit 7edb1e2f7b
19 changed files with 385 additions and 4 deletions

View file

@ -34,6 +34,13 @@ while os.run() do
gfx.endFrame()
gfx.startFrame(gfx.GFX_BOTTOM)
gfx.color.setDefault(0, 0, 0)
gfx.text(5, 10, "Hello world, from Lua !", 15)
gfx.endFrame()
angle = angle + 0.05
if angle > 2*math.pi then angle = angle - 2*math.pi end