Skip to content

Fullscreen Overlay Optimizations

Firartix requested to merge mekkiti/colonial-warfare:fs-pain into dev

Changelog

🆑 Firartix

experiment: Pain flashes now reuse dedicated fullscreen overlays to increase performance when getting hit

/🆑

Details

The fullscreen system is a clusterfuck and very likely one part of the "SG DDoS" problem (getting hit a lot drastically decreases performance)

In general, pain flashes are very frequent so even planning for 4/second is very generous

This should hopefully reduce the amount of created/manipulated/destroyed fullscreens when hit, and removes their reliance on sleep()-induced DM threads

Edited by Firartix

Merge request reports