diff --git a/scripts/result.lua b/scripts/result.lua index fce8854..4d3ab11 100644 --- a/scripts/result.lua +++ b/scripts/result.lua @@ -174,6 +174,7 @@ local irHeartbeatRequested = false; local irText = '' game.LoadSkinSample("result") +game.LoadSkinSample("shutter") local handleSfx = function() if not bgSfxPlayed then @@ -722,3 +723,11 @@ render = function(deltaTime, showStats) tickTransitions(deltaTime) end + +get_capture_rect = function () + return (resX - fullX) / 2, 0, fullX, fullY +end + +screenshot_captured = function(path) + game.PlaySample("shutter") + end \ No newline at end of file