S
sparwen
Guest
I want to make a screenshot of the players record for a facebook sharing. And i want to add the game Icon / QR on that screenshot, so what im doing is drawing the icon and QR and then im using screen_save_part to make the screenshot.
But this makes it a little bit weird when you actually can se the Icon / QR (for 1 step) in the gameplay.
Is there anyway i can use surface to maybe copy the screen to outside the room and draw the Icon / QR there
and make the screenshot there instead, so the player wont see the added Icon / QR?
This is my code:
if var_print = 1
{
draw_sprite(spr_icon,0,0,0);
draw_sprite(spr_qr,0,display_get_gui_width(),0);
screen_save_part("share.png", 0, 0,display_get_width(),display_get_height()/2.5);
var_print = 0;
}
But this makes it a little bit weird when you actually can se the Icon / QR (for 1 step) in the gameplay.
Is there anyway i can use surface to maybe copy the screen to outside the room and draw the Icon / QR there
and make the screenshot there instead, so the player wont see the added Icon / QR?
This is my code:
if var_print = 1
{
draw_sprite(spr_icon,0,0,0);
draw_sprite(spr_qr,0,display_get_gui_width(),0);
screen_save_part("share.png", 0, 0,display_get_width(),display_get_height()/2.5);
var_print = 0;
}