drenayaz commited on
Commit
4f5f261
·
1 Parent(s): 2462c70

update colors

Browse files
Files changed (1) hide show
  1. app/src/game/variants.js +37 -24
app/src/game/variants.js CHANGED
@@ -28,7 +28,11 @@ const CHARCOAL = { color: [0.028, 0.028, 0.033], roughness: 0.5, metalness: 0.0
28
  const CHARCOAL_FACE = { color: [0.044, 0.044, 0.051], roughness: 0.5, metalness: 0.0 }; // #3c3c40
29
  const CHARCOAL_BODY = { color: [0.017, 0.017, 0.019], roughness: 0.5, metalness: 0.0 }; // #232326
30
  const LIGHT_WARM_GRAY = { color: [0.485, 0.459, 0.416], roughness: 0.35, metalness: 0.0 };// #b9b5ae
31
- const PURPLE_RING = { color: [0.114, 0.058, 0.578], roughness: 0.4, metalness: 0.0 }; // #6a52c8
 
 
 
 
32
  const SOFT_PURPLE = { color: [0.36, 0.23, 0.48], roughness: 0.45, metalness: 0.0 }; // #a489b5
33
  const PURPLE_FEET = { color: [0.164, 0.085, 0.584], roughness: 0.45, metalness: 0.0 }; // #7a5fc9
34
  const PALE_BLUE = { color: [0.441, 0.613, 0.723], roughness: 0.35, metalness: 0.0 }; // #b6cfdd
@@ -68,55 +72,64 @@ export const VARIANTS = {
68
  mechDark: DARK,
69
  mechGray: GRAY,
70
  },
71
- // Front-left robot: charcoal shells, slightly lighter face plate,
72
- // amber eye, orange beak, soft purple mouth interior.
 
 
 
73
  charcoal: {
74
  headDome: CHARCOAL,
75
- facePlate: CHARCOAL_FACE,
76
- trim: BRIGHT_ORANGE,
77
  beakUpper: SOFT_PURPLE,
78
- beakLower: BRIGHT_ORANGE,
79
  tongue: SOFT_PURPLE,
80
- eyeRing: AMBER_YELLOW,
81
  lens: LENS,
82
  bodyShell: CHARCOAL_BODY,
83
  sideShells: CHARCOAL_BODY,
84
  legShells: CHARCOAL_BODY,
85
- feet: BRIGHT_ORANGE,
86
- soles: AMBER_ORANGE,
87
  hips: GRAY,
88
  mechDark: DARK,
89
  mechGray: GRAY,
90
  },
91
- // Back-center robot: light warm gray head, purple eye, YELLOW trim and
92
- // rigid jaw, soft purple mouth interior, cream body.
 
 
93
  purple: {
94
- headDome: LIGHT_WARM_GRAY,
95
  facePlate: WARM_GRAY,
96
  trim: CLEAN_YELLOW,
97
  beakUpper: SOFT_PURPLE,
98
  beakLower: CLEAN_YELLOW,
99
  tongue: SOFT_PURPLE,
100
- eyeRing: PURPLE_RING,
101
  lens: LENS,
102
- bodyShell: CREAM,
103
- sideShells: CREAM,
104
- legShells: CREAM,
105
  feet: CLEAN_YELLOW,
106
- soles: PURPLE_RING,
107
  hips: GRAY,
108
  mechDark: DARK,
109
  mechGray: GRAY,
110
- // UI swatch override: the head is warm gray, but this colourway's
111
- // identity is its purple accents - the picker dot shows that.
 
 
112
  swatch: PURPLE_FEET,
113
  },
114
- // Right robot: pale blue dome over a medium blue face plate (two
115
- // different blues), amber eye, orange beak, amber mouth interior,
116
- // orange shoes on yellow soles, blue-gray body.
 
 
117
  blue: {
118
  headDome: PALE_BLUE,
119
- facePlate: MEDIUM_BLUE,
120
  trim: BRIGHT_ORANGE,
121
  beakUpper: AMBER_YELLOW,
122
  beakLower: BRIGHT_ORANGE,
@@ -128,7 +141,7 @@ export const VARIANTS = {
128
  legShells: PALE_BLUE,
129
  feet: BRIGHT_ORANGE,
130
  soles: CLEAN_YELLOW,
131
- hips: MEDIUM_BLUE,
132
  mechDark: DARK,
133
  mechGray: GRAY,
134
  },
 
28
  const CHARCOAL_FACE = { color: [0.044, 0.044, 0.051], roughness: 0.5, metalness: 0.0 }; // #3c3c40
29
  const CHARCOAL_BODY = { color: [0.017, 0.017, 0.019], roughness: 0.5, metalness: 0.0 }; // #232326
30
  const LIGHT_WARM_GRAY = { color: [0.485, 0.459, 0.416], roughness: 0.35, metalness: 0.0 };// #b9b5ae
31
+ const PURPLE_RING = { color: [0.443, 0.308, 0.663], roughness: 0.4, metalness: 0.0 }; // #b098d0
32
+ // Sole pads read a notch deeper than the eye ring on the real robots.
33
+ const PURPLE_SOLE = { color: [0.221, 0.134, 0.465], roughness: 0.45, metalness: 0.0 }; // #8068b0
34
+ // Lavender trunk / leg shells: a notch lighter than the eye ring.
35
+ const LAVENDER_SHELL = { color: [0.462, 0.367, 0.688], roughness: 0.35, metalness: 0.0 }; // #b4a4d4
36
  const SOFT_PURPLE = { color: [0.36, 0.23, 0.48], roughness: 0.45, metalness: 0.0 }; // #a489b5
37
  const PURPLE_FEET = { color: [0.164, 0.085, 0.584], roughness: 0.45, metalness: 0.0 }; // #7a5fc9
38
  const PALE_BLUE = { color: [0.441, 0.613, 0.723], roughness: 0.35, metalness: 0.0 }; // #b6cfdd
 
72
  mechDark: DARK,
73
  mechGray: GRAY,
74
  },
75
+ // Front-left robot: shares the purple colourway everywhere except its
76
+ // shells - warm gray face plate, yellow trim / rigid jaw / shoes, soft
77
+ // purple mouth interior, purple eye ring on purple soles. The head dome
78
+ // and the trunk / leg shells stay charcoal, which is what tells this
79
+ // variant apart from purple (and what the picker chip shows).
80
  charcoal: {
81
  headDome: CHARCOAL,
82
+ facePlate: WARM_GRAY,
83
+ trim: CLEAN_YELLOW,
84
  beakUpper: SOFT_PURPLE,
85
+ beakLower: CLEAN_YELLOW,
86
  tongue: SOFT_PURPLE,
87
+ eyeRing: PURPLE_RING,
88
  lens: LENS,
89
  bodyShell: CHARCOAL_BODY,
90
  sideShells: CHARCOAL_BODY,
91
  legShells: CHARCOAL_BODY,
92
+ feet: CLEAN_YELLOW,
93
+ soles: PURPLE_SOLE,
94
  hips: GRAY,
95
  mechDark: DARK,
96
  mechGray: GRAY,
97
  },
98
+ // Back-center robot: lavender head dome over a warm gray face plate,
99
+ // pale blue eye (the same blue the sky variant wears), YELLOW trim and
100
+ // rigid jaw, soft purple mouth interior, lavender trunk / leg shells
101
+ // on purple soles.
102
  purple: {
103
+ headDome: LAVENDER_SHELL,
104
  facePlate: WARM_GRAY,
105
  trim: CLEAN_YELLOW,
106
  beakUpper: SOFT_PURPLE,
107
  beakLower: CLEAN_YELLOW,
108
  tongue: SOFT_PURPLE,
109
+ eyeRing: PALE_BLUE,
110
  lens: LENS,
111
+ bodyShell: LAVENDER_SHELL,
112
+ sideShells: LAVENDER_SHELL,
113
+ legShells: LAVENDER_SHELL,
114
  feet: CLEAN_YELLOW,
115
+ soles: PURPLE_SOLE,
116
  hips: GRAY,
117
  mechDark: DARK,
118
  mechGray: GRAY,
119
+ // UI swatch override: kept from when the head and body were gray/cream
120
+ // and only the accents carried the purple identity. The shells are
121
+ // lavender now, so this no longer diverges much - and nothing reads it
122
+ // anyway (the HUD picker uses VARIANT_SWATCH_HEX below).
123
  swatch: PURPLE_FEET,
124
  },
125
+ // Right robot: shares the classic colourway everywhere except its
126
+ // shells - warm gray face plate, amber eye, orange beak, amber mouth
127
+ // interior, orange shoes on yellow soles, gray hips. The head dome and
128
+ // the trunk / leg shells stay pale blue, which is what tells this
129
+ // variant apart from classic (and what the picker chip shows).
130
  blue: {
131
  headDome: PALE_BLUE,
132
+ facePlate: WARM_GRAY,
133
  trim: BRIGHT_ORANGE,
134
  beakUpper: AMBER_YELLOW,
135
  beakLower: BRIGHT_ORANGE,
 
141
  legShells: PALE_BLUE,
142
  feet: BRIGHT_ORANGE,
143
  soles: CLEAN_YELLOW,
144
+ hips: GRAY,
145
  mechDark: DARK,
146
  mechGray: GRAY,
147
  },