Update: WOS v0.5.18 and Frame Rate Optimization
Added 2023-07-07 11:28:10 +0000 UTC
This version made some optimizations to the enemy AI, as well as some bug fixes.
Upon inspection, it seems that the pathfinding feature of a third-party script, under specific settings, forces each enemy to carry out a large amount of calculations. After adjusting this feature, the frame rate can probably increase by about 10 frames when there are too many enemies on the screen (30+).
However, I can't guarantee that this optimization will work for all players, and if your CPU is too old, this tweak might not be very effective for you.
It would naturally be the best if it could maintain around 60 frames stably.
…But normally, I guess no one would spawn more than 30 enemies, right?
Also slightly increased the difficulty of the Boss Flame Knight.
v0.5.18 Update:
In v0.5.17, after adjustments, the AI pathfinding capability has become a lot dumber.
After a second check, it was found that the previous adjustment was a one-size-fits-all approach, which was not ideal.
So I adjusted it again, retained the long-distance pathfinding capability, and made some code limitations to avoid a large number of enemies piling up and making repeated, bloated route calculations.
The frame rate should now be more stable than before.
******
v0.5.18 bugfix
- Fixed a bug where the Boss HP bar of the Slime King disappears after capturing the player.
- Fixed a bug where Luna's pixel character did not return to normal state after breaking free from the slime.
- Fixed the path calculation failure of Yukimura in the armory.
******
帧率优化
这一版对敌人AI做了一些优化,以及一些bug修复。
经过检查,似乎是第三方脚本的自动寻路功能,在特定设置下,会强迫每一个敌人进行大量的计算。我在调整该功能后,当画面中存在大量敌人(数量30+)的时候,帧率大概能够提升10帧左右。
不过我并不能保证此优化能够对所有玩家起效,如果你的CPU太古老,可能效果也不会太好。
如果能稳定保持在60帧左右那自然是最好的。
……但一般情况下,我想也没人会把敌人刷到30人以上吧?
顺便稍微加强了一点炎骑士BOSS。
v0.5.18 更新:
v0.5.17在经过调整后,AI寻路能力变笨了。经过二次检查,发现之前的调整属于一刀切的方法,不太理想。
所以我重新进行了调整,保留了长距离寻路能力,并做了一些代码上的限制,避免大量敌人堆积进行重复臃肿的路线计算。
现在的帧率应该比之前更加稳定了。
******
v0.5.18 bugfix
- 修复了史莱姆王在抓住玩家后血条消失的bug。
- 修复了挣脱史莱姆的束缚后露娜的像素小人没有恢复正常的bug。
- 修复了在军械库中,雪村的路线计算失败的问题。