• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Help with Screen Stretching

Hello everyone! I've been trying to export my app to my phone, but I've been having some trouble with screen stretching. My draw GUI layer is stretched perfectly, but objects' sprites are stretched vertically and their y-coordinates are off. Here is my resizing code run in a script at the beginning of the game:

var newwidth = display_get_width();
var newheight = display_get_height();
surface_resize(application_surface, newwidth, newheight);
display_set_gui_size(newwidth,newheight);

Thanks for the help!
 
Top