mirror of
https://github.com/open-goal/jak-project.git
synced 2024-11-23 06:09:57 +00:00
92c4390f0a
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) |
||
---|---|---|
.. | ||
batch | ||
ci | ||
cpp | ||
emacs | ||
examples | ||
gsrc | ||
shell | ||
sublime_text | ||
tasks | ||
analyze_build_time.py | ||
combine_all_imports.py | ||
decomp_progress.py | ||
gen-dgo-txt.py | ||
gen-test-cases.py | ||
memory-dump-p2s.py | ||
setup_art_group_imports.py | ||
subtitle2_gen.py | ||
update_decomp_reference.py |