Made start/end tiles bigger and adjusted their heights so departing from/landing on these tiles is easier regardless of the connecting tiles

This commit is contained in:
Gregory Campbell
2020-02-07 23:26:29 -05:00
parent da8b3da187
commit 6f5d6568c8
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -85,7 +85,7 @@ public class FloorLevel : MonoBehaviour
void respawn()
{
script.transform.position = new Vector3((100*escalation)+50, 2, (100*escalation)+50);
script.transform.position = new Vector3((100*escalation)+50, 7, (100*escalation)+50);
script.transform.Rotate(0.0f, 0.0f, 0.0f, Space.Self);
}
@@ -320,8 +320,8 @@ public class FloorLevel : MonoBehaviour
}
Instantiate(obstacleList[0], new Vector3((100*escalation)+50, 0, (100*escalation)+50), Quaternion.identity);
Instantiate(obstacleList[1], new Vector3(-((100*escalation)+50), 0, -((100*escalation)+50)), Quaternion.identity);
Instantiate(obstacleList[0], new Vector3((100*escalation)+50, 5, (100*escalation)+50), Quaternion.identity);
Instantiate(obstacleList[1], new Vector3(-((100*escalation)+50), -10, -((100*escalation)+50)), Quaternion.identity);
script.finished = false;
}