Skip to content
This repository has been archived by the owner on Oct 19, 2018. It is now read-only.

增加遊戲的暢順度 #1

Open
luiges90 opened this issue Nov 26, 2012 · 0 comments
Open

增加遊戲的暢順度 #1

luiges90 opened this issue Nov 26, 2012 · 0 comments
Labels

Comments

@luiges90
Copy link
Owner

https://github.com/luiges90/ZhongHuaSanGuoZhi/blob/master/WorldOfTheThreeKingdoms/YouxiPingmu/MainGameScreen.cs#L2661-2667 中已有相關代碼,主要做法是把AI運算及用戶輸入分成兩個綫程進行,令遊戲在AI運算時仍接受玩家移動滑鼠及更新畫面,加強遊戲暢順度。

此代碼未實行是因為 https://github.com/luiges90/ZhongHuaSanGuoZhi/blob/master/WorldOfTheThreeKingdoms/YouxiPingmu/MainGameScreen.cs#L161 會出錯,似乎是與資料被損壞有關。

luiges90 added a commit that referenced this issue Dec 21, 2012
遊戲卻變慢了... (平均7秒增至10秒.....)
多出的3秒似乎是要運行DateRunner.DateStop,之前試圖把這代碼多綫程但出現資料被毀壞的情況。
luiges90 pushed a commit that referenced this issue Feb 20, 2013
luiges90 pushed a commit that referenced this issue Aug 5, 2013
同步耒戈氏的代码
luiges90 pushed a commit that referenced this issue Nov 23, 2014
Merge pull request #1 from luiges90/master
luiges90 pushed a commit that referenced this issue Mar 1, 2016
修正妃子条件无效
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant