mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-28 16:59:30 +00:00
Added "icon.png" where needed, Added an error in example.lua
This commit is contained in:
parent
f580341aff
commit
819dabcf0f
2 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ local dMul = 1
|
||||||
local angle = 0
|
local angle = 0
|
||||||
|
|
||||||
local texture1 = gfx.texture.load("sdmc:/3ds/ctruLua/icon.png", gfx.texture.PLACE_VRAM, gfx.texture.TYPE_PNG);
|
local texture1 = gfx.texture.load("sdmc:/3ds/ctruLua/icon.png", gfx.texture.PLACE_VRAM, gfx.texture.TYPE_PNG);
|
||||||
|
if not texture1 then error("Giants ducks came from another planet") end
|
||||||
|
|
||||||
gfx.color.setBackground(gfx.color.RGBA8(200, 200, 200))
|
gfx.color.setBackground(gfx.color.RGBA8(200, 200, 200))
|
||||||
gfx.set3D(true)
|
gfx.set3D(true)
|
||||||
|
|
|
||||||
BIN
sdcard/3ds/ctruLua/icon.png
Normal file
BIN
sdcard/3ds/ctruLua/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
Loading…
Add table
Add a link
Reference in a new issue