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

Improved the gfx.startFrame() function to select a screen, Fixed some values now defined with the C ones

This commit is contained in:
Firew0lf 2015-08-19 01:46:04 +02:00
parent 0c2f641c74
commit b5249e1957
2 changed files with 13 additions and 10 deletions

View file

@ -18,7 +18,7 @@ while os.run() do
if keys.held.up then y = y - 1 end
if keys.held.down then y = y + 1 end
gfx.startFrame()
gfx.startFrame(gfx.GFX_TOP)
gfx.color.setDefault(0xFF0000FF)
gfx.rectangle(x, y, 10, 10, angle)