In the keyboard shortcuts popup (CTRL+SHIFT+L
), CTRL+SHIFT+ENTER
is listed as ‘Screen Record’. Is this implemented? I thought I saw mention of some built-in that does this but maybe I’m making that up.
Absolutely a thing. You can read about it here under start_record
Thanks for the reply! Reading the docs it looks like the start and then stop is something I message programatically with params (file name, frame rate, etc). How does that work in the context of the editor? How would the params be set or the ‘stop’ sent? Is there a visual indicator?
Unfortunately that function only works for capturing the game (running engine). To capture the editor, you would need to use 3rd party capturing software.
Thanks @Ragnar_Svensson ! I wasn’t trying to capture the editor itself, but was hoping the keyboard shortcut somehow kicked off the messaging into the running game. I’m not sure how I thought that would work.
Oh I see! Well, you are in fact not so far off. Hot-reloading is implemented using http-requests over the network. The web server in the engine has a specific end-point, to which you can send http-requests that are converted to the in-engine messaging system. So it’s in fact technically possible to do that. Our grand plan is to make more use of this down the line, so that you can extend editor 2 with custom toolbars etc that could send stuff like reload-level, god-mode, whatever, to the running game.