A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
Merge remote-tracking branch 'origin/main' into promo-units
eyalgoland2b7d9da95fa
diff --cc CHANGELOG.mdindex 32e27d1dc,9bbecb0ca..c09962521--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -21,10 -21,9 +21,13 @@@ adds a line under **Unreleased**; CI's- A runtime quality fallback for slow machines in the browser: when frames stay slower than 30 fps, the game lowers itsrender scale (to 0.9, then 0.8) and then turns the tilt-shift off, and steps back up when frames are comfortably fastagain. Presentation only; `?nofallback` turns it off (#44).+ - The sea and coast in the promo look: turquoise shallows that deepen to a muted blue offshore, rolling surf filtered+ so it does not shimmer, a fine chop, and a sand strip with wet sand along every sea-level coast (salt flats at the+ Dead Sea). Presentation only.+- The unit art slice (a showcase for the art track, not gameplay): a 1948 IDF rifle trio with a selection ring, an IAF+ Spitfire flying a loop with its shadow, and the corvette INS Haganah, built from code as painted miniatures at the+ promo's symbolic scale. Shown only with `?units` (desktop `-units`) and in `tools/art_checkpoint.sh --units`; an+ authored model can replace a code-built one per unit type (docs/units.md).### Changed- The historical AI no longer sends an order the turn's attention cannot cover (the rule the UI's order queue applies),diff --cc unity/Assets/Editor/MapCapture.csindex 818a11102,d070cf40b..2c6de6e31--- a/unity/Assets/Editor/MapCapture.cs+++ b/unity/Assets/Editor/MapCapture.cs@@@ -103,10 -103,36 +103,37 @@@ public static class MapCaptur}}+ /// <summary>The surf in motion (promo-sea review I2): 60 frames, consecutive at 60 fps unless -surfDt gives the seconds+ /// between them (the water's clock pinned through MapShaderGlobals.PinWaterTime) of the gameplay03 pose on the web tier (quality level 0), 1920x1080, into+ /// <-captureDir> (default captures/visual/surf) as surf-NNN.png; encode or diff them to judge crawl and shimmer,+ /// which stills cannot show.</summary>+ public static void SurfFrames()+ {+ var args = System.Environment.GetCommandLineArgs();+ int at = System.Array.IndexOf(args, "-captureDir");+ var dir = at >= 0 && at + 1 < args.Length ? args[at + 1] : Path.Combine(CaptureDir, "visual", "surf");+ int dtAt = System.Array.IndexOf(args, "-surfDt"); // seconds between frames (default 1/60: consecutive frames)+ float dt = dtAt >= 0 && dtAt + 1 < args.Length ? float.Parse(args[dtAt + 1], System.Globalization.CultureInfo.InvariantCulture) : 1f / 60f;+ var map = OpenAndBuild();+ var rig = Camera.main.GetComponent<CameraRig>();+ int saved = QualitySettings.GetQualityLevel();+ try+ {+ QualitySettings.SetQualityLevel(0, true);+ PromoPose.Gameplay03.Apply(rig, map.Frame);+ for (int i = 0; i < 60; i++)+ {+ MapShaderGlobals.PinWaterTime(100f + i * dt);+ Save(Camera.main, 1920, 1080, Path.Combine(dir, $"surf-{i:D3}.png"));+ }+ }+ finally { MapShaderGlobals.PinWaterTime(null); QualitySettings.SetQualityLevel(saved, true); }+ }+/// <summary>Renders each promo pose (PromoPose.All) at 1920x1080 once per quality tier (0 = Mobile, the WebGL tier;/// 1 = PC) into <-captureDir> (default captures/visual/editor) as <tier>-<pose>.png. Editor renders show no UI- /// Toolkit labels; tools/art_checkpoint.sh pairs them with the WebGL screenshots, which do.</summary>+ /// Toolkit labels; tools/art_checkpoint.sh pairs them with the WebGL screenshots, which do. With -units it adds the unit+ /// art slice (UnitShowcase), still.</summary>public static void Promo(){var args = System.Environment.GetCommandLineArgs();