Total servers: 3
62.0.225.254
Unknown
Unknown – 0lt
IP: 62.0.225.254
Game Mode:
Lives: 0
Max Kills: 0
Version: LieroX 0.56b
Players:
DE nonstop + voting
Liero v1.0 – 100lt
IP: 144.76.67.162
Game Mode: Death Match
Lives: 0
Max Kills: 15
Version: OpenLieroX 0.58 rc5
Players:
M0rtsHeaven
Modern Warfare1.0 – 20lt
IP: 84.251.82.159
Game Mode: Death Match
Lives: 0
Max Kills: 12
Version: OpenLieroX 0.58 rc5
Players:
Pages: [1]   Go Down

Author Topic: OLX widescreen  (Read 637 times)

Kurko

OLX widescreen
« on: September 08, 2016, 11:33:42 am »
Not sure if anyone is interested but I tried to change OLX to use widescreen (16:9) resolution instead of old 640x480 (4:3). The main idea was to make it look decent on modern displays which are mostly 16:9 or 16:10. Currently, it either leaves large black bars to the edges or gets stretched and ugly when playing in fullscreen mode.

I chose 720x405 as the base resolution because it is close to the original in terms of gameplay. You see slightly more in horizontal direction and slightly less in vertical direction but the differences are not very significant. And it even works to some extent. :P


0.58 original:


0.59 original (latest code on Github):


0.59 widescreen:



I did this with 0.59 but doing it with 0.58 shouldn't be much harder.



The to-do list:

-Check that fullscreen mode works correctly in all situations Seems to be OK
-Resolution scaling to allow bigger game window without changes to gameplay
-Interface layout must be redesigned (both code and graphics)
-Define the resolution properly, now it's defined as a compiler macro in compiler arguments
-Current 0.59 is buggy and should be overhauled, or 0.58 code should be used
-Decide what to do with certain small levels that do not fill the new game window completely, e.g. Fightbox


Any thoughts? :P
« Last Edit: September 08, 2016, 01:38:34 pm by Kurko »

Kurko

Re: OLX widescreen
« Reply #1 on: September 08, 2016, 01:35:00 pm »
Some more testing... 0.59 seems to actually behave nicely in fullscreen mode. It doesn't change display resolution but instead upscales itself to the current/native resolution.

0.58 wants to change display resolution and because 720x405 is most likely not supported by any display, it changes it to something else, then upscales...


0.58 is trickier for widescreen anyway as it has the bottom bar:

Punisher for real

Re: OLX widescreen
« Reply #2 on: September 10, 2016, 12:15:19 am »
Oldered 720p and 1080p edition of rc3 .exe with adjustable zoom. thank you Kurko
Kumivene on vene, joka puhalletaan täyteen tarpeen tullen. You know what, i like to swim alot but i dont like to slick lick random asses peaces of shit2

https://i.imgur.com/V9sBcf2.png
Pages: [1]   Go Up
 

anything