-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Are there optimizations that could be made to the bosses? Especially worms. A few of them cause lag when you have any other content mods enabled (TPS drops from 60 to 40-50 depending on how many other mods are enabled). This only happens when these bosses are alive and one of the 2 eternity modes is enabled. The computer this is happening on is quite powerful including a 13900KS.
For example in destroyer, could we do any of the following:
- Replace LINQ query in DestroyerSegment with direct iteration and early exit
- Add caching mechanism for destroyer reference in Probe class
- Optimize collision checks by using DistanceSquared instead of Distance
- Reduce frequency of destroyer existence checks by caching the result
Edit: After some additional testing, the bosses I'm seeing TPS issues with are:
- Destroyer
- Aquatic Scourge
Is there anything these two bosses do differently in Eternity Mode compared to the other bosses?
These others are fine:
- Destroyer of Gods
- Desert Scourge
- Eater of Worlds
- Brain of Cuthulu
- Moon Lord
- Duke Fishron
- Noxus
- Nameless Deity
- Other Non Worms seem fine although I had seen issues with Skeletron and Skeletron Prime on a slower (but not awful) computer
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels