Deltarune (Chapter 3) script viewer

← back to main script listing

gml_GlobalScript_application_surface_scale

(view raw script w/o annotations or w/e)
1
function application_surface_scale()
2
{
3
    var appsurf = application_get_position();
4
    var appsurfscale = (appsurf[2] - appsurf[0]) / (320 + (320 * global.darkzone));
5
    debug_message("Application Surface Scale=" + string(appsurfscale));
6
    return appsurfscale;
7
}