Andrew Armstrong
Member
I've got a pretty decent gif record code setup so that I can press a button and it will record the next 5 seconds of gameplay and save a gif via the gif_save() function. That's all fine and dandy!
What I'd like to learn more about now is the gif_save_buffer() function. Are there any examples out there of how this works? The documentation shows I can save a completed gif to a buffer by doing something like:
From there, I have no idea how to use that.
My next goal is to create a sort of always-recording "instant replay" system with the intention of being able to hit a button and then it would save the past 5 seconds, rather than the next 5 seconds. Will this buffer function allow me to do that sort of thing?
Thanks for reading, cheers!
What I'd like to learn more about now is the gif_save_buffer() function. Are there any examples out there of how this works? The documentation shows I can save a completed gif to a buffer by doing something like:
Code:
global.capture_buff = gif_save_buffer(gif_image);
My next goal is to create a sort of always-recording "instant replay" system with the intention of being able to hit a button and then it would save the past 5 seconds, rather than the next 5 seconds. Will this buffer function allow me to do that sort of thing?
Thanks for reading, cheers!