Skip to content

Commit

Permalink
Level color issues fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
arifemrebulut committed Oct 4, 2022
1 parent cf81de3 commit d5be0d9
Show file tree
Hide file tree
Showing 22 changed files with 16 additions and 24 deletions.
Binary file modified Assets/_Game/Art/LevelTextures/Level1-Texture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Assets/_Game/Art/LevelTextures/Level10-Texture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Assets/_Game/Art/LevelTextures/Level2-Texture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Assets/_Game/Art/LevelTextures/Level3-Texture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Assets/_Game/Art/LevelTextures/Level4-Texture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Assets/_Game/Art/LevelTextures/Level5-Texture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Assets/_Game/Art/LevelTextures/Level6-Texture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Assets/_Game/Art/LevelTextures/Level7-Texture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Assets/_Game/Art/LevelTextures/Level8-Texture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Assets/_Game/Art/LevelTextures/Level9-Texture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 1 addition & 7 deletions Assets/_Game/Scenes/Game.unity
Original file line number Diff line number Diff line change
Expand Up @@ -337,12 +337,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
levels:
- {fileID: 11400000, guid: 938b699d1166c694ca4665cd5259970c, type: 2}
- {fileID: 11400000, guid: be700eb7d62c18c48865f891414a706f, type: 2}
- {fileID: 11400000, guid: 7e795fa0beca4154c8c8d58752842728, type: 2}
- {fileID: 11400000, guid: 2f862abdba44aa74a92212c47c0e78e1, type: 2}
- {fileID: 11400000, guid: 41b93a3e46be4424db34ec06f500de5d, type: 2}
- {fileID: 11400000, guid: 5e6fcd0862e40bc428bad25527fc50e4, type: 2}
- {fileID: 11400000, guid: 980a4aad42168104d827d800c1d0bc20, type: 2}
- {fileID: 11400000, guid: 907736b99b27d3b42bb2e8ed6da0d778, type: 2}
- {fileID: 11400000, guid: e39578be750ffee4c854247327b4841e, type: 2}
Expand Down Expand Up @@ -1111,7 +1105,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &1246718367
RectTransform:
m_ObjectHideFlags: 0
Expand Down
2 changes: 1 addition & 1 deletion Assets/_Game/Scriptables/LevelData/Level1.asset
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: ea8b38accc8592345ba802e92df32984, type: 3}
m_Name: Level1
m_EditorClassIdentifier:
initialPlayerNumber: 4
initialPlayerNumber: 256
levelTexture: {fileID: 2800000, guid: 88a7a4ab8ebb9fc458b528d5be2ecc30, type: 3}
2 changes: 1 addition & 1 deletion Assets/_Game/Scriptables/LevelData/Level10.asset
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ MonoBehaviour:
m_Name: Level10
m_EditorClassIdentifier:
initialPlayerNumber: 4
levelTexture: {fileID: 2800000, guid: 88a7a4ab8ebb9fc458b528d5be2ecc30, type: 3}
levelTexture: {fileID: 2800000, guid: 1c6b7e54d908eeb40a66ea022a2075fa, type: 3}
4 changes: 2 additions & 2 deletions Assets/_Game/Scriptables/LevelData/Level2.asset
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: ea8b38accc8592345ba802e92df32984, type: 3}
m_Name: Level2
m_EditorClassIdentifier:
initialPlayerNumber: 4
levelTexture: {fileID: 2800000, guid: 88a7a4ab8ebb9fc458b528d5be2ecc30, type: 3}
initialPlayerNumber: 128
levelTexture: {fileID: 2800000, guid: 9007492f769f3444593fb004f5b619b4, type: 3}
4 changes: 2 additions & 2 deletions Assets/_Game/Scriptables/LevelData/Level3.asset
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: ea8b38accc8592345ba802e92df32984, type: 3}
m_Name: Level3
m_EditorClassIdentifier:
initialPlayerNumber: 4
levelTexture: {fileID: 2800000, guid: 88a7a4ab8ebb9fc458b528d5be2ecc30, type: 3}
initialPlayerNumber: 2
levelTexture: {fileID: 2800000, guid: 3d102fad7c59be548950d8f85d7d6b2d, type: 3}
4 changes: 2 additions & 2 deletions Assets/_Game/Scriptables/LevelData/Level4.asset
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: ea8b38accc8592345ba802e92df32984, type: 3}
m_Name: Level4
m_EditorClassIdentifier:
initialPlayerNumber: 4
levelTexture: {fileID: 2800000, guid: 88a7a4ab8ebb9fc458b528d5be2ecc30, type: 3}
initialPlayerNumber: 32
levelTexture: {fileID: 2800000, guid: 71f6b4cbbabb48e4396995b7f63946c8, type: 3}
4 changes: 2 additions & 2 deletions Assets/_Game/Scriptables/LevelData/Level5.asset
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: ea8b38accc8592345ba802e92df32984, type: 3}
m_Name: Level5
m_EditorClassIdentifier:
initialPlayerNumber: 4
levelTexture: {fileID: 2800000, guid: 88a7a4ab8ebb9fc458b528d5be2ecc30, type: 3}
initialPlayerNumber: 16
levelTexture: {fileID: 2800000, guid: a7916309192d2244eb1e2bd897e667fc, type: 3}
4 changes: 2 additions & 2 deletions Assets/_Game/Scriptables/LevelData/Level6.asset
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: ea8b38accc8592345ba802e92df32984, type: 3}
m_Name: Level6
m_EditorClassIdentifier:
initialPlayerNumber: 4
levelTexture: {fileID: 2800000, guid: 88a7a4ab8ebb9fc458b528d5be2ecc30, type: 3}
initialPlayerNumber: 8
levelTexture: {fileID: 2800000, guid: f80d2d1306256414ab0fc4c61bc9555b, type: 3}
2 changes: 1 addition & 1 deletion Assets/_Game/Scriptables/LevelData/Level7.asset
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ MonoBehaviour:
m_Name: Level7
m_EditorClassIdentifier:
initialPlayerNumber: 4
levelTexture: {fileID: 2800000, guid: 88a7a4ab8ebb9fc458b528d5be2ecc30, type: 3}
levelTexture: {fileID: 2800000, guid: 9df51ac51437cea4da912d94799aa2f3, type: 3}
2 changes: 1 addition & 1 deletion Assets/_Game/Scriptables/LevelData/Level8.asset
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ MonoBehaviour:
m_Name: Level8
m_EditorClassIdentifier:
initialPlayerNumber: 4
levelTexture: {fileID: 2800000, guid: 88a7a4ab8ebb9fc458b528d5be2ecc30, type: 3}
levelTexture: {fileID: 2800000, guid: 913f9115940b2764ab534a869b1fe3d4, type: 3}
2 changes: 1 addition & 1 deletion Assets/_Game/Scriptables/LevelData/Level9.asset
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ MonoBehaviour:
m_Name: Level9
m_EditorClassIdentifier:
initialPlayerNumber: 4
levelTexture: {fileID: 2800000, guid: 88a7a4ab8ebb9fc458b528d5be2ecc30, type: 3}
levelTexture: {fileID: 2800000, guid: be732b7dc41544545b3d100675453584, type: 3}
2 changes: 0 additions & 2 deletions Assets/_Game/Scripts/PlayerController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,10 @@ private void Move(Vector3 direction)

if (hit.transform.CompareTag("WallTile"))
{
Debug.Log("WALL");
targetPosition = CalculateTargetPosisition(hit, direction);
}
else if (hit.transform.CompareTag("NumberCube"))
{
Debug.Log("NUMBER CUBE");
hitCube = hit.transform.GetComponent<NumberCube>();

if (hitCube.number == currentPlayerNumber)
Expand Down

0 comments on commit d5be0d9

Please sign in to comment.