You've already forked AM2R-Community-Updates
mirror of
https://github.com/izzy2lost/AM2R-Community-Updates.git
synced 2026-03-10 11:23:35 -07:00
6 lines
246 B
Plaintext
6 lines
246 B
Plaintext
/// set_window_scale(scale)
|
|
var scale = max(1, argument0);
|
|
window_set_size(round((320 + (106 * global.widescreen_enabled)) * scale), round(240 * scale));
|
|
// yes this hurts but it's widescreen proper, so sue me
|
|
if (os_is_browser) window_center();
|