demo recording and playback, collision table
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user