TIC-80
TIC-80 copied to clipboard
[Feature request] Take screenshots, and start/stop gif recording programmatically?
It would be nice to have commands to trigger screenshots and start/stop gif recording directly from code. This would be a useful feature, for example, to get perfectly timed screenshots and looping gifs
Personally, I don't like the idea of calling system functions like writing a GIF from an API. Not sure if this will ever become part of the API, but it's under discussion. Thanks.
Recording and taking screenshots are jobs of the frontend client, as there are many different ways to save a screenshot, or record a gif.
One thing you could do is watch for a different key, like PAGEUP, and request that the user presses that key at the same time as your action.
Want to chime in just to say that such a feature would be incredibly useful for me, I use it on the Pico-8 all the time. It really helps if you're coding specifically to make looping gifs.