Hi,
I already tried Orange and a Korean plugin but the version of my game is too old to run them.
I need a function to take a screenshot of the current game screen and give me back a bitmap or save it as a png to a given folder (i prefer a bitmap). I somehow did it a loooong time ago for an experiment but that code is gone now, I think it started like var renderer = PIXI.renderer...
Anyone knows how to do it?
My goal is to create a code to make a screenshot and stamp the error.stack on top of it when an error occurs, it would help a lot when lending the game for testing to my friends. As for now I just have a code that creates txt files with the error stack, but i feel like
it won't be enough to reverse engineer the bugs.
TL;DR Need script/function to take a snapshot of the game and return a bitmap
I already tried Orange and a Korean plugin but the version of my game is too old to run them.
I need a function to take a screenshot of the current game screen and give me back a bitmap or save it as a png to a given folder (i prefer a bitmap). I somehow did it a loooong time ago for an experiment but that code is gone now, I think it started like var renderer = PIXI.renderer...
Anyone knows how to do it?
My goal is to create a code to make a screenshot and stamp the error.stack on top of it when an error occurs, it would help a lot when lending the game for testing to my friends. As for now I just have a code that creates txt files with the error stack, but i feel like
it won't be enough to reverse engineer the bugs.
TL;DR Need script/function to take a snapshot of the game and return a bitmap