demo recording and playback, collision table

This commit is contained in:
lustlion
2022-02-17 23:39:31 +01:00
parent fb375e352b
commit 8e9078e929
9 changed files with 1063 additions and 42 deletions

View File

@@ -46,6 +46,22 @@ function GameStep()
if Keybind:CheckPressed(Keybind.debug.editor) then
editor_mode = true
end
if Keybind:CheckPressed(Keybind.debug.recording) then
if DemoRecording then
Demo:RecordEnd()
else
Demo:RecordStart()
end
end
if Keybind:CheckPressed(Keybind.debug.playback) then
if DemoPlayback then
Demo:PlaybackEnd()
else
Demo:PlaybackStart()
end
end
end
function GameDraw()