Skip to content

Commit 6a73811

Browse files
committed
Added WebGL
1 parent 0552d1e commit 6a73811

File tree

401 files changed

+116388
-51
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

401 files changed

+116388
-51
lines changed

Assets/Challenge 3/Challenge 3.unity

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ MonoBehaviour:
912912
m_Name:
913913
m_EditorClassIdentifier:
914914
GameOver: 0
915-
FloatForce: 2
915+
FloatForce: 1
916916
MoneySound: {fileID: 8300000, guid: af9f934eb4288464eb120a5857921cc3, type: 3}
917917
ExplodeSound: {fileID: 8300000, guid: 774ebc5c074ce4695b7cc310fbd44087, type: 3}
918918
BounceSound: {fileID: 8300000, guid: ccb9b31174a3a43709a113a9c7cf4252, type: 3}
-6.73 MB
Binary file not shown.

Assets/Challenge 3/Instructions/Challenge 3 - Outcome.mov.meta

Lines changed: 0 additions & 18 deletions
This file was deleted.

Assets/Challenge 3/Scripts/PlayerControllerX.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using UnityEngine;
2+
using UnityEngine.SceneManagement;
23

34
public class PlayerControllerX : MonoBehaviour
45
{
@@ -38,6 +39,10 @@ void Update()
3839
Vector3 newPos = new(transform.position.x, transform.position.y + adjustedY, transform.position.z);
3940
transform.position = newPos;
4041
}
42+
if (Input.GetKeyDown(KeyCode.Escape))
43+
{
44+
SceneManager.LoadScene(0, LoadSceneMode.Single);
45+
}
4146
}
4247

4348
private void OnCollisionEnter(Collision other)

0 commit comments

Comments
 (0)