From b88faafee6636ec782b137798fbab1a3e9945440 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 1 Jun 2015 07:17:33 +1000 Subject: [PATCH] GUI 4 Player Select Updated --- playable/Assets/Scenes/Level1.unity | Bin 431204 -> 431332 bytes playable/Assets/Scenes/Menu_Scene.unity | Bin 173996 -> 175796 bytes playable/Assets/Scripts/levelController.cs | 4 ++ playable/Assets/Scripts/menuContrller.cs | 66 +++++++++++++++++---- playable/Assets/sceneController.cs | 20 ++----- 5 files changed, 65 insertions(+), 25 deletions(-) diff --git a/playable/Assets/Scenes/Level1.unity b/playable/Assets/Scenes/Level1.unity index 8c61705173ded3fac9c10eff940c6cd0e6557db2..badc80e3d263be19eb1a771205e5aa3fc074dc7d 100644 GIT binary patch delta 5528 zcmZA44^&gv9S86mUQkdrW7R3nwQ&W@di)droE^5K8=KbB)vnlo!-^Umc%bD^_!j~M zUToDyPqm(fnkZHSg2t+dU`^I)&8aw01^oW#0?$d43nqxe`A4 zz5Dy!`|iE(amh3G(yp=bEXp;44XU}s7>mVc1Aej@lYcvT>i+mww5@YKYnL2;o!0TE zn0!YtZcwag>Qnhkm*r+E8p5yk_VyOxXIG9Z*OMi& zm+)DuH21Dkxoo+_wxHjuQh)o+>pi*dY>B;$7+xlCPr@Rw4COk0ebw2!x#>A#Ts5p2 zrsRi-^2EnsNv})nZF~+XtsUlrjYQGcl)-g$ zl;;KWB$kC3wdi1nT%MPlFR{hIl}bB-Ko^Y8Le9`1^TM$C6O6`kjg{vLEigLMPM919x)JbirMZ9`tP+chW9(lr-ZsJ9c5x($U)?N> zz-WgPV5T)xC++OANX)2t6?claV@+B zbHfsF?Rce4>`f~Q!02L~1k=0dKrsKC{%bC>0BPW6SP+(p&UkUWwKcXBC2tbrj>9&< z=sm7)xmwf%ql<7mEOoPZR{WH4zsMs4Y2pV!Rx1X!IY$&5Ve3$YIy1*%VOTP(M_C{3 zu%s>G%yhu)uo;M(rnDf;596~XtJ8G?*aM^^ISEU7Phv9>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O<^${{zxP B6Mz5! diff --git a/playable/Assets/Scenes/Menu_Scene.unity b/playable/Assets/Scenes/Menu_Scene.unity index 07267a96ff70816ededf16e0fcd3a308359de5b4..072fc4c5c848d660f985d8bdf37bddc6aee9687e 100644 GIT binary patch delta 16686 zcmZ|W349ZE-pBEoQXwEmfI`ciDoW(g0xgEK;SkFmE-CkLhpPlsC<;sw)T*e}0*#7G zbv?=*1Z@@6Djr=|-KZ#0QG)vH*5lc&uDVfFp3fwc_V<6i_VKmYWLVL#bruLIs^cUJEt^K&nvq-DFQbb-F#g%UGRBp@oN=i>B>vgz z4&zD(b!b`oYVKn8YM#1m&4QashkBP=pEy=7C|I^&-I_I}FL@Uo+tcyI_QxLW`EH{J z|D0OdE2p6J;uVd}K;P>M7A#z~WU;0*wN4D{KkH*{jP-w-HhoONO&%@KPj1&a@zQ_W zuD{%_%m2S!c6__e_JOV=Y3irVj;$V*@vOe`*d4#@ zZDJO)(?$MU$G=%a9W6Y)G|j5)b9=13_v;q<*j7HbW@L?3SQMMa$Eo&Mjd^-&n!)Gk z_9(!DSa&|pv`6Q|SGTIh>^w6b*agh%qXu@x$}z(ZvqHOJ+SO{{+$&DEa$|O2JZ~Nr z!eoK-F~>D(o^geFx|JW46%IXfrd0_h1BYQ5S!!S|7QkeIUM!5syo=_itzy^`CZO9x zEBdsR(O1(pnLyMYIv54F^LcVfQZRo%bx9^ne%x7%$pR;0&i-nFlQ2JKke6H%A6A1U z3p6u%agMLTSqI7r=VJNURLJX5d(6Wkm^^3ZV@8fz;L=!5>mp3%EyHRtndgt?n63Q- zG%dgZez#A;+Fv$cYzdt$#Dn zJy@-9-^fmFe3%T}k3}$fRv*B!hKNA&4q_!(a*Z>wqmO^qwhEJZ&tRr^s2X?-3}Oa5 zC0lqLi(xYGxkbIxT*K7BN~{8t1y*5NuA28eW?Oh&29pI2J71VqhsnHLtZ=x@qyJto49dXaSk?$Nu;RkcY5AB8+=oRmIph79XQY~U z01INWz~vifx2rZm8Mp$>8>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Controller.cs b/playable/Assets/Scripts/levelController.cs index 3e5cdb8..f45e1f2 100644 --- a/playable/Assets/Scripts/levelController.cs +++ b/playable/Assets/Scripts/levelController.cs @@ -6,6 +6,10 @@ public class levelController : MonoBehaviour { public int playerCount; public int maxScore; public int confetti; + public bool p1Enabled; + public bool p2Enabled; + public bool p3Enabled; + public bool p4Enabled; public static levelController control; diff --git a/playable/Assets/Scripts/menuContrller.cs b/playable/Assets/Scripts/menuContrller.cs index ea76365..84dd040 100644 --- a/playable/Assets/Scripts/menuContrller.cs +++ b/playable/Assets/Scripts/menuContrller.cs @@ -9,6 +9,7 @@ public class menuContrller : MonoBehaviour { public GameObject levelSelect; public GameObject instructions; public GameObject xboxLayout; + public GameObject btn_1player; public GameObject btn_2player; public GameObject btn_3player; public GameObject btn_4player; @@ -19,14 +20,46 @@ public class menuContrller : MonoBehaviour { public GameObject platypuss; public GameObject goat; public GameObject kangaroo; + private bool p1Enabled = false; + private bool p2Enabled = false; + private bool p3Enabled = false; + private bool p4Enabled = false; // Use this for initialization void Start () { - + control = GameObject.FindGameObjectWithTag ("GameController").GetComponent (); + } // Update is called once per frame void Update () { + + if (Input.GetAxisRaw ("Vertical_P1") == 1) { + Debug.Log("button hit"); + p1Enabled = true; + btn_1player.GetComponent ().color = Color.green; + + } + + if (Input.GetAxisRaw ("Vertical_P2") == 1) { + p2Enabled = true; + btn_2player.GetComponent ().color = Color.green; + + } + + if (Input.GetAxisRaw ("Vertical_P3") == 1) { + p3Enabled = true; + btn_3player.GetComponent ().color = Color.green; + + } + + if (Input.GetAxisRaw ("Vertical_P4") == 1) { + p4Enabled = true; + btn_4player.GetComponent ().color = Color.green; + + } + + } public void panelSelect (string panel){ @@ -68,24 +101,35 @@ public class menuContrller : MonoBehaviour { } public void playerSelect (int players){ - btn_2player.GetComponent ().color = Color.grey; - btn_3player.GetComponent ().color = Color.grey; - btn_4player.GetComponent ().color = Color.grey; control.playerCount = players; - if (players == 2) - btn_2player.GetComponent ().color = Color.red; - if (players == 3) - btn_3player.GetComponent ().color = Color.red; - if (players == 4) - btn_4player.GetComponent ().color = Color.red; + if (players == 1) { + btn_1player.GetComponent ().color = Color.green; + p1Enabled = true; + } + if (players == 2) { + btn_2player.GetComponent ().color = Color.green; + p2Enabled = true; + } + if (players == 3) { + btn_3player.GetComponent ().color = Color.green; + p3Enabled = true; + } + if (players == 4) { + btn_4player.GetComponent ().color = Color.green; + p4Enabled = true; + } } public void levelStart (string level){ - + control.p1Enabled = p1Enabled; + control.p2Enabled = p2Enabled; + control.p3Enabled = p3Enabled; + control.p4Enabled = p4Enabled; + Application.LoadLevel (level); } diff --git a/playable/Assets/sceneController.cs b/playable/Assets/sceneController.cs index 90ef430..8dc0aa0 100644 --- a/playable/Assets/sceneController.cs +++ b/playable/Assets/sceneController.cs @@ -40,20 +40,12 @@ public class sceneController : MonoBehaviour { void Start () { control = GameObject.FindGameObjectWithTag ("GameController").GetComponent (); - player1.SetActive (false); - player2.SetActive (false); - player3.SetActive (false); - player4.SetActive (false); - - playerCount = control.playerCount; - if (playerCount >= 1) - player1.SetActive (true); - if (playerCount >= 2) - player2.SetActive (true); - if (playerCount >= 3) - player3.SetActive (true); - if (playerCount >= 4) - player4.SetActive (true); + player1.SetActive (control.p1Enabled); + player2.SetActive (control.p2Enabled); + player3.SetActive (control.p3Enabled); + player4.SetActive (control.p4Enabled); + + playerScript1.maxScore = control.maxScore; playerScript2.maxScore = control.maxScore;