diff --git a/tests/imagetest.lua b/tests/imagetest.lua index 47804e5..18bf733 100644 --- a/tests/imagetest.lua +++ b/tests/imagetest.lua @@ -4,6 +4,9 @@ function init_event() image = ag.loadTexture("transparent.png") local crate = ag.loadModel("crate", {static = true}) ag.setCamera(5, -5, 5) + local box = ag.createBox(1, 1, 1, {enable_blending = true}) + box:setPosition(0, 0, 3) + box:setTexture(image) end function update_overlay_event(width, height)