TIC-80 icon indicating copy to clipboard operation
TIC-80 copied to clipboard

[Feature request] Take screenshots, and start/stop gif recording programmatically?

Open scambier opened this issue 3 years ago • 3 comments

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

scambier avatar Nov 11 '21 12:11 scambier

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.

nesbox avatar Nov 14 '21 07:11 nesbox

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.

RobLoach avatar Nov 15 '21 06:11 RobLoach

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.

aebrer avatar Nov 18 '21 16:11 aebrer