A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
fix(map): the selected hex is warm ivory, not gold, so it reads on the dry-grass coastal plain
eyalgolane3852277498b
diff --git a/unity/Assets/Materials/HexSelection.mat b/unity/Assets/Materials/HexSelection.matindex f2fd0c48a..fe2371a5f 100644--- a/unity/Assets/Materials/HexSelection.mat+++ b/unity/Assets/Materials/HexSelection.mat@@ -26,6 +26,6 @@ Material:m_Ints: []m_Floats: []m_Colors:- - _BaseColor: {r: 1, g: 0.84, b: 0.38, a: 1}+ - _BaseColor: {r: 1, g: 0.95, b: 0.8, a: 1}m_BuildTextureStacks: []m_AllowLocking: 1diff --git a/unity/Assets/Scripts/Map/MapScene.cs b/unity/Assets/Scripts/Map/MapScene.csindex 561ff3917..2462f297e 100644--- a/unity/Assets/Scripts/Map/MapScene.cs+++ b/unity/Assets/Scripts/Map/MapScene.cs@@ -25,9 +25,12 @@ namespace Statecraft.Game.Mappublic const string SelectionName = "HexSelection";/// <summary>The land and sea past the map's edge: a child of the terrain (so a rebuild destroys it).</summary>public const string BorderSkirtName = "BorderSkirt";- /// <summary>Highlight colour of the selected hex (the UI's gold, brighter, to read against every biome); MapMaterials- /// bakes it into the editor-made HexSelection.mat.</summary>- public static readonly Color SelectionColour = new Color(1f, 0.84f, 0.38f);+ /// <summary>Highlight colour of the selected hex, to read against every biome; MapMaterials bakes it into the+ /// editor-made HexSelection.mat. Warm ivory since the visual v1 merge point: the earlier gold (1, 0.84, 0.38) shares+ /// the hue of the terrain shader's dry-grass coastal plain (MapPalette), so at gameplay03 it stood out from the land+ /// only by lightness (deltaE76 18.2 ungraded, under GradeTests' 20). Ivory differs in chroma too, like the promo's+ /// white rings and lines.</summary>+ public static readonly Color SelectionColour = new Color(1f, 0.95f, 0.80f);/// <summary>Width of the outline band, as a fraction of the hex circumradius (about 600 m on a 5 km hex).</summary>public const float SelectionWidth = 0.12f;/// <summary>Height of the band above the highest ground under it. 30 m since visual v1 Task 8 (it was the line mesh'sdiff --git a/unity/Assets/Shaders/HexSelection.shader b/unity/Assets/Shaders/HexSelection.shaderindex 8a47be363..4e76f2ba0 100644--- a/unity/Assets/Shaders/HexSelection.shader+++ b/unity/Assets/Shaders/HexSelection.shader@@ -6,7 +6,7 @@ Shader "Statecraft/HexSelection"{Properties{- [MainColor] _BaseColor("Color", Color) = (1, 0.84, 0.38, 1)+ [MainColor] _BaseColor("Color", Color) = (1, 0.95, 0.80, 1)}SubShader{