Is there a way to make bg_set_perspective_y() support multiple layers #142
-
|
just curious |
Beta Was this translation helpful? Give feedback.
Answered by
TrianglyRU
May 11, 2025
Replies: 1 comment 1 reply
-
|
c_framework.background.perspective_y_data is what stores the parameters that make the scaling work. You’d need to modify the structure to be able to store data for multiple layers, and adjust the part of the background code that handles vertical scaling to account for that (it's basically just three lines of code) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
SrKosta
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
c_framework.background.perspective_y_data is what stores the parameters that make the scaling work. You’d need to modify the structure to be able to store data for multiple layers, and adjust the part of the background code that handles vertical scaling to account for that (it's basically just three lines of code)