A
Aidan Kendall
Guest
So I would like to save my room as an image in order to draw over it, but I can't figure out how to do this.
All I could find was you could do it using surfaces.
My current code is like this:
surf = surface_create(12800,720) //12800 room width, 720 room height
if (keyboard_check_pressed(vk_enter)) //Save surface to disk
{
surface_save(surf, "roooroom.png");
}
This just saves it as a black image, does anyone know how to make it set the surface as the entire room or know of another way to save a room as an image.
All I could find was you could do it using surfaces.
My current code is like this:
surf = surface_create(12800,720) //12800 room width, 720 room height
if (keyboard_check_pressed(vk_enter)) //Save surface to disk
{
surface_save(surf, "roooroom.png");
}
This just saves it as a black image, does anyone know how to make it set the surface as the entire room or know of another way to save a room as an image.