Infinity Run balance rework

This commit is contained in:
Gregory Campbell
2020-02-10 20:50:51 -05:00
parent a8b31cdc0e
commit 586bc55a14
2 changed files with 14 additions and 21 deletions
+5 -12
View File
@@ -2689,36 +2689,29 @@ MonoBehaviour:
- {fileID: 1296726084903057492, guid: f8e2b3a239a50f94c97eab63e52c2015, type: 3}
- {fileID: 2709827901078906258, guid: ff7c3b7d52b8de54e9917c40c82aecc4, type: 3}
- {fileID: 8306103689241861471, guid: 4da44b3a63b9980499a243d4944c994c, type: 3}
- {fileID: 4415339463569318144, guid: 0c40efe998f74e04ca3432626f3fd0f8, type: 3}
- {fileID: 98210784416435151, guid: 22057d85c3bbde94ab02b5b32393a624, type: 3}
- {fileID: 2905477253455755942, guid: cc2991a7dd7e57d4b89e9b7cc0d29440, type: 3}
- {fileID: 1513878555246645949, guid: 6b9a5d86a3ddf9f49aaf45fb830472ab, type: 3}
- {fileID: 2684093654972248724, guid: eea6f26bb215de34296b64f3d4519e13, type: 3}
- {fileID: 665153724702688003, guid: 3ad84dc4c084fc0458bf98f2f25c9c4b, type: 3}
- {fileID: 9161455733412811721, guid: 7f77ea79765807545a09bda3db6d7f58, type: 3}
- {fileID: 1338270139686934427, guid: 6e8e48b5ed6ff224aa1325d2186d7153, type: 3}
- {fileID: 4589213692722742485, guid: f2127aac0c5addb4ab388991a33e8299, type: 3}
- {fileID: 2988591104085892534, guid: 03140737509422d4d8bb02e8666c8d00, type: 3}
- {fileID: 98210784416435151, guid: 22057d85c3bbde94ab02b5b32393a624, type: 3}
- {fileID: 665153724702688003, guid: 3ad84dc4c084fc0458bf98f2f25c9c4b, type: 3}
easyObstacleList:
- {fileID: 3821658720673687754, guid: d0164d7ee6ae94349b5fb425366d9805, type: 3}
- {fileID: 5412598120349462372, guid: a7a9bd40273944b4694f6dfb9f5a76fd, type: 3}
- {fileID: 6892012537429466651, guid: 7e22ae0ac8a6ee74382bf8470a62d9c7, type: 3}
- {fileID: 5880479941740923922, guid: d8233406c7b546e419c918c028ec65af, type: 3}
- {fileID: 8014827120313548368, guid: 20d028e2f45dd134fbaf292705530768, type: 3}
- {fileID: 1236683392463883085, guid: b49833699123fc74886c706b80b7cbfe, type: 3}
- {fileID: 7886215492682801492, guid: 6b8db22eae7d69c41b7922d792a06409, type: 3}
- {fileID: 98210784416435151, guid: 22057d85c3bbde94ab02b5b32393a624, type: 3}
- {fileID: 7191534383892929012, guid: 6de824c9a7c7a334284769001bca9c75, type: 3}
- {fileID: 986717874393107686, guid: da5fd426b6efd1842a8e9be671efb9a0, type: 3}
- {fileID: 3425233021637308467, guid: 9cfafec4161cf3c4f86a3824513846ac, type: 3}
- {fileID: 2113769983520899469, guid: 9eafff82623c2f7468270f2c9e3d677a, type: 3}
- {fileID: 9161455733412811721, guid: 7f77ea79765807545a09bda3db6d7f58, type: 3}
- {fileID: 2988591104085892534, guid: 03140737509422d4d8bb02e8666c8d00, type: 3}
- {fileID: 4589213692722742485, guid: f2127aac0c5addb4ab388991a33e8299, type: 3}
- {fileID: 2905477253455755942, guid: cc2991a7dd7e57d4b89e9b7cc0d29440, type: 3}
- {fileID: 2709827901078906258, guid: ff7c3b7d52b8de54e9917c40c82aecc4, type: 3}
- {fileID: 3161822268654064949, guid: e674258580d06a14bb9ffaffd3b53e7e, type: 3}
- {fileID: 2988591104085892534, guid: 03140737509422d4d8bb02e8666c8d00, type: 3}
- {fileID: 98210784416435151, guid: 22057d85c3bbde94ab02b5b32393a624, type: 3}
- {fileID: 7886215492682801492, guid: 6b8db22eae7d69c41b7922d792a06409, type: 3}
- {fileID: 5799837134442839398, guid: 4b6e429c70b7144418db287eb6f6c1a7, type: 3}
medObstaclelIst:
- {fileID: 3821658720673687754, guid: d0164d7ee6ae94349b5fb425366d9805, type: 3}
- {fileID: 5412598120349462372, guid: a7a9bd40273944b4694f6dfb9f5a76fd, type: 3}
+9 -9
View File
@@ -22,7 +22,7 @@ public class InfinityRunner : MonoBehaviour
private int selection;
private int size;
private float countdownTime = 3.0f;
private float countdownTime = 10.0f;
private float spawnTime = 0.0f;
private Transform lastSpawn;
@@ -70,9 +70,9 @@ public class InfinityRunner : MonoBehaviour
escalation++;
level = 1;
if(escalation > 7 && countdownTime > 2.0f)
if(escalation > 5 && countdownTime > 5.0f)
{
countdownTime -= 0.25f;
countdownTime -= 0.5f;
}
}
@@ -81,9 +81,9 @@ public class InfinityRunner : MonoBehaviour
GameObject wallOne;
GameObject wallTwo;
if(escalation > 7)
if(escalation > 6)
{
size = 7;
size = 6;
} else {
size = escalation;
}
@@ -91,11 +91,11 @@ public class InfinityRunner : MonoBehaviour
if(level == 1)
{
if(escalation > 2 && escalation < 5)
if(escalation > 3 && escalation < 6)
{
selection = Random.Range(0, medObstaclelIst.Length);
spawn = Instantiate(medObstaclelIst[selection], new Vector3(0, 0, lastSpawn.transform.position.z+(25*size)-12.5f), Quaternion.identity) as GameObject;
} else if(escalation >= 5) {
} else if(escalation >= 6) {
selection = Random.Range(0, obstacleList.Length);
spawn = Instantiate(obstacleList[selection], new Vector3(0, 0, lastSpawn.transform.position.z+(25*size)-12.5f), Quaternion.identity) as GameObject;
} else {
@@ -109,11 +109,11 @@ public class InfinityRunner : MonoBehaviour
} else {
if(escalation > 2 && escalation < 5)
if(escalation > 3 && escalation < 6)
{
selection = Random.Range(0, medObstaclelIst.Length);
spawn = Instantiate(medObstaclelIst[selection], new Vector3(0, 0, lastSpawn.transform.position.z+(25*size)), Quaternion.identity) as GameObject;
} else if(escalation >= 5) {
} else if(escalation >= 6) {
selection = Random.Range(0, obstacleList.Length);
spawn = Instantiate(obstacleList[selection], new Vector3(0, 0, lastSpawn.transform.position.z+(25*size)), Quaternion.identity) as GameObject;
} else {