Jump to content


ProPuke

Member Since 11 May 2011
Offline Last Active Jul 05 2012 02:24 AM

Topics I've Started

Dynamically setting resolution / window size

05 July 2012 - 01:28 AM

How does one dynamically set the resolution in studio?

It seems that room_set_view, window_set_size, view_wport and view_hport are all non-functional (when executed from room startup code and in entity creation events).

The docs do allude that some of these are non functional if used "after the game has started", but this wording confuses me. How does one execute code before the game starts?

The situation in question is a port of a game developed originally in 8.1. When in fullscreen mode we had the game run @ native resolution so that hud was rendered 1:1 nice and sharp, with a lower resolution game view below. We're obviously looking to duplicate this behaviour.