Added surface_save[_part]_dialog to GMS version


Used like so:

  • surface_save_dialog(surface, filename)
  • surface_save_part_dialog(surface, filename, x, y, width, height)

Files

demo.zip Play in browser
Aug 07, 2020
screen_save_dialog demo (for GMS1 and GMS2.2).gmz 17 kB
Aug 07, 2020
screen_save_dialog (for GMS1 and GMS2.2).gmez 2.5 kB
Aug 07, 2020

Get Screenshot save dialog

Download NowName your own price

Comments

Log in with itch.io to leave a comment.

using the following code 

screen_save_part_dialog("Your Photo!", 27, 91, 222, 381);

when an alarm is triggered results in images that are the wrong height. is there some sort of a limit, or am i doing something wrong?

Without trying to blindly re-create your problem, what kind of “wrong height” are we talking here?

the height of the final image is too small, it doesn't seem to go over 291 pixels

And if you make “height” 100 pixels bigger, does the image grow by another 100 pixels?

it did not

it was on the latest game maker studio 1, not studio 2


also it's not super serious, i was able to work around it, but it was still pretty upsetting and wasted a lot of time