From aafcafa98273a117de4b2ab06f7154082b183e2a Mon Sep 17 00:00:00 2001 From: SHater99 <32800408+SHater99@users.noreply.github.com> Date: Sun, 15 Oct 2017 04:55:58 +0800 Subject: [PATCH 1/8] Update player.json --- Assets/Config/player.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Assets/Config/player.json b/Assets/Config/player.json index 861405e..ddca82f 100644 --- a/Assets/Config/player.json +++ b/Assets/Config/player.json @@ -1,10 +1,10 @@ { - "speed": 10, - "atk": 4, - "skill CD": 8, - "skill duration": 3, - "X min": -8, - "X max": 8, - "Y min": -2.2, - "Y max": 1.5 -} \ No newline at end of file + "speed": 8, + "atk": 3, + "skill CD": 9, + "skill duration": 2, + "X min": -9, + "X max": 9, + "Y min": -3.2, + "Y max": 2.5 +} From 251eff69a63c6bb0dac45cecac244ae6cee21704 Mon Sep 17 00:00:00 2001 From: SHater99 <32800408+SHater99@users.noreply.github.com> Date: Sun, 15 Oct 2017 04:57:25 +0800 Subject: [PATCH 2/8] Update enemy.json --- Assets/Config/enemy.json | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Assets/Config/enemy.json b/Assets/Config/enemy.json index 96ddbce..119c919 100644 --- a/Assets/Config/enemy.json +++ b/Assets/Config/enemy.json @@ -3,17 +3,17 @@ { "name": "enemy1", "id": 0, - "speed": 2, - "damage": 4, - "max HP": 5, - "Y min": -2.1, - "Y max": 1.3 + "speed": 3, + "damage": 5, + "max HP": 6, + "Y min": -1.1, + "Y max": 0.3 }, { "name": "enemy2", "id": 1, - "speed": 4, - "damage": 3, + "speed": 5, + "damage": 4, "max HP": 8, "Y min": -2.1, "Y max": 1.3 @@ -30,20 +30,20 @@ { "name": "enemy4", "id": 3, - "speed": 10, - "damage": 1, - "max HP": 4, + "speed": 11, + "damage": 2, + "max HP": 5, "Y min": -2.1, "Y max": 1.15 }, { "name": "enemy5", "id": 4, - "speed": 1, + "speed": 2, "damage": 3, - "max HP": 20, + "max HP": 22, "Y min": -2.2, "Y max": 1.3 } ] -} \ No newline at end of file +} From 64aa05f43754c3ec93c34893ebeb5965c2c90fa6 Mon Sep 17 00:00:00 2001 From: SHater99 <32800408+SHater99@users.noreply.github.com> Date: Sun, 15 Oct 2017 04:57:47 +0800 Subject: [PATCH 3/8] Update player.json --- Assets/Config/player.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Config/player.json b/Assets/Config/player.json index ddca82f..e73772f 100644 --- a/Assets/Config/player.json +++ b/Assets/Config/player.json @@ -5,6 +5,6 @@ "skill duration": 2, "X min": -9, "X max": 9, - "Y min": -3.2, - "Y max": 2.5 + "Y min": -2.2, + "Y max": 1.5 } From 3c4266f551f315c96fdba0a0bcfcaf3dab32b241 Mon Sep 17 00:00:00 2001 From: SHater99 <32800408+SHater99@users.noreply.github.com> Date: Sun, 15 Oct 2017 04:59:17 +0800 Subject: [PATCH 4/8] Update spawn.json --- Assets/Config/spawn.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Assets/Config/spawn.json b/Assets/Config/spawn.json index 0db745b..b8a7070 100644 --- a/Assets/Config/spawn.json +++ b/Assets/Config/spawn.json @@ -1,8 +1,8 @@ { "config" : { "level" : 3, - "spawnTime" : 1.0, - "spawnDeltaTime" : 2.0 + "spawnTime" : 2.0, + "spawnDeltaTime" : 2.5 }, "levels" : [ { @@ -12,11 +12,11 @@ "quantity" : 1 }, { - "id" : 2, - "quantity" : 1 + "id" : 1, + "quantity" : 2 }, { - "id" : 1, + "id" : 2, "quantity" : 2 } ] @@ -29,11 +29,11 @@ }, { "id" : 2, - "quantity" : 1 + "quantity" : 2 }, { "id" : 3, - "quantity" : 1 + "quantity" : 2 } ] @@ -46,9 +46,9 @@ }, { "id" : 4, - "quantity" : 1 + "quantity" : 2 } ] } ] -} \ No newline at end of file +} From f172c6c3bc63e8fe18bc17f30bacea7763795f6b Mon Sep 17 00:00:00 2001 From: SHater99 <32800408+SHater99@users.noreply.github.com> Date: Sun, 15 Oct 2017 05:09:41 +0800 Subject: [PATCH 5/8] Update Physics2DSettings.asset --- ProjectSettings/Physics2DSettings.asset | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectSettings/Physics2DSettings.asset b/ProjectSettings/Physics2DSettings.asset index e3b2d0b..0d7aad3 100644 --- a/ProjectSettings/Physics2DSettings.asset +++ b/ProjectSettings/Physics2DSettings.asset @@ -20,7 +20,7 @@ Physics2DSettings: m_AngularSleepTolerance: 2 m_DefaultContactOffset: 0.01 m_AutoSimulation: 1 - m_QueriesHitTriggers: 1 + m_QueriesHitTriggers: 2 m_QueriesStartInColliders: 1 m_ChangeStopsCallbacks: 0 m_CallbacksOnDisable: 1 From a0b18373e65543ad8cb2aed1adb6e9503c42d947 Mon Sep 17 00:00:00 2001 From: SHater99 <32800408+SHater99@users.noreply.github.com> Date: Sun, 15 Oct 2017 05:12:52 +0800 Subject: [PATCH 6/8] Update enemy.json --- Assets/Config/enemy.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Assets/Config/enemy.json b/Assets/Config/enemy.json index 119c919..1523eea 100644 --- a/Assets/Config/enemy.json +++ b/Assets/Config/enemy.json @@ -1,7 +1,7 @@ { "enemy": [ { - "name": "enemy1", + "name": "I", "id": 0, "speed": 3, "damage": 5, @@ -10,7 +10,7 @@ "Y max": 0.3 }, { - "name": "enemy2", + "name": "Have", "id": 1, "speed": 5, "damage": 4, @@ -19,7 +19,7 @@ "Y max": 1.3 }, { - "name": "enemy3", + "name": "A", "id": 2, "speed": 5, "damage": 2, @@ -28,7 +28,7 @@ "Y max": 1.15 }, { - "name": "enemy4", + "name": "Dream", "id": 3, "speed": 11, "damage": 2, @@ -37,7 +37,7 @@ "Y max": 1.15 }, { - "name": "enemy5", + "name": "HA", "id": 4, "speed": 2, "damage": 3, From 5ba9f3bebf2a0f0058d0ca171ed2657352f97e41 Mon Sep 17 00:00:00 2001 From: SHater99 <32800408+SHater99@users.noreply.github.com> Date: Sun, 15 Oct 2017 05:18:18 +0800 Subject: [PATCH 7/8] Update README.md --- README.md | 31 +++---------------------------- 1 file changed, 3 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index c4816ef..86e68f6 100644 --- a/README.md +++ b/README.md @@ -1,28 +1,3 @@ -#### Instruction -* WASD/方向键 控制人物移动 -* Space键 控制人物攻击 -* Ctrl键 使用技能 - -#### Tasks -* 尝试阅读并理解`Assets/Scripts`目录下的五个游戏脚本的功能 -* 理解`Assets/Config`目录下的`spawn.json`文件的结构 - * 合理修改各项参数 - * 合理安排每批次出兵数量以及顺序 -* 理解`Assets/Config`目录下的`player.json` 、`enemy.json`文件的结构 - * 合理修改各数值 -* 修改一切可能影响游戏平衡的东西 - * 伤害碰撞(Trigger2D)检测区域的位置/大小的合理设置 - * 攻击动画帧数(即实际开始进行伤害判定帧)的合理设置 - * 使用技能时的无敌与否 - * enemy的移动方式 - * ...... -* 思考游戏AI的设计 - * enemy的AI (用UML图表示) - * 规避 - * 聚集 - * 跟随 - * ... - * player的AI (如AUTO模式下的行为, 用UML图表示) - * 索敌范围 - * 攻击目标的取舍 - * ... +I have no idea about IT +I just change some figure carelessly +BUT I have a dream,yep From 2b1d9fd53e8b5a65fe6343a3ad0f3b006b447784 Mon Sep 17 00:00:00 2001 From: SHater99 <32800408+SHater99@users.noreply.github.com> Date: Sun, 15 Oct 2017 05:19:11 +0800 Subject: [PATCH 8/8] Update README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 86e68f6..5327d0e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1 @@ -I have no idea about IT -I just change some figure carelessly -BUT I have a dream,yep +No UML sorry