Welcome, all,
In today's video, I will be covering an old topic I have done a while ago involving resizing the Gamemaker game window to a full desktop size window, this will be using the original code set all and all that language I had developed in the original as well as some new additions to help allow for better aspect ratio controls. I will also be covering the importance of aspect ratios and positioning of objects based on the changing size of window this will allow you guys to help develop better games of your own.
As always you guys are amazing, feel free to leave feedback in comments and future videos you wish to see, the discord servers always open and stay amazing.
Editor Note 2: Export From Object (Object_View_Controller - Create Event - Line 16-19)
if (view_wport[0] != surface_get_width(application_surface) || view_hport[0] !=
surface_get_height(application_surface))
{
surface_resize(application_surface,view_wport[0],view_hport[0]);
}
Due to not showing properly in video Ive linked the code above here thank to feed back .
Editors Note 1: Error in code at 8:21, Object_House, Event: create line 2,
Code Fix: image_yscale = image_yscale+(image_yscale*global.var_aspect_ratio_y);
Thank you to Aaron Maldonado for picking up this error.
Patreon Link: / domainstudio
Discord: / discord
Google Drive: https://drive.google.com/drive/folder...