# TwilightWarsLib
A Top-down view shooting game framework.
## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
To start a .event
```typescript
CG.TwilightWarsLib.initialize()
.then(() => {
CG.TwilightWarsLib.events.startEvents('test/test.events', 'arena');
})
```
To manually setup the game:
```typescript
CG.TwilightWarsLib.initialize()
.then(() =>
let mapSource = 'test/test.twmap';
CG.Base.resourceManager.addAppSource(mapSource);
CG.Base.resourceManager.load(() => {
let mapResource = new CG.TWMap.resources.MapResource();
mapResource.importBase64(CG.Base.resourceManager.getText(mapSource));
mapResource.loadTextures(() => {
CG.Base.pixi.initialize(600, 500);
let game = new CG.TwilightWarsLib.games.Game();
CG.Base.pixi.root.addChild(game);
game.initResources(mapResource);
game.start();
console.log('tw game created');
let me = new CG.TwilightWarsLib.games.actors.Actor(game, 'me');
game.addActor(me, new MyActorController(me), 32, 100, 0, null);
game.gameCamera.setFocus(me);
game.interface.setMe(me);
let ai = new CG.TwilightWarsLib.games.actors.Actor(game, 'ai');
ai.camp = CG.TwilightWarsLib.games.datas.Camp.CAMP2;
ai.actorClip.headClip.clip.gotoAndStop(5);
game.addActor(ai, new CG.TwilightWarsLib.games.actors.controllers.AIController(ai), 160, 300, 0, null);
game.createStuff(null, 64 + 16, 128 + 16,
CG.TwilightWarsLib.games.items.StuffInfo.getByCode('sword'),
game.stuffManager.useNextStuffId(), true);
});
});
})
```
## Versioning
We use [SemVer](http://semver.org/) for versioning.
## Authors
* **[Haskasu](/profile/Haskasu)**
## Acknowledgments
* Hat tip to anyone who's code was used
* Inspiration
* etc
# TwilightWarsLib
A Top-down view shooting game framework.
## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
To start a .event
```typescript
CG.TwilightWarsLib.initialize()
.then(() => {
CG.TwilightWarsLib.events.startEvents('test/test.events', 'arena');
})
```
To manually setup the game:
```typescript
CG.TwilightWarsLib.initialize()
.then(() =>
let mapSource = 'test/test.twmap';
CG.Base.resourceManager.addAppSource(mapSource);
CG.Base.resourceManager.load(() => {
let mapResource = new CG.TWMap.resources.MapResource();
mapResource.importBase64(CG.Base.resourceManager.getText(mapSource));
mapResource.loadTextures(() => {
CG.Base.pixi.initialize(600, 500);
let game = new CG.TwilightWarsLib.games.Game();
CG.Base.pixi.root.addChild(game);
game.initResources(mapResource);
game.start();
console.log('tw game created');
let me = new CG.TwilightWarsLib.games.actors.Actor(game, 'me');
game.addActor(me, new MyActorController(me), 32, 100, 0, null);
game.gameCamera.setFocus(me);
game.interface.setMe(me);
let ai = new CG.TwilightWarsLib.games.actors.Actor(game, 'ai');
ai.camp = CG.TwilightWarsLib.games.datas.Camp.CAMP2;
ai.actorClip.headClip.clip.gotoAndStop(5);
game.addActor(ai, new CG.TwilightWarsLib.games.actors.controllers.AIController(ai), 160, 300, 0, null);
game.createStuff(null, 64 + 16, 128 + 16,
CG.TwilightWarsLib.games.items.StuffInfo.getByCode('sword'),
game.stuffManager.useNextStuffId(), true);
});
});
})
```
## Versioning
We use [SemVer](http://semver.org/) for versioning.
## Authors
* **[Haskasu](/profile/Haskasu)**
## Acknowledgments
* Hat tip to anyone who's code was used
* Inspiration
* etc
# Changelog (TwilightWarsLib)
## [v1.81.0](/view/TwilightWarsLib/1.81.0) (2024-11-09)
#### Added
- 遊戲初始化的參數新增 leaveGameOnHidden?: boolean
若設定為true,則在系統偵測網頁被最小化或隱藏時,會自動離開目前進行的遊戲室。
- 這個設定也可獨自為每個TWZone設定
## [v1.80.0](/view/TwilightWarsLib/1.80.0) (2024-10-23)
#### Bug fixed
- 修正特殊顏色的煙火會影響AI的bug
## [v1.79.4](/view/TwilightWarsLib/1.79.4) (2024-10-19)
#### Bug fixed
- 修正鏡像人物無法正確反映水晶弓的問題
- 修正天啟的洪水和岩漿在某些地圖會出問題的bug
- 修正天啟的肥殭屍在死前不會正常運作的問題
## [v1.79.0](/view/TwilightWarsLib/1.79.0) (2024-10-15)
#### Changed
- acceptDamage()新增hitRadians參數
## [v1.78.7](/view/TwilightWarsLib/1.78.7) (2024-08-30)
#### Changed
- 調整百裂拳的強度。
## [v1.78.0](/view/TwilightWarsLib/1.78.0) (2024-08-29)
#### Bug fixed
- 修正攝影機在有分區的地圖上移動過快的問題
* 這個修正會改變有分區地圖上的攝影機速度,請任務作者更新後要作調整。
## [v1.77.0](/view/TwilightWarsLib/1.77.0) (2024-08-26)
#### Added
- 支援緊急求救卡
## [v1.76.0](/view/TwilightWarsLib/1.76.0) (2024-08-22)
#### Added
- 加入戰鬥時的基本搖桿支援(XInput)
## [v1.75.0](/view/TwilightWarsLib/1.75.0) (2024-08-20)
#### Added
- BodyRubState
## [v1.74.16](/view/TwilightWarsLib/1.74.16) (2024-08-011)
#### Changed
- 拳法的百裂拳更新深層心法。
## [v1.74.0](/view/TwilightWarsLib/1.74.0) (2024-08-02)
#### Added
- 支援任務模式的Playback
## [v1.73.0](/view/TwilightWarsLib/1.73.0) (2024-07-31)
#### Added
- 新增道具「隊友感知器」
## [v1.72.26](/view/TwilightWarsLib/1.72.26) (2024-07-26)
#### Added
- Add ActorHeadIcons
## [v1.72.11](/view/TwilightWarsLib/1.72.11) (2024-07-17)
#### Bug fixed
- 修正皇家冰劍技能常常無法造成傷害的bug
## [v1.72.5](/view/TwilightWarsLib/1.72.5) (2024-07-13)
#### Changed
- 支援簡體中文與字型
## [v1.72.1](/view/TwilightWarsLib/1.72.0) (2024-07-11)
#### Changed
- 陣營頁面支援簡體中文,並提高畫面解析度
## [v1.72.0](/view/TwilightWarsLib/1.72.0) (2024-07-09)
#### Changed
- compiled in ES6
## [v1.71.28](/view/TwilightWarsLib/1.71.28) (2024-06-22)
#### Fixed bugs
- 修正AI在擁有拳譜時不會使用功夫的BUG
- 修正同人陣地圖勾選擺設預設地圖武器時,忽略電磁斧的BUG
- 修正闇銀指虎相關的顯示特效
## [v1.71.5](/view/TwilightWarsLib/1.71.5) (2024-05-30)
#### Added
- 新增動作「執行光暈事件表」(用以取代「執行事件表」)
## [v1.71.3](/view/TwilightWarsLib/1.71.3) (2024-05-28)
#### Added
- 商店新增煙火轉蛋包
## [v1.70.2](/view/TwilightWarsLib/1.70.2) (2024-05-05)
#### Added
- 支援自製投擲類武器
## [v1.69.12](/view/TwilightWarsLib/1.69.12) (2024-05-02)
#### Added
- 閃現術新增閃光強度的設定
- 新增ActorGlowEffect(發光特效)
## [v1.69.2](/view/TwilightWarsLib/1.69.2) (2024-04-05)
#### Added
- 新增一些特殊AI(赤焰精靈/不動佛等)
#### Changed
- 飄浮的人物改成不會在地洞處掉下去
## [v1.68.13](/view/TwilightWarsLib/1.68.13) (2024-04-02)
#### Fixed bugs:
- 修正雷射炮塔不會扣氣的bug
- 修正殭屍來襲夜晚視野在換武器時會錯誤顯示
## [v1.67.4](/view/TwilightWarsLib/1.67.4) (2024-03-01)
#### Added
- 釋放一些角色至同人選項
- 新增反射鏡機關
#### Fixed bugs:
- 修正火箭炮飛行時與其他物件碰撞發生的bug
## [v1.66.8](/view/TwilightWarsLib/1.66.8) (2024-02-21)
#### Changed
- 由於TwilightWarsLib的內容過大,開發時非常不方便,因為新版TwilightWarsLib將部分內容移至另一個子模組再包回TwilightWarsLib。
這是code.gamelet.com的新機制,因此有可能有bug,請更新至最新版的朋友發現問題時,趕快在FB回報給我~ 感恩~
## [v1.66.0](/view/TwilightWarsLib/1.66.0) (2024-02-01)
#### Changed
- 更新AI在移動範圍0,視野>0的情況下更合理的反應
## [v1.65.25](/view/TwilightWarsLib/1.65.25) (2024-01-04)
#### Fixed bugs:
- 修正混天神掌的一些BUG
- 修正某些地圖會啟用無法在該地圖執行的天啟事件
- 修正劈風掌的BUG
- 修正事件相關的一些BUG
## [v1.65.24](/view/TwilightWarsLib/1.65.24) (2023-12-20)
#### Fixed bugs:
- 修正「白鳥拳」及相關的特效在蟲化術角色的手上應該變小卻沒變小的BUG
## [v1.65.23](/view/TwilightWarsLib/1.65.23) (2023-11-29)
#### Fixed bugs:
- 修正光暈拳譜系統中各種問題
## [v1.65.6](/view/TwilightWarsLib/1.65.6) (2023-11-23)
#### Added
- 加入天啟系統
#### Changed
- 以 ITreasureBoxItem 取代 TreasureBoxItem
## [v1.64.14](/view/TwilightWarsLib/1.64.14) (2023-11-18)
#### Added
- KongFu system implemented
- Actor.attachHandItem (Syncable)
- Game emit events when tree status changed
## [v1.63.0](/view/TwilightWarsLib/1.63.0) (2023-10-14)
#### Added
- 人物設定新增「TornadoResistance」用來控制龍捲風對人物的影響
## [v1.62.23](/view/TwilightWarsLib/1.62.23) (2023-10-12)
#### Fixed bugs:
- 當AI設定為「不可被移動」且「裝備戰鬥釘鞋」,修正玩家穿上釘鞋後可讓AI在原地被可推石塊壓死的BUG。
## [v1.62.8](/view/TwilightWarsLib/1.62.8) (2023-08-22)
#### Added
- 新增道具「格林自走裝置」
## [v1.60.23](/view/TwilightWarsLib/1.60.23) (2023-08-11)
#### Fixed bugs:
- 修正手電筒特效只對特定人物生效的設定有BUG的問題
## [v1.60.2](/view/TwilightWarsLib/1.60.2) (2023-07-24)
#### Changed
- 冰劍動畫改用圖片以取代濾鏡特效
- 道具使用系統升級以支援其他專案的自創道具
## [v1.59.5](/view/TwilightWarsLib/1.59.5) (2023-07-22)
#### Added
- 新增 game.setWeaponAbility(): 戰鬥暫時的武器技能設定
- 新增 game.getActorWeaponAbility()
#### Fixed bugs:
- 修正血刃第五級無法打中死神的BUG
- 修正黑龍領主無法打中死神的BUG
- 修正光牙風甲發動時不會釋出角色被動攻擊事件的BUG
- 修正玩家飄浮時仍會檢查無法通行格子的BUG
- 修正超長的激光特效,在某些情況下會隱形的BUG
- 修正強迫集氣技能對拳頭與槍類武器無效的BUG
## [v1.58.9](/view/TwilightWarsLib/1.58.9) (2023-07-18)
#### Fixed bugs:
- 修正丟擲迴旋鏢後的動作可以打落飛行武器的BUG
- 改進迴旋鏢在飛行途中掉落的位置選擇
## [v1.58.7](/view/TwilightWarsLib/1.58.7) (2023-07-17)
#### Fixed bugs:
- 修正反衝箭不會丟出Attack_HIT事件的BUG
- 修正說話面板的任務提示條,有設定的數字鍵反而沒有顯示出來的BUG
- 修正迴旋鏢撞牆後不會掉落在牆邊的BUG
## [v1.58.0](/view/TwilightWarsLib/1.58.0) (2023-07-09)
#### Added
- 新增盟會頻道
## [v1.57.3](/view/TwilightWarsLib/1.57.3) (2023-06-19)
#### Changed
- 激光特效解除最大長度2800的限制。
## [v1.57.2](/view/TwilightWarsLib/1.57.2) (2023-06-15)
#### Changed
- 武器道具被人物丟在地上時,放入舞台的圖層有可能因可推石塊的位置變化
- 可推石塊的圖層會因可否讓角色在上面走而有變化
- 使用槍類武器時,滑鼠移出舞台會顯示預設游標
- 冰原地圖的背景色不再改變整個遊戲網頁的背景色
#### Fixed bugs:
- 修正強制不可走的地圖物件被移除時,不可走的設定沒有被移除的BUG
## [v1.56.55](/view/TwilightWarsLib/1.56.55) (2023-06-15)
#### Added
- 新增說話面板的任務提示條
- 新增場景色調動畫
## [v1.56.51](/view/TwilightWarsLib/1.56.51) (2023-06-07)
#### Added
- 支援顯示「光暈同人陣」
- 使用光暈同人陣的遊戲必須更新至這個版本,才會被列入同人陣,並顯示在同人陣的頁面中。
目前預設同人陣按鈕會出現在右側工具列,想要隱藏該按鈕的方法如下\
方法一:在光暈初始化的時候提供選項
```typescript
CG.TwilightWarsLib.initialize({
...
showToolbar: {
userMissionsButton: false,
},
});
```
方法二:
```typescript
CG.TwilightWarsLib.components.showTWarToolbar({
userMissionsButton: false,
})
```
## [v1.56.34](/view/TwilightWarsLib/1.56.34) (2023-06-01)
#### Changed
- 遊戲大廳支援顯示遊戲房的ping
## [v1.56.32](/view/TwilightWarsLib/1.56.32) (2023-05-18)
#### Fixed bugs:
- 修正AI gotoLoc()到達目的地時不會正確轉向指定方向的bug
- 修正AI gotoLoc()在某些情況下會放棄前往目的地的bug
## [v1.56.25](/view/TwilightWarsLib/1.56.25) (2023-05-07)
#### Fixed bugs:
- 修正「載入遊戲進度」相關的bug
## [v1.56.9](/view/TwilightWarsLib/1.56.9) (2023-04-25)
#### Fixed bugs:
- 修正噴火機關無法正常關閉的問題(turnOff())
- 修正搶旗遊戲在某些地圖上會選到不佳位置插旗的bug
- 修正用回魂生血劑不會發出ACTOR_HEAL事件的bug
- 修正有一些遊戲中使用的亂數沒有和別的玩家同步的bug
## [v1.56.2](/view/TwilightWarsLib/1.56.2) (2023-04-15)
#### Fixed bugs:
- 修正光印造成的瞬移不會有負面效果的BUG
- 修正馬茲席塔使用元素大法可能發生的錯誤
- 修正創造AI時noAbility參數無效的BUG
- 修正AI被盾牌撞擊時,不會有舊版負面效果的BUG
## [v1.55.3](/view/TwilightWarsLib/1.55.3) (2023-04-10)
#### Added
- 新增對戰地圖「科羅密尼洛城」
## [v1.54.7](/view/TwilightWarsLib/1.54.7) (2023-04-07)
#### Added
- 新增地圖武器:機槍砲
- 皇家冰劍技能可使用舊版設定
- 新增地圖武器:激光砲台
## [v1.53.28](/view/TwilightWarsLib/1.53.28) (2023-04-03)
#### Added
- AI新增遠程武器的連射參數
## [v1.53.26](/view/TwilightWarsLib/1.53.26) (2023-04-03)
#### Changed
- 自訂跳躍按鍵,在角色攻擊、裝彈、集氣等動作時,不會阻止玩家跳躍。
#### Fixed bugs:
- 修正自製遠程武器使用預設圖案時,位移/旋轉/縮放設定失效的問題
## [v1.53.24](/view/TwilightWarsLib/1.53.24) (2023-04-01)
#### Added
- 支援自製遠程武器
## [v1.52.9](/view/TwilightWarsLib/1.52.9) (2023-03-26)
#### Added
- 新增風月寶鏡的相關角色/AI/地圖
## [v1.52.8](/view/TwilightWarsLib/1.52.8) (2023-03-21)
#### Added
- 支援任務進度存檔/讀檔
- 手電筒特效支援每個玩家不同設定
#### Fixed bugs:
- 修正水晶弓技能「反衝箭」的反射角度有時不正確的bug
- 自制角色造形支援遊戲中動態載入
- 修正準星在遊戲暫停時可能會發生的顯示錯誤
## [v1.51.17](/view/TwilightWarsLib/1.51.17) (2023-03-13)
#### Fixed bugs:
- 修正在合併事件表中定義的自製武器無法正常使用的問題
- 修正AI在樓層之間移動的邏輯無法超過兩層的BUG
- 修正雷射槍的準星顯示問題
## [v1.51.12](/view/TwilightWarsLib/1.51.12) (2023-02-25)
#### Added
- 新增戰鬥中的區域音樂管理員(如果以前有自己寫音樂管理器的人,有可能會受影響)
#### Fixed bugs:
- 修正飛索鐮刀的錯誤圖示
- 修正樹木燃燒的音效在遊戲結束後沒有清除的BUG
- 修正巨斧技能用程式連續使用時會發生沒有播動畫的BUG
- 修正人形告示牌的角色名字會在重覆使用時仍綁在頭上的BUG
- 修正血爆時的中毒狀態強迫變成屍毒的BUG
## [v1.50.7](/view/TwilightWarsLib/1.50.7) (2023-02-17)
#### Changed
- 支援跟隨型黑龍套用新的龍波選項
- 任務設定增加玩家進入戰場的無敵時間設定
## [v1.50.4](/view/TwilightWarsLib/1.50.4) (2023-02-16)
#### Added
- 新增道具「照妖鏡」
#### Changed
- 增加建立龍波的選項
- 人物調色功能增加透明度的選項
#### AI變動
當手持近身武器的AI面對(手無寸鐵)+(移動範圍=0)的對手AI時,若對手位於無法走到的位置,AI也會嘗試走到對手的周圍進行攻擊。
## [v1.49.9](/view/TwilightWarsLib/1.49.10) (2023-02-16)
#### Changed
- 皇家冰劍技能傷害力略略調高
- 皇家冰劍技能對周圍敵人冰凍能力會持續一小段時間
- 天影冰劍技能的動畫修正與調整
#### Fixed bugs:
- 修正兩手都持有客製化武器時出現的顯示錯誤
## [v1.49.5](/view/TwilightWarsLib/1.49.5) (2023-02-14)
#### Added
- 新增道具「防噪耳機」
- 新增DroppingBlood特效
## [v1.48.12](/view/TwilightWarsLib/1.48.12) (2023-02-11)
#### Added
- 增加攻擊擊中事件
- GroundFire增加燃燒的用法
#### Fixed bugs:
- 修正舊地圖在遊戲中途新增樹木,不會正確調整地形高度的BUG。
- 修正天箭動畫。
- 修正衝擊波回收時沒有重設hitInterval
## [v1.47.4](/view/TwilightWarsLib/1.47.4) (2023-01-07)
#### Fixed bugs:
- 修正水晶弓的動畫問題
## [v1.46.20](/view/TwilightWarsLib/1.46.20) (2022-12-07)
#### Added
- 新增「護目鏡」
#### Fixed bugs:
- 修正在被冰凍的狀態下投擲電磁斧,可能會發生雙手凍結的BUG
- 修正雙截刃傷害範圍不正確的BUG
## [v1.46.1](/view/TwilightWarsLib/1.46.1) (2022-11-11)
#### Added
- NinjaShadowEffect
## [v1.45.5](/view/TwilightWarsLib/1.45.5) (2022-11-04)
#### Added
- 新增元素舍利AI
- 新增元素舍利道具
## [v1.44.13](/view/TwilightWarsLib/1.44.13) (2022-10-24)
#### Changed
- game.setCameraZoom(value, options: {duration?: number, setDefault?: boolean})
#### Fixed bugs:
- 修正烈酒、肉、醫藥箱被拾取時有時會發生不正常結果的bug。
- 修正死神在某些情況下會失去死神能力的bug
## [v1.44.6](/view/TwilightWarsLib/1.44.6) (2022-10-18)
#### Added
- 新增武器「飛鎖鐮刀」
- 新增「飛鎖鐮刀」的召喚獸「死神」
#### Fixed bugs:
- 修正比攝影機範圍還小的地圖會無法正確繪製地圖
- 飛鎖鐮刀回收的動畫有小glitch
- AI使用手裏劍不會發動技能
- 攝影機視野增加時無法正確繪製地圖
## [v1.43.9](/view/TwilightWarsLib/1.43.9) (2022-08-25)
#### Fixed bugs:
- 可推方塊在沉入水中後重新浮出會在下次下沉浮出後出現bug
## [v1.43.0](/view/TwilightWarsLib/1.43.0) (2022-07-13)
#### Added
- 新增「聲望戒指」
## [v1.42.8](/view/TwilightWarsLib/1.42.8) (2022-07-07)
#### Added
- 遊戲規則新增PLAYER_AVOID_FRIEND_FIRE
#### Fixed bugs:
- 修正淹水機關淹到其他機關時會發生的bug
## [v1.42.6](/view/TwilightWarsLib/1.42.6) (2022-06-30)
#### Changed
- 第三勢力小刀技能「血刃」降低打中AI的怒氣值增加效果。
#### Fixed bugs:
- 修正CustomLaserEffect沒有完全同步的問題。
## [v1.42.3](/view/TwilightWarsLib/1.42.3) (2022-06-25)
#### Fixed bugs:
- 支援動作「執行事件表」
- 修正水晶弓爆炸箭會出現的exception。
## [v1.42.1](/view/TwilightWarsLib/1.42.1) (2022-06-22)
#### Added
- MapArrowDirect(地圖箭頭)
## [v1.41.14](/view/TwilightWarsLib/1.41.14) (2022-06-19)
#### Fixed bugs:
- 修正手裏劍的一些問題
- 修正開槍時使用復活藥水有可能出現的bug
## [v1.41.10](/view/TwilightWarsLib/1.41.10) (2022-06-13)
#### Fixed bugs:
- 修正人物對話框含有按鈕時的寬度問題。
- 修正人物對話框的按鈕文字可加\n換行符號。
## [v1.41.0](/view/TwilightWarsLib/1.41.0) (2022-06-03)
#### Added
- 新增 FireTrap (噴火機關)
- 新增 MapBlockSensor (可推石塊感壓機關)
#### Fixed bugs:
- 修正某些情況下,死亡還能撿武器的bug
## [v1.40.5](/view/TwilightWarsLib/1.40.5) (2022-05-25)
#### Added
- 新增ActorGhost的變種人物
- 新增Actor.startHelpChargeMana()
- 新增Actor.stopHelpChargeMana()
#### Fixed bugs:
- 修正投擲類武器在投擲者死亡時有可能出現不合理狀態的bug
- 修正AI在某些狀態下無法正常發動黑龍領主的問題
- 修正淹水機關在遊戲中途關閉後會出現的問題
## [v1.39.4](/view/TwilightWarsLib/1.39.4) (2022-05-06)
#### Fixed bugs:
- 修正在無法換武器的狀態中還能使用快捷鍵的bug
## [v1.39.0](/view/TwilightWarsLib/1.39.0) (2022-04-28)
#### Fixed bugs:
- 修正AI在戰鬥時沒有遵守他的移動範圍的限制的問題
## [v1.38.3](/view/TwilightWarsLib/1.38.3) (2022-04-26)
#### Changed
- MindForceAbility可以把技能加在別的角色身上
#### Fixed bugs:
- 修正控制AI走到不同區域會卡住的問題
## [v1.38.2](/view/TwilightWarsLib/1.38.2) (2022-04-26)
#### Added
- 新增武器「雙截刃」
## [v1.37.7](/view/TwilightWarsLib/1.37.7) (2022-04-18)
#### Added
- 新增一些新地圖
#### Changed
- Camp.battleReportPanelStyles可以設定自訂陣營在戰鬥狀況視窗的顏色
- 白/黑/彩色煙火會對人物有吸引/排斥/停止的作用
#### Fixed bugs:
- fix觀戰有可能會扣電競規則書的bug
## [v1.36.13](/view/TwilightWarsLib/1.36.13) (2022-03-28)
#### Added
- Actor.forcedVisible
## [v1.36.12](/view/TwilightWarsLib/1.36.12) (2022-03-07)
#### Fixed bugs:
- 修正手裏劍數量在某些情況下不正確的bug
## [v1.36.11](/view/TwilightWarsLib/1.36.11) (2022-02-25)
#### Fixed bugs:
- 修正使用格林槍的AI有時會停止對敵人射擊的bug
## [v1.36.10](/view/TwilightWarsLib/1.36.10) (2022-02-23)
#### Changed
- 任務組團的房間內可以將沒反應的玩家請出去
#### Fixed bugs:
- 修正秘笈無效的bug
## [v1.36.7](/view/TwilightWarsLib/1.36.7) (2022-02-20)
#### Fixed bugs:
- 修正任務中可以使用商店的麻醉槍的bug
## [v1.36.0](/view/TwilightWarsLib/1.36.0) (2022-02-12)
#### Added
- 加入狂暴藍猩猩的AI (使用入狂暴藍猩猩的造型/團隊號碼決定初始狀態:100以上/100以下)
## [v1.35.13](/view/TwilightWarsLib/1.35.13) (2022-01-27)
#### Fixed bugs:
- 修正尖刺機關在傷害人物時造成的bug
## [v1.35.12](/view/TwilightWarsLib/1.35.12) (2022-01-19)
#### Fixed bugs:
- 可推機關在地圖上的設定沒有正確引用。
## [v1.35.8](/view/TwilightWarsLib/1.35.8) (2022-01-11)
#### Added
- 增加三張官方地圖
## [v1.35.7](/view/TwilightWarsLib/1.35.7) (2021-12-30)
#### Changed
- ShieldWave增加 setHitInterval()可調整傷害的間隔時間
## [v1.35.2](/view/TwilightWarsLib/1.35.2) (2021-11-26)
#### Added
- 下雨特效
- 打雷特效
## [v1.34.2](/view/TwilightWarsLib/1.34.2) (2021-11-08)
#### Changed
- 激戰區以及單人練習在遊戲結束後有金幣加給。
## [v1.33.3](/view/TwilightWarsLib/1.33.3) (2021-10-29)
#### Added
- 新增遠程武器「手裏劍」
## [v1.30.0](/view/TwilightWarsLib/1.30.0) (2021-09-26)
#### Added
- 地圖新增圓角柱,角色跳躍可穿過,子彈也可穿過。
#### Changed
- Actor.strength的setter改為 Actor.setStrength()
- WeaponInfo.damage的setter改為 WeaponInfo.setDamage()
## [v1.29.20](/view/TwilightWarsLib/1.29.20) (2021-09-24)
#### Fixed bugs:
- 修正斜向跳躍時,遇到柱子依跳躍方向會有不一致結果的BUG
- 修正骰子不同步的BUG
## [v1.29.17](/view/TwilightWarsLib/1.29.17) (2021-09-22)
#### Added
- 新增支援同人陣的觀戰機制,更新方法:
1. 複製更新 setups/setupSingleMission.ts (https://code.gamelet.com/edit/TWEventsGameTemplate)
- 主要更新處 screenManager.onGamehallScreenResult
- 主要更新處 screenManager.openScreenAfterLeaveGame
## [v1.29.14](/view/TwilightWarsLib/1.29.14) (2021-09-21)
#### Changed
- adapt new server/glt lib
#### Fixed bugs:
- 修正烈酒在遊戲暫停時仍會作用的BUG
## [v1.28.21](/view/TwilightWarsLib/1.28.21) (2021-09-12)
#### Fixed bugs:
- 修正AI在某些情況會中斷技能集氣的BUG
#### Changed
- 改變AI思考問題的順序
## [v1.28.14](/view/TwilightWarsLib/1.28.14) (2021-09-08)
#### Fixed bugs:
- 修正在大廳中開啟電競房的種種BUG
## [v1.28.9](/view/TwilightWarsLib/1.28.9) (2021-09-06)
#### Added
- 新增「電競規則書」
- 新增電競「攻城戰」
#### Changed
- 增加攻擊造成敵人受傷的音效
## [v1.28.5](/view/TwilightWarsLib/1.28.5) (2021-09-04)
#### Changed
- 電競房最多人數增加
- 使用武器擊中敵人時新增音效
## [v1.27.3](/view/TwilightWarsLib/1.27.3) (2021-08-29)
#### Added
- 新增武器「長程麻醉槍」
#### Fixed bugs:
- 修正對戰大廳中無法正常顯示遊戲室中的陣營人數
- 修正電競刀戰/槍戰沒有正確設定戰場的bug
- 修正AI手上有電磁斧時有時會無法決定用哪個武器的bug
## [v1.27.1](/view/TwilightWarsLib/1.27.0) (2021-08-29)
#### Added
- 電競房新增電競聊天室
#### Fixed bugs:
- 修正電競房無法再玩一次的bug
## [v1.26.4](/view/TwilightWarsLib/1.26.4) (2021-08-26)
#### Added
- 開放武器「電競主持棒」
## [v1.25.6](/view/TwilightWarsLib/1.25.6) (2021-08-22)
#### Added
- mission.open.requireMissionComplete
- prepare elec-sport game room
## [v1.24.13](/view/TwilightWarsLib/1.24.13) (2021-08-16)
#### Added
- 新增 MapTrigger (拉桿機關)
- 新增 MapSign (告示牌)
- 新增一些畫面特效
## [v1.23.9](/view/TwilightWarsLib/1.23.9) (2021-08-12)
#### Added
- 新增「馬茲席塔」的特殊人物模型/AI
#### Changed
- 改進AI使用的各武器近武二技的時機
- 巨斧二技飛行後,最後降落的攻擊方向會參考當時的滑鼠位置
#### Fixed bugs:
- 巨斧二技的飛行距離極短的bug
## [v1.22.56](/view/TwilightWarsLib/1.22.56) (2021-08-09)
#### Fixed bugs:
- 修正非光暈的事件表無法執行的問題
- 修正系統動作「執行事件表」無法開啟光暈遊戲的bug
## [v1.22.52](/view/TwilightWarsLib/1.22.52) (2021-08-04)
#### Added
- added PuppetController
## [v1.22.43](/view/TwilightWarsLib/1.22.43) (2021-07-17)
#### Changed
- the options of screenManager.showMissionList adds onMissionSelect: (season, chapter, mission) => void;
## [v1.22.39](/view/TwilightWarsLib/1.22.39) (2021-07-12)
#### Added
- 增加第三勢力任務需要的地圖
- 增加AI使用的 MindForceAbility
## [v1.22.30](/view/TwilightWarsLib/1.22.30) (2021-07-10)
#### Added
- 支援同人陣自製道具
## [v1.22.12](/view/TwilightWarsLib/1.22.12) (2021-07-07)
#### Added
- 新增自訂樣式的激光特效。
- 客製武器支援twrole造型。
## [v1.22.6](/view/TwilightWarsLib/1.22.6) (2021-07-04)
#### Fixed bugs:
- 修正「激光槍」造成遊戲異常的BUG
- 修正以快捷鍵使用道具的bug
## [v1.22.0](/view/TwilightWarsLib/1.22.0) (2021-07-02)
#### Added
- 新增武器「激光槍」
## [v1.21.54](/view/TwilightWarsLib/1.21.54) (2021-07-01)
#### Fixed bugs:
- 修正使用道具時未更新道具狀態的bug
## [v1.21.52](/view/TwilightWarsLib/1.21.52) (2021-06-29)
#### Added
- 公開道具噬魂秘藥/酒/回魂生血劑
## [v1.21.27](/view/TwilightWarsLib/1.21.27) (2021-06-25)
#### Added
- 天影大刀二技公開
- 皇家大刀二技公開
- 皇家大刀一技調整
#### Fixed bugs:
- 修正殭屍來襲中的一些BUG
## [v1.21.24](/view/TwilightWarsLib/1.21.24) (2021-06-24)
#### Added
- 單人練習「殭屍來襲」完成並公開
- 公開第三勢力大刀二技:爆血轉生
- 技能發動後,角色會持續變大,最後產生一個血爆對附近角色造成傷害
- 技能結束時,角色死亡,下一命的最大血量會增加
- 技能發動時,行動速度隨時間降低,防禦力隨時間增強(最高90%)
- 行動速度的降低幅度隨聲望增加而減少
- 技能完成所需時間隨聲望增加而減少
#### Fixed bugs:
- 修正BUG: 使用 myProfile.awardBadge 不會正確跳出獲得勳章的視窗
## [v1.21.19](/view/TwilightWarsLib/1.21.19) (2021-06-23)
#### Added
- 單人練習「殭屍來襲」測試
#### Fixed bugs:
- 修正札伊兒支流的邊界問題
## [v1.20.44](/view/TwilightWarsLib/1.20.44) (2021-06-12)
#### Fixed bugs:
- 修正丟擲性武器在飛行過程中有玩家加入遊戲室時會發生的同步問題。
- 修正紅外線瞄準器造成某些武器丟出exception的BUG
## [v1.20.40](/view/TwilightWarsLib/1.20.40) (2021-06-09)
#### Added
- 新增商店道具「紅外線瞄準器」
## [v1.20.25](/view/TwilightWarsLib/1.20.25) (2021-06-04)
#### Added
- 測試殭屍角色
- 地圖機關「燭火」
## [v1.20.17](/view/TwilightWarsLib/1.20.17) (2021-05-31)
#### Added
- 支援客製武器系統
## [v1.20.12](/view/TwilightWarsLib/1.20.12) (2021-05-31)
#### Added
- 任務設定新增「玩家所有命都結束後可以自由移動攝影機」
#### Changed
- 玩家所有命用光後會使用觀戰攝影機
## [v1.20.0](/view/TwilightWarsLib/1.20.0) (2021-05-26)
#### Added
- 增加武器「白銀雙鷹」(doubleGuns)
- 準備客製武器系統的環境
## [v1.19.16](/view/TwilightWarsLib/1.19.16) (2021-05-23)
#### Changed
- 增加火戒火拳的大小、速度、飛行距離
#### Fixed bugs:
- 修正閃光彈炸到AI後,AI仍會繼續追殺的BUG
## [v1.19.6](/view/TwilightWarsLib/1.19.6) (2021-05-16)
#### Added
- 新增單人練習模式
- 新增多張對戰地圖
#### Changed
- 負數團隊號碼會讓第三勢力無視團隊互打。
- 若開啟封閉式遊戲室(激戰/單人練習),玩家角色剛進遊戲時不再有閃爍時間。
## [v1.18.4](/view/TwilightWarsLib/1.18.4) (2021-05-12)
#### Added
- 增加誤殺顯示標示
- 新增尖刺陷井機關
- 新增地圖「南極冰環島」
#### Fixed bugs:
- 修正燭火被火焰點燃會有不同步情況的bug
## [v1.18.0](/view/TwilightWarsLib/1.18.0) (2021-05-08)
#### Added
- 新增火焰戒指及其技能
## [v1.17.42](/view/TwilightWarsLib/1.17.42) (2021-05-07)
#### Changed
- 加強任務頁面顯示等待中隊伍的列表順序
- 調整火箭炮的碰撞範圍,以避免穿越卻不爆的問題
#### Fixed bugs:
- 修正影輕功可無限踏牆的bug
- 修正野戰區常常會進入只能成為靈體的房間的問題
- 修正有時會一次死兩命的bug
- 修正武器被電磁斧打掉後的使用次數計算
## [v1.17.37](/view/TwilightWarsLib/1.17.37) (2021-04-30)
#### Changed
- improve GamehallRoomScreen sync process
## [v1.17.33](/view/TwilightWarsLib/1.17.33) (2021-04-28)
#### Changed
- improve GamehallRoomScreen loading order
## [v1.17.28](/view/TwilightWarsLib/1.17.28) (2021-04-25)
#### Fixed bugs:
- 修正被電磁斧擊落的商武可以馬上再次拿出來的bug
## [v1.17.27](/view/TwilightWarsLib/1.17.27) (2021-04-24)
#### Added
- MapFlood
- Senario system
- LavaSenario
## [v1.17.25](/view/TwilightWarsLib/1.17.25) (2021-04-23)
#### Changed
- Sound/Music on toolbar has ability to change volume
- restrict fps to max 100
#### Fixed bugs:
- fix wormhole moves over speed when fps is too high
- fix mapRenderer did not get disposed on GamehallRoomScreen
- fix BattleReportPanel did not close after leaving a game
## [v1.17.24](/view/TwilightWarsLib/1.17.24) (2021-04-19)
#### Added
- Actor.setDamageBlocker()
## [v1.17.15](/view/TwilightWarsLib/1.17.15) (2021-04-15)
#### Changed
- add ActorIceSoul glow animation
- game.startMist(), game.stopMist()
#### Fixed bugs:
- fix ActorIceSoul
- fix RotateAxe hitArea
- fix iceFist did damage on punch
- fix IceBlock did not melt from flaming
- fix ActorSpirit issues
## [v1.17.4](/view/TwilightWarsLib/1.17.4) (2021-04-14)
#### Added
- add more maps
- add VolcanoLevel.sendCreateMessage()
- add actor.sendVolcanoActorMessage()
#### Fixed bugs:
- fix BilongBo damage values
## [v1.17.0](/view/TwilightWarsLib/1.17.0) (2021-04-12)
#### Added
- Device: RotateAxe
- Device: ArrowTrap
## [v1.16.1](/view/TwilightWarsLib/1.16.1) (2021-04-08)
#### Added
- Support custom role design in arena
## [v1.15.33](/view/TwilightWarsLib/1.15.33) (2021-04-06)
#### Changed
- prepare custom role slots
## [v1.15.29](/view/TwilightWarsLib/1.15.29) (2021-04-03)
#### Added
- add device: IceSoulGenerator
- add BossIceSoul
- southpole maps add "backgroundColor: FFFFFF" to hide the grid lines
## [v1.15.19](/view/TwilightWarsLib/1.15.19) (2021-03-28)
#### Added
- actor.sendColourlongboMessage()
- actor.sendFirelongbo()
## [v1.15.9](/view/TwilightWarsLib/1.15.9) (2021-03-23)
#### Added
- Show alert dialog when the login user is suspended
#### Changed
- Iaido now shock actors, and delay damages
- Enlarge Rocket hit-radius
- equipManager.setEquipStatus can equip carryItem types
#### Fixed bugs:
- fix IceSaber skill bugs
- fix bug: Actor.floatType does not work correctly
## [v1.15.0](/view/TwilightWarsLib/1.15.0) (2021-03-19)
#### Added
- add Ice Saber and its abilities
- add ActorIceSoul
- add RingWeapon
## [v1.14.22](/view/TwilightWarsLib/1.14.22) (2021-03-05)
#### Added
- prepare RoleDecoration for custom roleDesignData
## [v1.14.2](/view/TwilightWarsLib/1.14.2) (2021-02-21)
#### Changed
- ActorClip add ActorCape between body and feet
## [v1.13.6](/view/TwilightWarsLib/1.13.6) (2021-02-17)
#### Added
- Define Gamezones in TWZone.ts
## [v1.13.4](/view/TwilightWarsLib/1.13.4) (2021-02-16)
#### Changed
- improve wormhole performance
#### Fixed bugs:
- fix black screen issue
## [v1.13.2](/view/TwilightWarsLib/1.13.2) (2021-02-11)
#### Added
- add MapCandle map Devices
- gameStartOptions/eventsStartOptions add "disableCampPointsAward: boolean" option
#### Fixed bugs:
- fix player can use hotkey to interrupt weapon change/weapon charge animation
- self kill now counts as fault kill
- fix talk input did not release focus when mouse click on battle field.
## [v1.12.16](/view/TwilightWarsLib/1.12.16) (2021-02-09)
#### Fixed bugs:
- TreasureBox.tryAwardItem should not check mission status when retrying
## [v1.12.3](/view/TwilightWarsLib/1.12.3) (2021-01-27)
#### Added
- add wormhole ability
- add bugform ability
- add item spikes
## [v1.10.2](/view/TwilightWarsLib/1.10.2) (2021-01-19)
#### Fixed bugs:
- role did not display correctly on role select panel
- do not render chat panel when it is hidden
- In open-type room, The third camp will not enter the rooms that has joined previously
- hatchet did not knock off shield from actor
## [v1.10.0](/view/TwilightWarsLib/1.10.0) (2021-01-16)
#### Added
- add new maps
## [v1.9.6](/view/TwilightWarsLib/1.9.6) (2021-01-16)
#### Added
- add BowWeapon
- add abilities of bow weapon
#### Fixed bugs:
- fix Tornado invisble when campPoints less then 10
## [v1.8.19](/view/TwilightWarsLib/1.8.19) (2021-01-11)
#### Changed
- Refector how cache pool works
## [v1.8.7](/view/TwilightWarsLib/1.8.7) (2021-01-08)
#### Changed
- use CG.Base.utils.Updater to manager all updates of a game
#### Fixed bugs:
- fix Actor.dispose(), moveState was set after disposed
## [v1.8.2](/view/TwilightWarsLib/1.8.2) (2021-01-08)
#### Added
- add RocketLauncher
## [v1.7.4](/view/TwilightWarsLib/1.7.4) (2021-01-03)
#### Added
- add TimeBomb weapon
- add Tornado (royal knife lv.2 ability)
## [v1.6.39](/view/TwilightWarsLib/1.6.39) (2020-12-23)
#### Changed
- slowdown first fire when AI found an enemy
## [v1.6.31](/view/TwilightWarsLib/1.6.31) (2020-11-26)
#### Fixed bugs:
- fix groundFire exceptions
- fix talkBubble may be cut by screen bug
## [v1.6.27](/view/TwilightWarsLib/1.6.27) (2020-11-19)
#### Added
- add lumi items
- add armor items
- add auto aim
#### Fixed bugs:
- ai gotoLoc when game paused does not faceGoto
- fix elmar.twmap
## [v1.6.10](/view/TwilightWarsLib/1.6.10) (2020-11-03)
#### Added
- game now emit ActorPickupStuff event when an actor picks a stuff
- more stuffType added
## [v1.6.0](/view/TwilightWarsLib/1.6.0) (2020-10-30)
#### Fixed bugs:
- Fixed a bug in TwilightWarsConfig.definition.ts. change "enabled" to "runGame" to avoid naming conflict.
## [v1.5.61](/view/TwilightWarsLib/1.5.61) (2020-10-28)
#### Added
- screenManager add openScreenAfterLeaveGame() option
## [v1.5.59](/view/TwilightWarsLib/1.5.59) (2020-10-20)
#### Added
- TipOnMapManager to add talkBubble on map.
- ai emit Game.EVENT.AI_FOUND_ACTOR event.
- new StuffType: TreasureBox
## [v1.5.54](/view/TwilightWarsLib/1.5.54) (2020-10-08)
#### Added
- add more maps
- missionManager emit events when
- missionComplete
- chapterComplete
- chapterReset
- new gameRule about awarding/penalty camp point on gameover
#### Changed
- mission team list shows room creator network
#### Fixed bugs:
- AI sometimes do not swing weapon when trying to use ability
## [v1.5.46](/view/TwilightWarsLib/1.5.46) (2020-10-03)
#### Added
- MissionManager.resetChapterState();
#### Fixed bugs:
- Land on water caused looped falling into water.
- Actor did not stop moving when using revive potion.
- Caused exceptions when join the same battle with different camp.
## [v1.5.43](/view/TwilightWarsLib/1.5.43) (2020-10-03)
#### Added
- new features added
#### Changed
- what were changed
#### Fixed bugs:
- bugs that are fixed
## [v1.5.42](/view/TwilightWarsLib/1.5.42) (2020-10-02)
#### Fixed bugs:
- Fix game does not sync properly on game start
- https://code.gamelet.com/discuss/p/TwilightWars/issue/833/0
## [v1.5.35](/view/TwilightWarsLib/1.5.35) (2020-09-28)
#### Added
- ManaCircle
- GameMap.listTileLocsFrom()
- TWLoc.listLocs()
#### Fixed bugs:
- fix Arena AI sometimes try to keep walking to a not reachable loc.
- MindGoGetWeapon did not switch weapon.
## [v1.4.28](/view/TwilightWarsLib/1.4.28) (2020-09-18)
#### Changed
- if a game with eventManager, you must do game.start(eventManager)
- add Game.EVENT.GAME_SETUP when game first get started
- TwilightWarsConfig add game fadein options
#### Fixed bugs:
- in a mission, when no player suvives, the game did not end.
## [v1.4.9](/view/TwilightWarsLib/1.4.9) (2020-09-17)
#### Added
- Player can select different character per camp on profile dialog.
#### Changed
- all mission default to warp to nearest enemy for royal hook weapon ability
#### Fixed bugs:
- locked room should start the game after all players synced.
- leave game didn't actually leave the room until the next game.
## [v1.3.22](/view/TwilightWarsLib/1.3.22) (2020-09-10)
#### Added
- add ItemUsage (just a draft design), some items are disabled in missions
- ai brains mind manipulators
- brain.cleanMinds()
- brain.addMind()
- brain.filterMinds()
#### Changed
- better location for hatchet to relocate after hitting wall
- AI can follow actor to different section (not yet for following enemy)
#### Fixed bugs:
- AI follow actorCode is working now
- Game.EVENT.ACTOR_LOC_CHANGE was not emitted at the correct time when actor just created
- Actor spawn point was not randomized
## [v1.2.6](/view/TwilightWarsLib/1.2.6) (2020-09-02)
#### Added
- add 3 more maps for third training missions
#### Fixed bugs:
- fix missionScreen display bugs
## [v1.1.3](/view/TwilightWarsLib/1.1.3) (2020-08-31)
#### Added
- missionManager.setState, missionManager.getState
- mission/chapter open can now check for states
- missionManager.debug()
#### Changed
- better missionScreen arrangement
#### Fixed bugs:
- fix a bug when entering a already-over gameroom
- fix a bug where frisbee ability resets normal ability state instead of guardian state.
## [v1.0.4](/view/TwilightWarsLib/1.0.4) (2020-08-27)
#### Fixed bugs:
- Fix Axe Lv2 skill may move actor to an unreachable location.
## [v1.0.3](/view/TwilightWarsLib/1.0.3) (2020-08-25)
#### Added
- TwilightWarsConfig.definition adds "debugCamp" to set player's camp on debug mode.
#### Changed
- Update Base lib and support pixi.js v5
## [v0.16.17](/view/TwilightWarsLib/0.16.17) (2020-08-19)
#### Added
- Add weapon frisbee
- game.emitReleasePowerEvent(event:ReleasePowerEvent) to catch the event and the chance to do custom powers
#### Changed
- manaPower +100 when executing an event-sheet (doing mission needs min 100 manapower for consistancy)
- better parsing missions json
- shows complete info and more in mission list screen
#### Fixed bugs:
- missionManager didnot parse camp info correctly
## [v0.15.34](/view/TwilightWarsLib/0.15.34) (2020-08-09)
#### Added
- add flee button when battle
- add game preloader on screenManager
- TwilightWarsConfig adds useDefaultMapItems
- add default.events.json with black background
#### Changed
- Users in GamehallRoom of mission can change their camp settings.
- gameStartValidator is now customizable throw GamehallRoomScreenOptions.gameStartValidator;
- update camera by time
#### Fixed bugs:
- correctly set default minPlayers/maxPlayers when open gamehallRoomScreen
- fix missionManager, correctly process missionComplete events
- ai did not go idle when game paused
- ai init rotation was not set correctly
- eventManager wasn't synced in multiplayer environment
- weapons disappeared that ai drops when die
- camera focus didnot reset when skydow die with knife.lv1.skill on.
## [v0.14.5](/view/TwilightWarsLib/0.14.5) (2020-07-19)
#### Fixed bugs:
- fix screen color whitened and resized after events-game ends
## [v0.14.4](/view/TwilightWarsLib/0.14.4) (2020-07-18)
#### Changed
- IMPORTANT typo correction: Game.EVENT.ACTOR_OVER_ATTEMPT
- support gameOverType(arena or mission)
## [v0.13.33](/view/TwilightWarsLib/0.13.33) (2020-07-17)
#### Added
- actor.sendActorHealMessage();
## [v0.13.32](/view/TwilightWarsLib/0.13.32) (2020-07-16)
#### Fixed bugs:
- reload weapon never ends bug.
## [v0.13.29](/view/TwilightWarsLib/0.13.29) (2020-07-15)
#### Added
- AI can use abilities
## [v0.13.10](/view/TwilightWarsLib/0.13.10) (2020-07-04)
#### Fixed bugs:
- weapon reload not synced when actor dies while reloading
- skyTileAlpha does not reset when camera goes to different section
- games built from gamehall does not process next game correctly.
- gatling gun shifted a bit when actor leaves from its seat.
- shieldWave does not reflect in correct angle.
## [v0.13.5](/view/TwilightWarsLib/0.13.5) (2020-06-30)
#### Added
- add screenManager
* to manage switching screens
* can customize processing the result from screen promiss
- add functions to make AI patrol along a path
## [v0.12.6](/view/TwilightWarsLib/0.12.6) (2020-06-27)
#### Changed
- showCampScreen now takes an "options: CampScreenOption" as the only parameter
## [v0.12.5](/view/TwilightWarsLib/0.12.5) (2020-06-11)
#### Changed
- improve global chat input box
#### Fixed bugs:
- global chat input did not stopPropagation keyboard events.
- sometimes the resources never complete when entering a game.
## [v0.12.4](/view/TwilightWarsLib/0.12.4) (2020-06-11)
- call of duty system
- global chat panel
- showGamehallScreen()
- showGamehallRoomScreen()
## [v0.12.1](/view/TwilightWarsLib/0.12.1) (2020-06-07)
#### Changed
- Camp Screen now support full official menu items
## [v0.11.3](/view/TwilightWarsLib/0.11.3) (2020-04-25)
#### Added
- Hatchet implemented
- Gatling implemented(online syncing not tested)
## [v0.10.0](/view/TwilightWarsLib/0.10.0) (2020-04-18)
#### Changed
- update TWMap to support updated MapResource format (supporting .twmap/.twmab that built by [TWMapEdit](https://twmapedit.gamelet.online))
## [v0.9.3](/view/TwilightWarsLib/0.9.3) (2020-03-29)
#### Changed
- The tilesets are now setup in TWMap lib
## [v0.8.21](/view/TwilightWarsLib/0.8.21) (2020-03-15)
#### Added
- Pushable Block Devices
- Trees (burnable and cuttable)
- Flamethrower
- GiantAxe abilities
- Grenade: bomb/stun/smoke
#### Changed
- what were changed
#### Fixed bugs:
- bugs that are fixed
## [v0.8.20](/view/TwilightWarsLib/0.8.20) (2020-03-14)
#### Changed
- implement itemStoreManager in Game (to equip weapons)
#### Fixed bugs:
- processUnwired did not handle move keys well
- block auto move trigger did not sync
## [v0.8.1](/view/TwilightWarsLib/0.8.1) (2020-02-25)
#### Added
- Add two gameControllers
#### Changed
- change IGameOverDetector to IGameController
## [v0.7.12](/view/TwilightWarsLib/0.7.12) (2020-02-22)
#### Added
- add mechanism to detect unplugged players
- change gameOverDetector to game controller
- add VSHpBars interface
## [v0.7.11](/view/TwilightWarsLib/0.7.11) (2020-02-18)
#### Added
- Actor drop coins when death
#### Fixed bugs:
- fix talk bubble/background positions shifted when quality changed
- prevent guest user from requesting his wallet data
#### Changed
- Tab BattleReportPanel will not block mouse events before gameOver
## [v0.7.1](/view/TwilightWarsLib/0.7.1) (2020-02-15)
#### Added
- add toolbar backpack
- E key to open backpack in game
#### Fixed bugs:
- fix jump state ending not synced
## [v0.6.72](/view/TwilightWarsLib/0.6.72) (2020-02-04)
#### Added
- add jump state
## [v0.6.69](/view/TwilightWarsLib/0.6.69) (2020-02-01)
#### Added
- MyProfile to manage coins/kills/campPoints
- MyProfileDialog to show profile values
- add network status on TWarToolbar
#### Fixed bugs:
- MyActorController should not emit Unsetkey down event when body is not idling
- reset actor movement when window.onblur
- fix creator duplicate weapons when re-enter the room he created.
## [v0.6.59](/view/TwilightWarsLib/0.6.59) (2020-01-30)
#### Added
- TWarToolbar
- Default music
## [v0.6.47](/view/TwilightWarsLib/0.6.47) (2020-01-23)
#### Added
- add FireworkWeapon
## [v0.6.44](/view/TwilightWarsLib/0.6.44) (2020-01-22)
#### Added
- TWarUtil provide utils to easily submit camp points and coins
- add showGameNotification
- add showErrorNotification
## [v0.6.39](/view/TwilightWarsLib/0.6.39) (2020-01-19)
#### Changed
- ActorImage nickname should copy from refActor
- BattleReportPanel is restyled
- WarpState now does not block attack/move/swap/reload, and also take damages
#### Fixed bugs:
- Helongbo damage did not favor the first hit.
- ActorImage wasn't count down its lifetime
- fix attack ally gives scores
## [v0.6.29](/view/TwilightWarsLib/0.6.29) (2020-01-18)
#### Added
- ActorImage implemented (shield skill)
## [v0.6.25](/view/TwilightWarsLib/0.6.25) (2020-01-16)
#### Fixed bugs:
- fix exception bugs when game over
## [v0.6.24](/view/TwilightWarsLib/0.6.24) (2020-01-15)
#### Fixed bugs:
- fix exception bugs when game over
## [v0.6.22](/view/TwilightWarsLib/0.6.22) (2020-01-15)
#### Added
- add error report when error caught
## [v0.6.18](/view/TwilightWarsLib/0.6.18) (2020-01-14)
#### Changed
- Hook weight set to lighter
#### Fixed bugs:
- fix helongbo damage problem(only head gives dmgs)
- fix keyboard focus issue
- fix warp can pick up item bug
## [v0.6.16](/view/TwilightWarsLib/0.6.16) (2020-01-13)
#### Changed
- Support single player offline mode
## [v0.6.15](/view/TwilightWarsLib/0.6.15) (2020-01-11)
#### Added
- TAB to toggle BattleReport panel
#### Changed
- BattleReport panel shows empty spaces for new players to join
## [v0.6.9](/view/TwilightWarsLib/0.6.9) (2020-01-09)
#### Added
- add weight parameter when create actor
#### Changed
- update gameroom decision maker when a new player joins
- longer AI think interval
## [v0.6.6](/view/TwilightWarsLib/0.6.6) (2020-01-08)
#### Changed
- The game remembers the same user's life state when the user re-enter a gameroom.
## [v0.6.5](/view/TwilightWarsLib/0.6.5) (2020-01-07)
#### Added
- add sword skills for skydow/royal
## [v0.6.3](/view/TwilightWarsLib/0.6.3) (2020-01-05)
#### Added
- add hook skills for skydow/royal
#### Fixed bugs:
- deathtimes didnot sync and cause invincible actors
## [v0.5.17](/view/TwilightWarsLib/0.5.17) (2019-12-31)
#### Added
- add en interface
## [v0.5.16](/view/TwilightWarsLib/0.5.16) (2019-12-29)
#### Added
- shield can push back actors
## [v0.5.9](/view/TwilightWarsLib/0.5.9) (2019-12-28)
#### Changed
- SimpleGameStarter now take twmap path parameter
- weaken AI rifle usage
- ai should not move in born state
#### Fixed bugs:
- Weapon not synced correctly
- Shield was not working correctly
## [v0.4.0](/view/TwilightWarsLib/0.4.0) (2019-12-27)
#### Added
- is now able to do a full cycle of game, including cover screen/camp screen/game/game over
## [v0.3.1](/view/TwilightWarsLib/0.3.1) (2019-12-19)
#### Added
- ability states
- too many updates
## [v0.2.0](/view/TwilightWarsLib/0.2.0) (2019-10-21)
#### Changed
- ServerConfig is removed.
- TwilightWarsConfig includes ServerConfig, and is taking care of ServerConfig in this lib.
## [v0.1.0](/view/TwilightWarsLib/0.1.0) (2019-10-09)
#### Added
- support CG.Server connections
## [v0.0.1](/view/TwilightWarsLib/0.0.1) (2018-12-15)
#### Added
- Create Game
- Add Actor
- Add Stuff