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:
parent
0c2f641c74
commit
b5249e1957
2 changed files with 13 additions and 10 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue