lambdaclass / champions_of_mirra

Curse of Mirra game codebase
https://curseofmirra.com/
Apache License 2.0
42 stars 4 forks source link

[PERF] Single battle camera #1872

Closed saugon closed 4 days ago

saugon commented 1 week ago

Motivation

Removed unnecessary cameras in the battle scene to improve performance (and code), now using only one.

Performance impact

Both the CPU and GPU now perform fewer operations for rendering graphics.

Tested on a low-end device:

Summary of changes

How has this been tested?

Playing through all characters from beginning to end, paying particular attention to elements previously affected by the NoPostProcessCamera (health bars, orientation element, stamina and skill indicators).

Checklist