diff --git a/tests/cratestack.lua b/tests/cratestack.lua index c981ab0..fec42aa 100644 --- a/tests/cratestack.lua +++ b/tests/cratestack.lua @@ -23,6 +23,7 @@ function init_event() ag.setCamera(2, -12, 8, 0, 0, 2, 0, 0, 1) iris = ag.loadSound("iris.mp3") + hit_pins = ag.loadSound("hit_pins.mp3") end function key_down_event(key) @@ -48,6 +49,10 @@ function key_down_event(key) iris:resume() playing = true end + elseif (key == "h") then + hit_pins:play() + elseif (key == "l") then + hit_pins:loop(3) end end