From d5be0d97c18f1b6bbe9801ebddce14b2e3738dde Mon Sep 17 00:00:00 2001 From: Arif Emre Bulut Date: Tue, 4 Oct 2022 03:49:03 +0300 Subject: [PATCH] Level color issues fixed --- .../_Game/Art/LevelTextures/Level1-Texture.png | Bin 134 -> 132 bytes .../_Game/Art/LevelTextures/Level10-Texture.png | Bin 241 -> 233 bytes .../_Game/Art/LevelTextures/Level2-Texture.png | Bin 180 -> 152 bytes .../_Game/Art/LevelTextures/Level3-Texture.png | Bin 225 -> 204 bytes .../_Game/Art/LevelTextures/Level4-Texture.png | Bin 219 -> 178 bytes .../_Game/Art/LevelTextures/Level5-Texture.png | Bin 206 -> 182 bytes .../_Game/Art/LevelTextures/Level6-Texture.png | Bin 193 -> 184 bytes .../_Game/Art/LevelTextures/Level7-Texture.png | Bin 226 -> 225 bytes .../_Game/Art/LevelTextures/Level8-Texture.png | Bin 236 -> 216 bytes .../_Game/Art/LevelTextures/Level9-Texture.png | Bin 242 -> 213 bytes Assets/_Game/Scenes/Game.unity | 8 +------- Assets/_Game/Scriptables/LevelData/Level1.asset | 2 +- .../_Game/Scriptables/LevelData/Level10.asset | 2 +- Assets/_Game/Scriptables/LevelData/Level2.asset | 4 ++-- Assets/_Game/Scriptables/LevelData/Level3.asset | 4 ++-- Assets/_Game/Scriptables/LevelData/Level4.asset | 4 ++-- Assets/_Game/Scriptables/LevelData/Level5.asset | 4 ++-- Assets/_Game/Scriptables/LevelData/Level6.asset | 4 ++-- Assets/_Game/Scriptables/LevelData/Level7.asset | 2 +- Assets/_Game/Scriptables/LevelData/Level8.asset | 2 +- Assets/_Game/Scriptables/LevelData/Level9.asset | 2 +- Assets/_Game/Scripts/PlayerController.cs | 2 -- 22 files changed, 16 insertions(+), 24 deletions(-) diff --git a/Assets/_Game/Art/LevelTextures/Level1-Texture.png b/Assets/_Game/Art/LevelTextures/Level1-Texture.png index a24000d4a8ecb2e04331bef481dd3483a98a10a9..b8f4d621722426a904a0eb1c0d0a856bb037a755 100644 GIT binary patch delta 103 zcmZo;Y+;;uvDloBZeh|Nr%DT1;wLQpXIk9;|2-C^&1^&^U3TV9#S_F=3Ml z35VDuS%RC+sNHT|!qmj3v^!mHv9RM~_s^eJG&1KYFf%hV6vl~dw<+6@#sCDKu6{1- HoD!M6jsv>F8f3b6c)GGH=8WOBanAq6Z7?x_wPQ9YSIh_FrJYD@< J);T3K0RVx9Dv1C9 diff --git a/Assets/_Game/Art/LevelTextures/Level10-Texture.png b/Assets/_Game/Art/LevelTextures/Level10-Texture.png index 1aadcef779d222ad462eb69ef593378effbfea84..7bef2b1d0021ef80dc1a219ae21acfc2ec5269e0 100644 GIT binary patch delta 205 zcmV;;05bpa0qFsdB!93;L_t(Ijbr@(|NnmmDgq{I8pbd*4P<0wM8R@%%fRCEnVd1? zKo~`A1PqNrs`mbCr>?tGe-9DCL3&gY`#DSEVx{T zkB<*v7)WX1gXuz0;w4h^ndSCG7zj#AWVsCjMp}8uz`y_iEm8Rl#K)Yw00000NkvXX Hu0mjflSWtm delta 213 zcmV;`04o3K0r3HlB!9R`L_t(Ijbj*jfDzfp|NsC0PfiFhGBPq^m4F(Ef@SBFf`tFi zV|2ohgK9x>1cnPimci5@vvIf#ERXC$CL+9pfmQ0Z5)~9+7e0tF#^o)nVtB*-KNbKJ zzG~->VQ8HHBEkmNoGQfX3VZ;sfmpl)H;R~8#v3W%Se&YZAx@q=^$gC~$D3>za3me1 z0EGXv0hj@hBy?X%L_t(Ijbr@(|NnmmDgq{I8pbec;1D)YrEV(&BO@aiU$YOu ztCpyA2r>w!44F-~3rPWZ4V=&940aLBWgr~qzX-o?NcA!yK$MqB$?U|1AqnNjXyGvI d4P;-B!7EJL_t(Ijbj)EBLFbs^5Xyh|KUt*@{Ej(SoJay6J{!PTR{eZ z@iqGZylRPZA;=&YAI8SzLKZxhVf88@fY;0OnVcD54uN?&&VLbJBk_3|?m}cQBZ-mh zWk!$-6aVe~|DQn%E*2lKm~0oqnb_3haNsBy{(ymj0RX^SB@v33)6Sm&0000l zQTm^tfmiMP!3Gj(H(>)|hJmnh?H0-md=O)dVjwZD#H#|`Fc6lVQ%a_RQ+2Q!NXV5q zWpNn>!ZoJ~Ni#5c>KVKS;&UZd8A67E@R{ZISPjH1Z5SCD7%7R*6c}PGSX41kQl5<# eUlalc1_l6}97u11WFSKT0000tML%R3T{wCQm(s*FHdGR}wOipzC1x%yN4o z4P=le%0ResG=QF$Ny}Q0yo`~*M*#(Zfq?-4iTOBx>#h|K00000NkvXXu0mjfJ-k&O diff --git a/Assets/_Game/Art/LevelTextures/Level4-Texture.png b/Assets/_Game/Art/LevelTextures/Level4-Texture.png index 2cf2f6e99f7b4ed713f767e9d9413d401563c6eb..cd282bebd9ddab9d33a9a014539707765cd9fa3c 100644 GIT binary patch delta 150 zcmV;H0BQf*0kQ#*B!78HL_t(Ijbr@(|NnmmDgq{I8pbecApH%zW*@-7$jAuBxByAX z24oOOIgBRDg%4v*P+SF~m20<&0sT-fq?-4#-J^_*AH%xZ~y=R07*qoM6N<$ Ef>m}v*8l(j delta 191 zcmV;w06_n;0owtPB!8kwL_t(Ijbj)EgAXubbJ73*|FH_A3otS=V(4cg#f#VM13-o_ zU@-?_2>}es$um;&VrEo*y0~UiB t3pd2#^c_wY5~CJhdK?9V1u!r$005^NNE)~DrF8%R002ovPDHLkV1g#_PKf{j diff --git a/Assets/_Game/Art/LevelTextures/Level5-Texture.png b/Assets/_Game/Art/LevelTextures/Level5-Texture.png index b5e69791181ac56e9344d5b38a9c0c0c3fc909d5..7aaacf21d62105532496df4d4f40b0244cd087b6 100644 GIT binary patch delta 154 zcmV;L0A>Hq0k#2ow{QsYUlJab{_@WRnFfafBWD|uhh|!TTkN^Mx07*qo IM6N<$f-Uqs4FCWD delta 178 zcmV;j08Rh40nP!CB!87jL_t(Ijbj)EBLFZWd-4DO|JZztO%SY)kr72Z7%&kNX7K@w z!J4rdfYl}}E<|w^$RLm$j3Ds@{?Tm_=9+WC|3LL}E9y9`w`7AN9#;e!}s3>U(% z+}twKU5Mrq6c-|eDTWJK(D+!>%{)dYqGA{W{09LBt^ZJiaVz5gQ*|IpiSRO3MYsSq gFOLEW0RsaA01v=JlfUwt2LJ#707*qoM6N<$f@N4n3;+NC diff --git a/Assets/_Game/Art/LevelTextures/Level6-Texture.png b/Assets/_Game/Art/LevelTextures/Level6-Texture.png index 081634c4e3148a868d6e80590025a1a1ff226a0e..95410f536601838a43e1423fc64290940fc952df 100644 GIT binary patch delta 156 zcmV;N0Av5b0k{E>B!7QNL_t(Ijbr@(|NnmmDgq{I8pbecAZ-m~WMl+mhH1KRF_pTl z2ytBca3vd%CXf`2#wCUhSa8`SJEs)x5@Z*F*biciNp~T-OVQc50R19mK9e(wmyy}= z0gG`ONcBj;>B9d|18Pnc!o{xI`QuG8cwI;?7%goEn}G}r3>5%V**!jfriIM_0000< KMNUMnLSTX#hd@&R delta 165 zcmV;W09yaJ0l@)~B!7rWL_t(Ijbj)EgAXubbJ73*|Nj%?QbtBb4E;=a6oWCtG+nru zO5Ik3I4JOFg2=Xm41jTw*$kwHA-Mpj zf%BQ1QM`=Ijt^K&nst;!3QiaPXV3z>rsh;3T= Tk%u*C00000NkvXXu0mjfd0a)` diff --git a/Assets/_Game/Art/LevelTextures/Level7-Texture.png b/Assets/_Game/Art/LevelTextures/Level7-Texture.png index 853d8e3c4122558d57c141bf0bb1ac9ade1f3334..55932bb94d5f387132ef900e3060541c27cd345f 100644 GIT binary patch delta 197 zcmV;$06PET0pS6VB!8$$L_t(Ijbr@(|NnmmDgq{I8pbecAPQh)WMrs4T?7`I&*Ti| zBV(N4KMnwrLYIb##rZG7rR_gK13_51b_brq zwn6-qX=ia7h&v2HX%w$pNOU2&V5Awyz`y_i6vga1&tFB300000NkvXXu0mjfW{6J* delta 198 zcmV;%06G8R0pbCWB!8(%L_t(Ijbj)E6az+V2K@j3|35JXGcqz_=x4&Cn4#)y9+*9! z$r;Q?#v}o#3;#ozZ~zmF^I!CzSYIG}8IFxQ_Ws9a3E2k148g+3064=CTbRPYRXcy& z>TtOb*#Kn6z{Ejf*kYN56xUs8w28ERMtFv9pFe>!4DosyrU#GriBH)7 zp$4Jr0r69&oyF-p++q0tKLhazZ4^)qFfcFx0Jx@o|3hX}i2wiq07*qoM6N<$g7;im AC;$Ke diff --git a/Assets/_Game/Art/LevelTextures/Level8-Texture.png b/Assets/_Game/Art/LevelTextures/Level8-Texture.png index 764b50ccb4f6042806ddec61f395eaa5b4ecadc3..b09b366a0cc0778a04b58d755aa4fc2f53c18a4d 100644 GIT binary patch delta 188 zcmV;t07L)m0oVbMB!8btL_t(Ijbr@(|NnmmDgq{I8pbfZ42%z0Oq4pJB88EW5lj;k ze?+TwFoGQdBiBB6|13?05AX80qg;gB!9C>L_t(Ijbj*jfDxCE|NsAw!bM`k^)NDGYG)!M2*HNM2P`Hk zw25)yf0#?qT+K+X3mLB3`NK@W>P=!@i0&M)3t==a7qZ~B4NU`xuUxwYuM6=S$bb}X zNG^j*Ve=v0FnkbWj1q1zw%pt@oO(zOLk86F#L!Q47|vsKB1ss-cmc?THKz*yV*^m> z|0Ej-4R{Rvf2t07210acVHyaNBGEtwtp0_8sX8Q?H(UV&0|NkuB$c@;!$3~}0000< KMNUMnLSTZYC00!U diff --git a/Assets/_Game/Art/LevelTextures/Level9-Texture.png b/Assets/_Game/Art/LevelTextures/Level9-Texture.png index 108f4eca5a862dff40a2f55463d0adcd88be9fd6..ab5517d82a4c2c5766d10267e34522f6cd1046a1 100644 GIT binary patch delta 185 zcmV;q07n1v0o4JJB!8SqL_t(Ijbr@(|NnmmDgq{I8pbecAWkr!$(ezXkr9sZg8w+c zRXcxB>|@|K|3$d8fC0{A19AyDDGIBXVctUaCNh2)Yl722tS*EZh|7ieT#qwSlxw$u zX}P&&7%s#I2xdJ}!xF0t&#rJlaSgU`Oqq5Ty902AAxs#T3o>zuvtY9YS=s-oI#|Q4 n=2Ri^E~EsE7GD$s1_lNI(W`fmUQ@hX00000NkvXXu0mjf)UQq3 delta 214 zcmV;{04e{~0rCNmB!9U{L_t(Ijbj)E6az+d1OEU2k0FG^60lxIMpPr1a47zdgc;^D zIfFIAFi8O9!vFvO|G#SI{~yg@Fpl$I^dAba`39?(|HHh3O#`}qf-Z&{h!;PIF^0R6 zC>O$P#pOaI*JHR4SEMi~*KPsRa&ya2B7~3^afTrl*Whw3eoq@f2A)}NPcR&lr=GzY zh&aO#rWThAVdCg6WWnl623Z7qst(q0t2tGO)rSPbkPsl85Jv$?fPsMl0IzC&cnEuY Q?*IS*07*qoM6N<$f}%NGZ~y=R diff --git a/Assets/_Game/Scenes/Game.unity b/Assets/_Game/Scenes/Game.unity index 8aeaf21..666a07d 100644 --- a/Assets/_Game/Scenes/Game.unity +++ b/Assets/_Game/Scenes/Game.unity @@ -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} @@ -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 diff --git a/Assets/_Game/Scriptables/LevelData/Level1.asset b/Assets/_Game/Scriptables/LevelData/Level1.asset index 3fb969d..bbd53a3 100644 --- a/Assets/_Game/Scriptables/LevelData/Level1.asset +++ b/Assets/_Game/Scriptables/LevelData/Level1.asset @@ -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} diff --git a/Assets/_Game/Scriptables/LevelData/Level10.asset b/Assets/_Game/Scriptables/LevelData/Level10.asset index 3403db1..10d810e 100644 --- a/Assets/_Game/Scriptables/LevelData/Level10.asset +++ b/Assets/_Game/Scriptables/LevelData/Level10.asset @@ -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} diff --git a/Assets/_Game/Scriptables/LevelData/Level2.asset b/Assets/_Game/Scriptables/LevelData/Level2.asset index ec63a49..e2ec9e3 100644 --- a/Assets/_Game/Scriptables/LevelData/Level2.asset +++ b/Assets/_Game/Scriptables/LevelData/Level2.asset @@ -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} diff --git a/Assets/_Game/Scriptables/LevelData/Level3.asset b/Assets/_Game/Scriptables/LevelData/Level3.asset index b838462..27ccce0 100644 --- a/Assets/_Game/Scriptables/LevelData/Level3.asset +++ b/Assets/_Game/Scriptables/LevelData/Level3.asset @@ -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} diff --git a/Assets/_Game/Scriptables/LevelData/Level4.asset b/Assets/_Game/Scriptables/LevelData/Level4.asset index 3dd76d0..e506765 100644 --- a/Assets/_Game/Scriptables/LevelData/Level4.asset +++ b/Assets/_Game/Scriptables/LevelData/Level4.asset @@ -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} diff --git a/Assets/_Game/Scriptables/LevelData/Level5.asset b/Assets/_Game/Scriptables/LevelData/Level5.asset index bec14ab..76b24ae 100644 --- a/Assets/_Game/Scriptables/LevelData/Level5.asset +++ b/Assets/_Game/Scriptables/LevelData/Level5.asset @@ -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} diff --git a/Assets/_Game/Scriptables/LevelData/Level6.asset b/Assets/_Game/Scriptables/LevelData/Level6.asset index 33bbdd0..30d02f7 100644 --- a/Assets/_Game/Scriptables/LevelData/Level6.asset +++ b/Assets/_Game/Scriptables/LevelData/Level6.asset @@ -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} diff --git a/Assets/_Game/Scriptables/LevelData/Level7.asset b/Assets/_Game/Scriptables/LevelData/Level7.asset index ba3e81c..7aebedf 100644 --- a/Assets/_Game/Scriptables/LevelData/Level7.asset +++ b/Assets/_Game/Scriptables/LevelData/Level7.asset @@ -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} diff --git a/Assets/_Game/Scriptables/LevelData/Level8.asset b/Assets/_Game/Scriptables/LevelData/Level8.asset index bd3c9da..baeb637 100644 --- a/Assets/_Game/Scriptables/LevelData/Level8.asset +++ b/Assets/_Game/Scriptables/LevelData/Level8.asset @@ -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} diff --git a/Assets/_Game/Scriptables/LevelData/Level9.asset b/Assets/_Game/Scriptables/LevelData/Level9.asset index 06fcd4c..3e5f0c2 100644 --- a/Assets/_Game/Scriptables/LevelData/Level9.asset +++ b/Assets/_Game/Scriptables/LevelData/Level9.asset @@ -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} diff --git a/Assets/_Game/Scripts/PlayerController.cs b/Assets/_Game/Scripts/PlayerController.cs index 621f1c7..f91dded 100644 --- a/Assets/_Game/Scripts/PlayerController.cs +++ b/Assets/_Game/Scripts/PlayerController.cs @@ -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(); if (hitCube.number == currentPlayerNumber)