song result screenshot implementation
This commit is contained in:
parent
8e9c9d38fc
commit
571631a433
|
@ -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
|
Loading…
Reference in New Issue