Hello all!
I have been working on a painting game, and am trying to implement a screenshot function. Unfortunately, the screens are not saving for some reason. Here is the code I am trying:
I also tried:
but neither worked. I also tried running it from a windows export, and on HTML5. Still nothing. Does anyone have any idea what I am doing wrong?
I have been working on a painting game, and am trying to implement a screenshot function. Unfortunately, the screens are not saving for some reason. Here is the code I am trying:
GML:
if mouse_check_button_pressed(mb_any){
surface_save(controller.initialSurf, "fractalCapture.png");
}
Code:
if mouse_check_button_pressed(mb_any){
screen_save("screenShot.png");
}