Home Creators Posts Import Register Favorites Logout

Content

This version is for developer patrons only, because the 2D GUI crash wasn't fixed yet.

Anyway, the dynamic resolution behavior has been significantly improved since the last YouTube video. Now it's instantly responsive, which means that the framerate shouldn't dip below the value set in the viewsize_dec_below_fps cvar (default 20) for more than 1 frame, and the resolution starts increasing back as soon as the framerate value in viewsize_inc_above_fps is surpassed.

The dynamic resolution scaling is disabled by default. To enable it, enter these commands in the console:

sbar 0 // to prevent some crashes.

scr_conspeed 999999 // to prevent some crashes.

viewsize_dynamic 1 // it's disabled by default, because of the 2D GUI crashes.

After enabling viewsize_dynamic in the console, remember to disable it before opening any menus, to prevent some crashes.

To see the list of new cvars that can be used to customize the dynamic resolution behavior, enter cvarlist viewsize_ in the console. Besides the ones above, there's also:

viewsize_min // the minimum percent of the screen area that the resolution can be downscaled to (can be used to ensure a minimum level of image quality).

viewsize_step // the minimum compound percentage that the resolution will be decreased or increased by when needed.

d_ditherview // to toggle the scaled viewport dithering

The vanilla viewsize cvar can't be manually changed anymore; it's set by the algorithm, and will be deprecated.

This dynamic resolution feature is essential for the next public release. While it's not better than actual 3D rendering optimizations, it ensures that the game will still be playable for almost everyone. This allows Retroquad to reach a larger audience while I keep improving it.

Now it's time to fix the 2D GUI crashes.

Comments

No comments found for this post.