Added more colours to create a more complete colour wheel for strengths/weaknesses

This commit is contained in:
Gregory Campbell
2020-04-08 19:10:52 -04:00
parent 63980c2494
commit d24d54b860
+20 -7
View File
@@ -43,7 +43,8 @@ public class GMScript : MonoBehaviour
Red, Yellow, Blue, Grey, Red, Yellow, Blue, Grey,
Orange, Green, Purple, Orange, Green, Purple,
Black, White, Black, White,
Pink, Brown, Lime Pink, Brown, Lime,
Cyan, PurpleBlue, OrangeYellow
} }
Colours robotColour; Colours robotColour;
@@ -61,10 +62,10 @@ public class GMScript : MonoBehaviour
robotColour = Colours.Red; robotColour = Colours.Red;
PartyColours[0] = Random.Range(0, 12); PartyColours[0] = Random.Range(0, 15);
PartyColours[1] = Random.Range(0, 12); PartyColours[1] = Random.Range(0, 15);
PartyColours[2] = Random.Range(0, 12); PartyColours[2] = Random.Range(0, 15);
PartyColours[3] = Random.Range(0, 12); PartyColours[3] = Random.Range(0, 15);
for(int i = 0; i < partySize; i++) for(int i = 0; i < partySize; i++)
{ {
@@ -552,7 +553,7 @@ public class GMScript : MonoBehaviour
break; break;
case Colours.Green: case Colours.Green:
colourValue colourValue
= new Color(0, 1, 0, 1); = new Color(0, 0.8f, 0, 1);
break; break;
case Colours.Purple: case Colours.Purple:
colourValue colourValue
@@ -576,7 +577,19 @@ public class GMScript : MonoBehaviour
break; break;
case Colours.Lime: case Colours.Lime:
colourValue colourValue
= new Color(0.2f, 1, 0.2f, 1); = new Color(0.5f, 1, 0, 1);
break;
case Colours.Cyan:
colourValue
= new Color(0, 1, 1, 1);
break;
case Colours.PurpleBlue:
colourValue
= new Color(0.2f, 0, 1, 1);
break;
case Colours.OrangeYellow:
colourValue
= new Color(1, 0.87f, 0, 1);
break; break;
default: default:
colourValue colourValue