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
+1 -1
View File
@@ -28,7 +28,7 @@ Transform:
m_GameObject: {fileID: 414519846808350713} m_GameObject: {fileID: 414519846808350713}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 100, y: 1, z: 100} m_LocalScale: {x: 125, y: 1, z: 125}
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 0 m_RootOrder: 0
+1 -1
View File
@@ -28,7 +28,7 @@ Transform:
m_GameObject: {fileID: 2429100199437399696} m_GameObject: {fileID: 2429100199437399696}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 100, y: 1, z: 100} m_LocalScale: {x: 125, y: 1, z: 125}
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 0 m_RootOrder: 0
+3 -3
View File
@@ -85,7 +85,7 @@ public class FloorLevel : MonoBehaviour
void respawn() 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); 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[0], new Vector3((100*escalation)+50, 5, (100*escalation)+50), Quaternion.identity);
Instantiate(obstacleList[1], new Vector3(-((100*escalation)+50), 0, -((100*escalation)+50)), Quaternion.identity); Instantiate(obstacleList[1], new Vector3(-((100*escalation)+50), -10, -((100*escalation)+50)), Quaternion.identity);
script.finished = false; script.finished = false;
} }