fragglet / sdl-sopwith

Classic bi-plane shoot-'em up
https://fragglet.github.io/sdl-sopwith
GNU General Public License v2.0
66 stars 13 forks source link

Change the aspect ratio to 4:3. #41

Closed NY00123 closed 2 months ago

NY00123 commented 2 months ago

Technically speaking, this also impacts SDL mouse and touch events, but SDL Sopwith does not currently check these. Hopefully, this one-liner change should be sufficient, at least before the game's 40th anniversary.

No toggle has been added for now, given familiarity with the preference to have a relatively limited set of settings for SDL Sopwith's menus and Chocolate Doom's setup program.

fragglet commented 2 months ago

I've considered doing this in the past and understand the desire to be authentic. My reason for not having done this is that, unlike Doom, the graphics aren't designed for the 4:3 aspect ratio. Sopwith's sprites (particularly how the planes rotate) appear to have been designed with an assumption of square pixels. Because of that I personally consider a 1:1 aspect ratio to be more appropriate.

NY00123 commented 2 months ago

I see. Is there any reference to that? If not, it can maybe be added to some page or file, say FAQ.md.

Even for games considered to be made with 4:3 in mind, it might be true that circles will render as ovals while not using 16:10 at times; Same with squares being rendered as rectangles. Examples coming to mind are the tiles in tiled 2D games, or the planet shown in the background for Keen 6's scrolling story (unsure if intentional).

Doom is also a relevant example, given the floppy disk temporarily shown while loading data; But the status bar has shapes which do look square under 4:3, namely the spots for the weapon numbers and the keys.

Personally, if it were for me, I'd still prefer to have the option (e.g., a toggle) to use 4:3, as I can get under a DOS environment/emulator. While not exactly the same, it seems to make sense while alternative monochrome CGA modes are also covered.

fragglet commented 2 months ago

I can understand the desire for an option, but as I think I've mentioned before, I want to avoid bloating the options menu with too many obscure options and I think this falls in that bucket.

NY00123 commented 2 months ago

All right. As written earlier, I recall the preference for simplicity in terms of configuration, also for Chocolate Doom (at least when it comes to settings shown in its setup program).

Assuming the Sopwith Camel as a reference, I've just looked up for information about it, including dimensions and a few photos. The aircraft's dimensions as shown in-game are indeed closer to the reference ones while displayed with square pixels, compared to the case of using 4:3 for the displayed contents. I don't know what was the intention during development of the game (if there were any, given that it was done as a demo of a networking system), but that's what I've found out now.