hykilpikonna / AquaDX

A certain magical arcade server
https://aquadx.net
Other
285 stars 66 forks source link

修复在SDGB下直接SetNextProcess导致摄像头未能正确关闭而引发的帧率波动 #73

Closed Fukimes closed 3 weeks ago

Fukimes commented 3 weeks ago

技术水平有限,貌似 SingletonStateMachine<AmManager, AmManager.EState>.Instance.AimeReader.EnableRead(false); SingletonStateMachine<AmManager, AmManager.EState>.Instance.AimeReader.BeginPlay(); 无法直接终止摄像头扫描(

Fukimes commented 3 weeks ago

我发现单纯不进行SetNextProcess并不能解决根本问题,目前发现开始扫码之后,若跳过倒计时不进入游戏,仍会掉帧。正确关闭摄像头才是正确的(

Zaphkito commented 3 weeks ago

首先我建议将某些代码和正儿八经的singleplayer分开,这些不应该全部写到singleplayer.cs里