jak-project/goal_src/jak1/engine
Tyler Wilding 92c4390f0a
Some checks are pending
Build / 🖥️ Windows (push) Waiting to run
Build / 🐧 Linux (push) Waiting to run
Build / 🍎 MacOS (push) Waiting to run
Inform Pages Repo / Generate Documentation (push) Waiting to run
Lint / 📝 Formatting (push) Waiting to run
Lint / 📝 Required Checks (push) Waiting to run
Lint / 📝 Optional Checks (push) Waiting to run
jak1: Adjust sprite positioning or hide them where appropriate when using non-standard aspect ratios (#3596)
This attempts to do a best-effort quick fix for the sprite alignment in
the menus and first person views on higher aspect ratios. This:
- Hides the binocular borders completely when using a non-standard ratio
![Screenshot 2024-07-20
021430](https://github.com/user-attachments/assets/c56d3a6c-13b0-43e1-b99b-83292993728c)
- Hides the borders in jak's first person view when using a non-standard
ratio
![Screenshot 2024-07-20
021310](https://github.com/user-attachments/assets/fefca993-960b-4741-87b7-6d7c17efe89d)
- Uses a combination of manual alignment and approximation to get the
pause menu closer.
![Screenshot 2024-07-20
151725](https://github.com/user-attachments/assets/2c8aa759-b33a-4fbe-abc6-b5861fc33208)
> 32:9 screenshot.

I accomplished the last one by manually aligning all of the core sprites
and text for the most popular aspect ratios. This means that from a
practical standpoint, things should align "perfectly". However, I then
used all of those values to derive a polynomial for each adjustment
based on the aspect ratio. This allows the game to do a half-decent
approximation/interpolation for every aspect ratio in-between the common
ones. It won't be perfect, but it will be better than this:

![image](https://github.com/user-attachments/assets/420b1e38-6f88-436a-8e8c-21df6b49428e)
2024-07-26 23:15:51 -04:00
..
anim g/j1: Cleanup all main issues in the formatter and format all of goal_src/jak1 (#3535) 2024-06-05 22:17:31 -04:00
camera g/j1: Cleanup all main issues in the formatter and format all of goal_src/jak1 (#3535) 2024-06-05 22:17:31 -04:00
collide g/j1: Cleanup all main issues in the formatter and format all of goal_src/jak1 (#3535) 2024-06-05 22:17:31 -04:00
common-obs g/j1: Cleanup all main issues in the formatter and format all of goal_src/jak1 (#3535) 2024-06-05 22:17:31 -04:00
data g/j1: Cleanup all main issues in the formatter and format all of goal_src/jak1 (#3535) 2024-06-05 22:17:31 -04:00
debug g/j1: Cleanup all main issues in the formatter and format all of goal_src/jak1 (#3535) 2024-06-05 22:17:31 -04:00
dma g/j1: Cleanup all main issues in the formatter and format all of goal_src/jak1 (#3535) 2024-06-05 22:17:31 -04:00
draw g/j1: Cleanup all main issues in the formatter and format all of goal_src/jak1 (#3535) 2024-06-05 22:17:31 -04:00
engine g/j1: Cleanup all main issues in the formatter and format all of goal_src/jak1 (#3535) 2024-06-05 22:17:31 -04:00
entity g/j1: Cleanup all main issues in the formatter and format all of goal_src/jak1 (#3535) 2024-06-05 22:17:31 -04:00
game Update volume in sound-group sog3 to sfx-volume (#3574) 2024-07-09 01:24:03 +02:00
geometry g/j1: Cleanup all main issues in the formatter and format all of goal_src/jak1 (#3535) 2024-06-05 22:17:31 -04:00
gfx g/j1: Cleanup all main issues in the formatter and format all of goal_src/jak1 (#3535) 2024-06-05 22:17:31 -04:00
level g/j1: Cleanup all main issues in the formatter and format all of goal_src/jak1 (#3535) 2024-06-05 22:17:31 -04:00
load g/j1: Cleanup all main issues in the formatter and format all of goal_src/jak1 (#3535) 2024-06-05 22:17:31 -04:00
math g/j1: Cleanup all main issues in the formatter and format all of goal_src/jak1 (#3535) 2024-06-05 22:17:31 -04:00
nav g/j1: Cleanup all main issues in the formatter and format all of goal_src/jak1 (#3535) 2024-06-05 22:17:31 -04:00
physics g/j1: Cleanup all main issues in the formatter and format all of goal_src/jak1 (#3535) 2024-06-05 22:17:31 -04:00
ps2 [high fps] Increase input buffer for jak1 and jak3 (#3578) 2024-07-15 02:56:10 +02:00
sound g/j1: Cleanup all main issues in the formatter and format all of goal_src/jak1 (#3535) 2024-06-05 22:17:31 -04:00
target jak1: Adjust sprite positioning or hide them where appropriate when using non-standard aspect ratios (#3596) 2024-07-26 23:15:51 -04:00
ui jak1: Adjust sprite positioning or hide them where appropriate when using non-standard aspect ratios (#3596) 2024-07-26 23:15:51 -04:00
util g/j1: Cleanup all main issues in the formatter and format all of goal_src/jak1 (#3535) 2024-06-05 22:17:31 -04:00