Unity 6000.0.62f1 · Complete offline documentation

Word Forge
Developer Guide

Install. Edit. Reskin. Build your release.

szekipapa77@gmail.com
Word Forge cover
CHAPTER 01

Start here: Word Forge

Drag letter tiles from your rack onto a connected crossword board and submit a legal word. Your rival takes a local computer-controlled turn in reply. Manage score bonuses, legal crossings, bag/rack letters and the current duel rules. Career opponents change vocabulary, strength, board and end conditions; this is local simulation, not online multiplayer.

This is a standalone editable Unity game with 24 authored career stages, 5 guided helpers, game-specific authoring/generation and local saves. The publisher-owned Szekipapa77Ads adapter is included, with no external provider SDK binaries, HLK, IAP or remote backend in this edition.

CHAPTER 02

Requirements, installation and first play

  1. Install Unity 6000.0.62f1 with matching Android SDK/NDK/OpenJDK and WebGL modules in Unity Hub. Retain URP 17.0.4, Unity UI 2.0.0, Input System 1.14.2 and the supplied standard modules, including screen capture and Android JNI.
  2. Extract the complete standalone project to a short writable path. Keep Assets/Packages/ProjectSettings together, open it with the matching editor and wait for import. Fix the first Console error before continuing.
  3. For native .unitypackage import, use a matching URP project and import every supplied entry. Retain the private game Kit and actual backend layer. Keep the WebGLTemplates special folder at Assets/WebGLTemplates/Szekipapa77.
  4. Run Tools > Szekipapa77 > Word Forge> Setup. Check Graphics and every Quality URP assignment, and Active Input Handling=Both. The game uses classic pointer input.
  5. Open Assets/Szekipapa77WordForge/Games/WordForge/Scenes/WordForge_Mobile.unity and press Play. Follow its opening card/tutorial, then use the actual controls described in the next chapter.
  6. Stop Play, open Assets/Szekipapa77WordForge/Games/WordForge/Scenes/WordForge_WebGL.unity and repeat in landscape. Preserve all .meta GUIDs and the exact resource basenames.
CHAPTER 03

Folders and exact source map

All game-relative paths start at Assets/Szekipapa77WordForge/Games/WordForge. Runtime UI is constructed in game code; editing an unrelated static Canvas is insufficient. Scripts owns rules/views/HUD, Editor owns authoring, Kit is required game support and Resources/wordforge owns gameplay data and media. Backend settings: Assets/Szekipapa77WordForge/Szekipapa77Ads/Resources/AdsSettings.asset.

Source filePurpose/source heading
PublisherNamespaceMarker.csGame-specific model, renderer or rule support
WfAi.csGame-specific model, renderer or rule support
WfArt.csGame-specific model, renderer or rule support
WfContent.csGame-specific model, renderer or rule support
WfEngine.csGame-specific model, renderer or rule support
WfLevels.csGame-specific model, renderer or rule support
WfTileView.csGame-specific model, renderer or rule support
WordForgeGame.Layout.csGame runtime partial
WordForgeGame.Popups.csGame runtime partial
WordForgeGame.csWord Forge: a 1-vs-1 crossword tile duel against a ladder of AI rivals (career data in Resources/wordforge/Levels/levels.json, / endless seeded rivals after the curated list). Core: state, career flow, opponent turns, helpers, test commands. / Layout/HUD: WordForgeGame.Layout.cs. Popups and screens: WordForgeGame.Popups.cs.

Customer Setup/build/package tools are Kit/Editor/HzTools.cs. Keep the game-specific Kit and backend references; other standalone games should be integrated deliberately rather than copying overlapping Kit classes into the same project.

CHAPTER 04

Gameplay, controls and progression

Drag letter tiles from your rack onto a connected crossword board and submit a legal word. Your rival takes a local computer-controlled turn in reply. Manage score bonuses, legal crossings, bag/rack letters and the current duel rules. Career opponents change vocabulary, strength, board and end conditions; this is local simulation, not online multiplayer.

Read the current level goal/limits and first-time hint; the win/fail condition is specific to this game. Complete the guided opening, an ordinary level, retry/failure, helper use and a save/relaunch. Curated content count refers only to the actual levels array, not dictionary words, helper catalogues or extra data libraries. The bank contains 24 career rivals and a separate 5-entry helpers catalogue. Opponent vocabulary/skill and dictionary data are gameplay content. Board bonus symbols, tile scores, bag distribution and dictionary validation are separate from interface translation. Do not replace a base dictionary with arbitrary prose.

Actual gameplay-model entry pointCurrent continuation/loading implementation
WordForgeGame.cs:91return WfGen.ForLevel(n, Curated);
CHAPTER 05

Tutorials and all helpers

Follow the authored first-level guidance and each new helper announcement/guided use. The table gives the actual per-game catalogue, including free-charge counts rather than an assumed shared default. Activating a targeted helper only arms it: perform its required target action and check the effect. An ordinary use and a guided free use can consume charges differently.

HelperUnlockFree chargesActual effect
Spark33Lays the best word you can forge right now on the board.
Assay53Tests the tiles you placed: which words are real and what they score. Does not use your turn.
Spyglass83Reveals your rival's tiles until the end of your turn.
Bellows113Swap any of your tiles with the bag without losing your turn.
Rewind142Takes back your last move and your rival's reply.

Exact catalogue/effect sources: Resources/wordforge/Levels/levels.json / helpers. Unlocks and ordinary charge/refill logic live in the game source. Out-of-charge ad actions must wait for the actual success callback. Reset only an isolated test save when replaying the entire tutorial sequence.

CHAPTER 06

Visual editor: a worked editing session

  1. Stop Play and back up Assets/Szekipapa77WordForge/Games/WordForge/Resources/wordforge/Levels/levels.json. Open Tools > Szekipapa77 > Word Forge> Level Editor.
  2. Select an ordinary early entry, duplicate it with the actual Dup/Duplicate control, and edit the visible name/title where available. Preserve the original guided opening.
  3. Apply this game-specific example: Duplicate an early ordinary rival and change rounds from 6 to 8 while keeping its legal board and vocabulary settings. Rename the visible opponent and intro deliberately. Validate the board and play enough turns to exercise the longer duel.
  4. Use the exact controls in the table below, validate the edited entry, resolve every issue, Save explicitly and stop/restart Play before testing the correct index.
  5. Check the result in portrait and landscape, including completion/retry. Generator or painter changes are not necessarily saved until Save is pressed; inspect the editor dirty marker.
Current editor locationExact control
Editor/WordForgeLevelEditor.cs:118if (GUILayout.Button(_dirty ? "Save *" : "Save", EditorStyles.toolbarButton, GUILayout.Width(70))) Save();
Editor/WordForgeLevelEditor.cs:119if (GUILayout.Button("Reload", EditorStyles.toolbarButton, GUILayout.Width(60)) && (!_dirty || EditorUtility.DisplayDialog("Reload", "Discard unsaved changes?", "Discard", "Cancel"))) Load();
Editor/WordForgeLevelEditor.cs:122if (GUILayout.Button("Validate", EditorStyles.toolbarButton, GUILayout.Width(70)) && Cur != null) ValidateOne(_sel);
Editor/WordForgeLevelEditor.cs:123if (GUILayout.Button("Validate All", EditorStyles.toolbarButton, GUILayout.Width(85))) ValidateAll();
Editor/WordForgeLevelEditor.cs:128if (GUILayout.Button(new GUIContent("Quick test", "Optional: saves, opens the WebGL scene at this match and enters Play mode. Editing never needs it."), EditorStyles.toolbarButton, GUILayout.Width(80)) && Cur != null) Play(_sel + 1);
Editor/WordForgeLevelEditor.cs:166if (GUILayout.Button("Add")) { var l = WfGen.Generate(new WfGenParams { Level = _file.levels.Length + 1, Difficulty = 0.4f, Seed = Environment.TickCount & 0xFFFF, AvoidBoard = Cur?.boardName }); l.name = "New Rival"; Insert(_sel + 1, l); }
Editor/WordForgeLevelEditor.cs:167if (GUILayout.Button("Dup") && Cur != null) { var c = Cur.Clone(); c.title += " (copy)"; Insert(_sel + 1, c); }
Editor/WordForgeLevelEditor.cs:168if (GUILayout.Button("Del") && Cur != null && EditorUtility.DisplayDialog("Delete", $"Delete match {_sel + 1} '{Cur.name}'?", "Delete", "Cancel"))
Editor/WordForgeLevelEditor.cs:172if (GUILayout.Button("Up") && _sel > 0) Move(-1);
Editor/WordForgeLevelEditor.cs:173if (GUILayout.Button("Down") && _sel < _file.levels.Length - 1) Move(1);
Editor/WordForgeLevelEditor.cs:195EditorGUILayout.LabelField($"Match {_sel + 1}", EditorStyles.boldLabel);
Editor/WordForgeLevelEditor.cs:203l.name = EditorGUILayout.TextField("Rival name", l.name);
Editor/WordForgeLevelEditor.cs:207l.avatar = EditorGUILayout.IntSlider("Avatar", l.avatar, 1, 16);
Editor/WordForgeLevelEditor.cs:212l.breather = EditorGUILayout.ToggleLeft("Breather", l.breather, GUILayout.Width(80));
Editor/WordForgeLevelEditor.cs:214l.intro = EditorGUILayout.TextField("Greeting", l.intro);
Editor/WordForgeLevelEditor.cs:215l.hint = EditorGUILayout.TextField("First-time hint", l.hint);
Editor/WordForgeLevelEditor.cs:220EditorGUILayout.LabelField("AI profile", EditorStyles.boldLabel);
Editor/WordForgeLevelEditor.cs:222l.vocab = EditorGUILayout.IntSlider(new GUIContent("Vocabulary (rank cap)", "Only the N most common words"), l.vocab, 250, 10000);
Editor/WordForgeLevelEditor.cs:223l.think = EditorGUILayout.Slider(new GUIContent("Think time (s)"), l.think, 0.5f, 3f);
Editor/WordForgeLevelEditor.cs:226l.maxLen = EditorGUILayout.IntSlider(new GUIContent("Longest word"), l.maxLen, 2, 15);
Editor/WordForgeLevelEditor.cs:227l.maxTiles = EditorGUILayout.IntSlider(new GUIContent("Max tiles per move"), l.maxTiles, 1, 8);
Editor/WordForgeLevelEditor.cs:230l.skill = EditorGUILayout.Slider(new GUIContent("Skill", "0 = any valid move at random, 1 = only the top moves"), l.skill, 0, 1);
Editor/WordForgeLevelEditor.cs:231l.best = EditorGUILayout.Slider(new GUIContent("Best-move chance"), l.best, 0, 1);
Editor/WordForgeLevelEditor.cs:234EditorGUILayout.LabelField("Rules", EditorStyles.boldLabel);
Editor/WordForgeLevelEditor.cs:237int nm = EditorGUILayout.Popup("Match type", mode, Modes);
Editor/WordForgeLevelEditor.cs:239if (nm == 1) l.rounds = EditorGUILayout.IntSlider("turns per side", l.rounds, 3, 20);
Editor/WordForgeLevelEditor.cs:240if (nm == 2) l.target = EditorGUILayout.IntSlider("target score", l.target, 50, 500);
Editor/WordForgeLevelEditor.cs:241l.strict = EditorGUILayout.ToggleLeft(new GUIContent("Strict forge", "An invalid word costs the turn"), l.strict, GUILayout.Width(100));
Editor/WordForgeLevelEditor.cs:248EditorGUILayout.HelpBox($"Bot validation ({v.Games} duels, reference player vs this rival): {v}", v.Ok ? MessageType.Info : MessageType.Warning);
Editor/WordForgeLevelEditor.cs:249else EditorGUILayout.HelpBox($"Stored difficulty {l.difficulty:0.00}. Press Validate to measure it with bot duels.", MessageType.None);
Editor/WordForgeLevelEditor.cs:255EditorGUILayout.LabelField("Board", EditorStyles.boldLabel);
Editor/WordForgeLevelEditor.cs:258_preset = WfGen.BoardPresets[EditorGUILayout.Popup("Preset", pi, WfGen.BoardPresets, GUILayout.Width(330))];
Editor/WordForgeLevelEditor.cs:259if (_preset == "Scatter") _scatterSeed = EditorGUILayout.IntField("seed", _scatterSeed, GUILayout.Width(150));
Editor/WordForgeLevelEditor.cs:260if (GUILayout.Button("Apply preset", GUILayout.Width(100)))
Editor/WordForgeLevelEditor.cs:266l.boardName = EditorGUILayout.TextField("Board name", l.boardName);
Editor/WordForgeLevelEditor.cs:271_brush = (Brush)GUILayout.Toolbar((int)_brush, new[] { "Plain", "2L", "3L", "2W", "3W", "Iron pillar" }, GUILayout.Width(420));
Editor/WordForgeLevelEditor.cs:272_mirror = EditorGUILayout.ToggleLeft(new GUIContent("Mirror (8-fold)", "Paint symmetric copies so the board is fair from every side"), _mirror, GUILayout.Width(120));
Editor/WordForgeLevelEditor.cs:277EditorGUILayout.LabelField($"3W {tw} 2W {dw} 3L {tl} 2L {dl} pillars {bl} Left-click/drag paints, right-click clears. The centre star is fixed." + (err != null ? " PROBLEM: " + err : ""), err != null ? EditorStyles.boldLabel : EditorStyles.miniLabel);
Editor/WordForgeLevelEditor.cs:333_showCurve = EditorGUILayout.Foldout(_showCurve, "Difficulty curve (measured by bot duels where validated, else stored)", true);
Editor/WordForgeLevelEditor.cs:351EditorGUILayout.LabelField("Bars: difficulty 0..1 = half the reference player's loss rate + half how close the rival's average score gets. Blue = breather. Click a bar to select.", EditorStyles.wordWrappedMiniLabel);
Editor/WordForgeLevelEditor.cs:356_showHelpers = EditorGUILayout.Foldout(_showHelpers, "Helpers (unlock match, free charges)", true);
Editor/WordForgeLevelEditor.cs:364h.unlock = EditorGUILayout.IntField("unlock at match", h.unlock, GUILayout.Width(220));
Editor/WordForgeLevelEditor.cs:365h.charges = EditorGUILayout.IntField("free charges", h.charges, GUILayout.Width(200));
Editor/WordForgeLevelEditor.cs:368h.guide = EditorGUILayout.TextField(" guided first use", h.guide);
Editor/WordForgeLevelEditor.cs:377_showGen = EditorGUILayout.Foldout(_showGen, "Auto Generate (seeded, bot-validated, same generator as the runtime endless career)", true);
Editor/WordForgeLevelEditor.cs:380_genCount = EditorGUILayout.IntField("Count", _genCount); _genStart = EditorGUILayout.IntField("Start at match #", _genStart);
Editor/WordForgeLevelEditor.cs:381_genSeed = EditorGUILayout.IntField("Seed", _genSeed);
Editor/WordForgeLevelEditor.cs:384_genFrom = EditorGUILayout.Slider("Start difficulty", _genFrom, 0, 1); _genTo = EditorGUILayout.Slider("End difficulty", _genTo, 0, 1);
Editor/WordForgeLevelEditor.cs:387_genBreather = EditorGUILayout.IntSlider("Breather every", _genBreather, 0, 8);
Editor/WordForgeLevelEditor.cs:388_genReplace = EditorGUILayout.ToggleLeft("Replace that range (else insert)", _genReplace);
Editor/WordForgeLevelEditor.cs:400if (GUILayout.Button($"Generate {_genCount} rival(s)", GUILayout.Height(26))) Generate();
CHAPTER 07

Generation, insertion, replacement and validation

Replace OFF inserts at the chosen 1-based start index and shifts later records. ON removes the overlapping requested/generated range then inserts the new records. A start after the existing bank clamps to the end. Review the actual removal count when cancelling partway.

Worked extension: back up the bank and generate a small trailing set of 3 entries with a reproducible seed such as 4242 and a moderate increasing difficulty where that panel exposes it. For a From/To panel choose the next 3 unused 1-based indexes. Review the real controls, range-write code and cancellation behavior below; then validate, Save, reopen JSON and verify the count. A deterministic solver/bot result helps detect invalid layouts but does not certify an enjoyable difficulty curve. Runtime-generated continuation does not automatically append records to the project bank.

Actual generator implementationCurrent source
Editor/WordForgeLevelEditor.cs:40int _genCount = 5, _genStart = 25, _genSeed = 1234, _genBreather = 5;
Editor/WordForgeLevelEditor.cs:41float _genFrom = 0.4f, _genTo = 0.8f;
Editor/WordForgeLevelEditor.cs:42bool _genReplace, _showGen = true, _showHelpers, _showCurve = true;
Editor/WordForgeLevelEditor.cs:380_genCount = EditorGUILayout.IntField("Count", _genCount); _genStart = EditorGUILayout.IntField("Start at match #", _genStart);
Editor/WordForgeLevelEditor.cs:381_genSeed = EditorGUILayout.IntField("Seed", _genSeed);
Editor/WordForgeLevelEditor.cs:384_genFrom = EditorGUILayout.Slider("Start difficulty", _genFrom, 0, 1); _genTo = EditorGUILayout.Slider("End difficulty", _genTo, 0, 1);
Editor/WordForgeLevelEditor.cs:387_genBreather = EditorGUILayout.IntSlider("Breather every", _genBreather, 0, 8);
Editor/WordForgeLevelEditor.cs:388_genReplace = EditorGUILayout.ToggleLeft("Replace that range (else insert)", _genReplace);
Editor/WordForgeLevelEditor.cs:392int n = Mathf.Max(1, _genCount);
Editor/WordForgeLevelEditor.cs:395float d = WfGen.Curve(i, n, _genFrom, _genTo, _genBreather, out bool br);
Editor/WordForgeLevelEditor.cs:400if (GUILayout.Button($"Generate {_genCount} rival(s)", GUILayout.Height(26))) Generate();
Editor/WordForgeLevelEditor.cs:406int at = Mathf.Clamp(_genStart - 1, 0, list.Count);
Editor/WordForgeLevelEditor.cs:411for (int i = 0; i < _genCount; i++)
Editor/WordForgeLevelEditor.cs:413EditorUtility.DisplayProgressBar("Generating", $"Match {at + i + 1}", i / (float)_genCount);
Editor/WordForgeLevelEditor.cs:414float target = WfGen.Curve(i, _genCount, _genFrom, _genTo, _genBreather, out bool br);
Editor/WordForgeLevelEditor.cs:419var l = WfGen.Generate(new WfGenParams { Level = at + i + 1, Difficulty = target, Breather = br, Seed = _genSeed + i * 7919 + k * 31, AvoidBoard = prev });
Editor/WordForgeLevelEditor.cs:427if (bestL == null) bestL = WfGen.Generate(new WfGenParams { Level = at + i + 1, Difficulty = target, Breather = br, Seed = _genSeed + i, AvoidBoard = prev });
Editor/WordForgeLevelEditor.cs:433if (_genReplace) { int rm = Mathf.Min(_genCount, list.Count - at); if (rm > 0) list.RemoveRange(at, rm); }
Editor/WordForgeLevelEditor.cs:434list.InsertRange(at, made);
CHAPTER 08

Actual level schema and safe identifiers

The bank contains 24 career rivals and a separate 5-entry helpers catalogue. Opponent vocabulary/skill and dictionary data are gameplay content. Board bonus symbols, tile scores, bag distribution and dictionary validation are separate from interface translation. Do not replace a base dictionary with arbitrary prose.

Canonical bank: Assets/Szekipapa77WordForge/Games/WordForge/Resources/wordforge/Levels/levels.json. The actual first record below is an example of the shipped schema, including any diagnostic fields. Preserve numeric/boolean types, root version fields and array order. Source fields/comments follow; use the visual editor for encoded coordinates and type enums.

{
  "name": "Brenna",
  "title": "the Apprentice",
  "avatar": 1,
  "color": "#E0874A",
  "theme": "ember",
  "intro": "First day at the anvil! Go easy on me?",
  "hint": "Short duel: the higher score after 6 rounds wins.",
  "vocab": 700,
  "maxLen": 4,
  "maxTiles": 3,
  "skill": 0,
  "best": 0,
  "think": 1,
  "rounds": 6,
  "target": 0,
  "strict": false,
  "boardName": "Classic Forge",
  "board": [
    "T......T......T",
    ".t..D.....D..t.",
    ".....t...t.....",
    "...D.......D...",
    ".D....d.d....D.",
    "..t..D...D..t..",
    "....d.....d....",
    "T......*......T",
    "....d.....d....",
    "..t..D...D..t..",
    ".D....d.d....D.",
    "...D.......D...",
    ".....t...t.....",
    ".t..D.....D..t.",
    "T......T......T"
  ],
  "breather": false,
  "difficulty": 0.08
}
Model declarationExact field/property
Scripts/WfLevels.cs:12public string name = "Rival"; // opponent name
Scripts/WfLevels.cs:13public string title = "Smith"; // opponent title ("the Anvil Lord")
Scripts/WfLevels.cs:14public int avatar = 1; // 1..16 (Art/Avatars/av_XX)
Scripts/WfLevels.cs:15public string color = "#E0874A"; // accent ring
Scripts/WfLevels.cs:16public string theme = "ember"; // ember | steel | copper | gold | night (background tint)
Scripts/WfLevels.cs:17public string intro = ""; // rival's greeting on the match card
Scripts/WfLevels.cs:18public string hint = ""; // first-time hint for a rule or board shown on the match card
Scripts/WfLevels.cs:20public int vocab = 2000;
Scripts/WfLevels.cs:21public int maxLen = 6;
Scripts/WfLevels.cs:22public int maxTiles = 4;
Scripts/WfLevels.cs:23public float skill = 0.2f;
Scripts/WfLevels.cs:24public float best = 0f;
Scripts/WfLevels.cs:25public float think = 1.2f; // seconds of "thinking" (minimum)
Scripts/WfLevels.cs:27public int rounds; // 0 = full game; else turns per side
Scripts/WfLevels.cs:28public int target; // 0 = none; else first to this score wins
Scripts/WfLevels.cs:29public bool strict; // an invalid play costs the turn
Scripts/WfLevels.cs:30public string boardName = "Classic Forge";
Scripts/WfLevels.cs:31public string[] board; // 15 rows of 15 chars ('.', d, t, D, T, *, #)
Scripts/WfLevels.cs:33public bool breather;
Scripts/WfLevels.cs:34public float difficulty; // measured by Validate (1 - reference win rate) or the design target
Scripts/WfLevels.cs:37public string BoardString()
Scripts/WfLevels.cs:55public string RulesText()
Scripts/WfLevels.cs:68public string id; // hint | check | peek | swap | undo
Scripts/WfLevels.cs:69public string name;
Scripts/WfLevels.cs:70public int unlock; // career match that unlocks it
Scripts/WfLevels.cs:71public int charges = 3; // free charges granted on unlock
Scripts/WfLevels.cs:72public string desc;
Scripts/WfLevels.cs:73public string guide; // guided first-use line
Scripts/WfLevels.cs:79public int version = 2;
Scripts/WfLevels.cs:80public WfHelperDef[] helpers = new WfHelperDef[0];
Scripts/WfLevels.cs:81public WfLevel[] levels = new WfLevel[0];
Scripts/WfLevels.cs:86public int Level = 1;
Scripts/WfLevels.cs:87public float Difficulty = 0.5f;
Scripts/WfLevels.cs:88public bool Breather;
Scripts/WfLevels.cs:89public int Seed = 1;
Scripts/WfLevels.cs:90public string AvoidBoard;
Scripts/WfLevels.cs:290public float Value => NextU() / 4294967296f;
Scripts/WfLevels.cs:291public int Range(int a, int b) => b <= a ? a : a + (int)(NextU() % (uint)(b - a));
Scripts/WfLevels.cs:292public float Range(float a, float b) => a + (b - a) * Value;
Scripts/WfLevels.cs:293public bool Chance(float p) => Value < p;
Scripts/WfLevels.cs:298public int Games, RefWins, Draws, Unfinished;
Scripts/WfLevels.cs:299public float WinRate => Games == 0 ? 0 : (RefWins + 0.5f * Draws) / Games;
Scripts/WfLevels.cs:301public float Difficulty
Scripts/WfLevels.cs:310public float AvgRef, AvgAi, AvgTurns;
Scripts/WfLevels.cs:311public string BoardError;
Scripts/WfLevels.cs:312public bool Ok => BoardError == null && Unfinished == 0;

Keep GameId=wordforge, save prefixes, resource IDs, enum values and script GUIDs stable during cosmetic editing. Visible names/hints and hierarchy/object IDs are different things. Derived validation properties are not a substitute for changing actual model fields.

CHAPTER 09

Reskin recipe: exact interface colours

Open Scripts/WordForgeGame.cs and find Ink, currently assigned X("#F8EBD6"). For a worked edit, replace only that expression with HzUI.Hex("#42C9B0"), compile and relaunch. Keep the symbol/type and intended contrast. Actual consumers follow, then the full current palette/hex inventory. This edit changes those consumers; it does not automatically recolour sprites,3 Dmaterials or other independent palettes.

Actual consumerCurrent code
Scripts/WordForgeGame.Layout.cs:158 / void BuildTopBar(float x, float y, float w, float h)var title = Lbl(_layer, "", 44, Ink);
Scripts/WordForgeGame.Layout.cs:171 / void BuildTopBar(float x, float y, float w, float h)var t2 = Lbl(_layer, "Word Forge", 58, Ink, TextAnchor.MiddleLeft);
Scripts/WordForgeGame.Layout.cs:214 / void MakeCard(float x, float y, float w, float h, bool you)var name = Lbl(card.transform, you ? "You" : OppName, IsPortrait ? 36 : 38, Ink, TextAnchor.MiddleLeft);
Scripts/WordForgeGame.Layout.cs:237 / void BuildLog(float x, float y, float w, float h)_log = Lbl(p.transform, "", fs, Ink, TextAnchor.LowerLeft, false);
Scripts/WordForgeGame.Layout.cs:334 / void RefreshHelpers()var cap = Lbl(t, un ? def.name : "Match " + def.unlock, IsPortrait ? 22 : 21, un ? Ink : Sub, TextAnchor.MiddleCenter, false);
Scripts/WordForgeGame.Layout.cs:379 / void RefreshGuide()var l = Lbl(bub.transform, def.guide, 30, Ink, TextAnchor.MiddleCenter, false); l.rectTransform.Stretch(12);
Scripts/WordForgeGame.Layout.cs:432 / void AddCaption(Button b, string text)var t = Lbl(b.transform, text, 22, Ink, TextAnchor.MiddleCenter, false);
Scripts/WordForgeGame.Layout.cs:742 / void ShowNote(string msg, Color accent)var l = Lbl(bg.transform, msg, 34, Ink, TextAnchor.MiddleCenter, false); l.supportRichText = true; l.rectTransform.Stretch(14);
Scripts/WordForgeGame.Popups.cs:156 / void ShowTitle()var nm = Lbl(root, $"{lvCur.name} {lvCur.title}", portrait ? 52 : 48, Ink);
Scripts/WordForgeGame.Popups.cs:177 / void ShowTitle()var how = HzUI.Button("How", root, "How to play", Panel2, Ink, () => ShowTutorial(0, null), 40, 30);
Scripts/WordForgeGame.Popups.cs:179 / void ShowTitle()var stats = HzUI.Button("Stats", root, "Stats", Panel2, Ink, ShowStats, 40, 30);
Scripts/WordForgeGame.Popups.cs:194 / void ShowTutorial(int page, Action done)ModalText(m, tp.body, 44, Ink, new Vector2(0, -240), new Vector2(780, 260));
Scripts/WordForgeGame.Popups.cs:234 / void ShowMatchIntro(Action then)ModalText(m, $"{_lv.name} {_lv.title}", 50, Ink, new Vector2(0, -420), new Vector2(860, 64), true);
Scripts/WordForgeGame.Popups.cs:253 / void ShowMatchIntro(Action then)var t = Lbl(box.transform, _lv.hint, 32, Ink, TextAnchor.MiddleLeft, false);
Scripts/WordForgeGame.Popups.cs:275 / void ShowUnlock(WfHelperDef h, Action then)ModalText(m, h.desc, 36, Ink, new Vector2(0, -610), new Vector2(800, 120));
Scripts/WordForgeGame.Popups.cs:284 / void ShowOutOfCharges(WfHelperDef h)ModalText(m, $"No {h.name} charges left.\nWin duels to earn more, or watch a short ad for one now.", 38, Ink, new Vector2(0, -260), new Vector2(760, 200));
Scripts/WordForgeGame.Popups.cs:310 / void ShowFirstTurn()var res = ModalText(m, "", 46, Ink, new Vector2(0, -540), new Vector2(780, 60), true);
Scripts/WordForgeGame.Popups.cs:405 / void ShowSwap(bool free)info = ModalText(m, $"{S.bag.Length} tiles in the bag", 34, Ink, new Vector2(0, -495), new Vector2(800, 50));
Scripts/WordForgeGame.Popups.cs:434 / void ShowBag()ModalText(m, $"{S.bag.Length} tiles left in the bag", 40, Ink, new Vector2(0, -175), new Vector2(800, 56));
Scripts/WordForgeGame.Popups.cs:517 / void RowResult(Modal m, string name, int score, int adj, Color col, float y, bool crown)var s = Lbl(row.transform, score.ToString(CultureInfo.InvariantCulture), 56, Ink, TextAnchor.MiddleRight); s.rectTransform.Place(new Vector2(1, 0.5f), new Vector2(150, 80), new Vector2(-24 - 75, 0));
Scripts/WordForgeGame.Popups.cs:545 / void ShowStats()var v = Lbl(bg.transform, rows[i].v, 34, Ink, TextAnchor.MiddleRight, false); v.rectTransform.Stretch(); v.rectTransform.offsetMax = new Vector2(-24, 0);

Review HUD, menus, help, locked/unlocked tools, goal states, result popups and both orientations. Look through the actual Art/View/Theme files below for board/procedural colours. Rebuild affected demo outputs after accepting a colour change.

Palette locationExact source
Scripts/WfLevels.cs:15 / declarationspublic string color = "#E0874A"; // accent ring
Scripts/WfLevels.cs:204 / public static string CheckBoard(string b)static readonly string[] Colors = { "#E0874A", "#7FB069", "#C86FC9", "#5FA8D3", "#E8B23A", "#D6402F", "#4FC1B0", "#A58BFF" };
Scripts/WordForgeGame.Layout.cs:57 / protected override void OnLayout(bool orientationChanged)case "steel": return (X("#1E2A36"), X("#080B0F"), new Color(0.42f, 0.7f, 0.88f, 0.2f));
Scripts/WordForgeGame.Layout.cs:58 / protected override void OnLayout(bool orientationChanged)case "copper": return (X("#3D2A1C"), X("#0E0A07"), new Color(0.85f, 0.5f, 0.25f, 0.22f));
Scripts/WordForgeGame.Layout.cs:59 / protected override void OnLayout(bool orientationChanged)case "gold": return (X("#3A3016"), X("#0D0A05"), new Color(1f, 0.75f, 0.2f, 0.2f));
Scripts/WordForgeGame.Layout.cs:60 / protected override void OnLayout(bool orientationChanged)case "night": return (X("#261B38"), X("#09070F"), new Color(0.65f, 0.5f, 1f, 0.2f));
Scripts/WordForgeGame.Layout.cs:61 / protected override void OnLayout(bool orientationChanged)default: return (X("#3A2219"), X("#0F0A09"), new Color(1f, 0.4f, 0.08f, 0.22f));
Scripts/WordForgeGame.Layout.cs:202 / void MakeCard(float x, float y, float w, float h, bool you)var ring = HzUI.Panel("AvatarRing", card.transform, you ? Ember : X(_lv != null ? _lv.color : "#5FA8D3"), 100);
Scripts/WordForgeGame.Layout.cs:205 / void MakeCard(float x, float y, float w, float h, bool you)var inner = HzUI.Panel("AvatarBg", ring.transform, X("#3B2A22"), 100); inner.rectTransform.Stretch(5); inner.raycastTarget = false;
Scripts/WordForgeGame.Layout.cs:255 / void RefreshLog()string col = S.logKind[i] == 1 ? "#FFC27A" : S.logKind[i] == 2 ? "#8FD0F5" : S.logKind[i] == 3 ? "#FF8A7A" : "#D9C6AE";
Scripts/WordForgeGame.Layout.cs:284 / void RefreshPeek()var v = MakeTileVisual(_peekRt, S.rack1[i], ts, X("#CFE9F8"), TileInk);
Scripts/WordForgeGame.Layout.cs:303 / void BuildHelpers(float x, float y, float w, float h)var b = HzUI.Button("Helper_" + id, _layer, null, X("#4A3326"), Color.white, () => OnHelper(id), 30, 26);
Scripts/WordForgeGame.Layout.cs:320 / void RefreshHelpers()b.GetComponent<Image>().color = un ? X("#4A3326") : X("#2B211C");
Scripts/WordForgeGame.Layout.cs:346 / void RefreshHelpers()var bd = HzUI.Panel("Badge", t, c > 0 ? Molten : X("#3DBE6E"), 20);
Scripts/WordForgeGame.Layout.cs:393 / void BuildRack(float x, float y, float w, float h)var tray = HzUI.Panel("Tray", _layer, X("#4A3022"), 30);
Scripts/WordForgeGame.Layout.cs:396 / void BuildRack(float x, float y, float w, float h)var lip = HzUI.Panel("Lip", tray.transform, X("#6B4630"), 24); lip.raycastTarget = false;
Scripts/WordForgeGame.Layout.cs:419 / void BuildButtons(float x, float y, float w, float h)_bagBtn = HzIcons.IconButton(_layer, HzIcons.Grid, X("#5A4A8A"), ShowBag, bs, "0");
Scripts/WordForgeGame.Layout.cs:443 / void BuildBoard(float bx, float by, float frame)var rim = HzUI.Img("Rim", outer.transform, HzUI.RoundRect(26, 4), X("#5A4B42")); rim.type = Image.Type.Sliced;
Scripts/WordForgeGame.Layout.cs:447 / void BuildBoard(float bx, float by, float frame)var rv = HzUI.Panel("Rivet", outer.transform, X("#8A7A6E"), 8); rv.raycastTarget = false;
Scripts/WordForgeGame.Layout.cs:469 / void BuildBoard(float bx, float by, float frame)var dot = HzUI.Panel("Rivet", cell.transform, X("#4A4C55"), 8); dot.raycastTarget = false;
Scripts/WordForgeGame.Layout.cs:483 / void BuildBoard(float bx, float by, float frame)else cell.color = ((r + c) % 2 == 0) ? CellCol : X("#30333B");
Scripts/WordForgeGame.Layout.cs:538 / void RefreshBoard()var v = MakeTileVisual(_tileLayer, ch, _cs - 4, opp ? X("#CFE9F8") : Settled, TileInk);
Scripts/WordForgeGame.Popups.cs:23 / declarationsvar rim = HzUI.Img("Rim", card.transform, HzUI.RoundRect(40, 4), X("#6B5040")); rim.type = Image.Type.Sliced; rim.preserveAspect = false; rim.raycastTarget = false; rim.rectTransform.Stretch();
Scripts/WordForgeGame.Popups.cs:79 / void CloseModal(Modal m)var ring = HzUI.Panel("Medal", parent, dim ? X("#4A3C34") : X(l.color), 100);
Scripts/WordForgeGame.Popups.cs:83 / void CloseModal(Modal m)var inner = HzUI.Panel("In", ring.transform, X("#3B2A22"), 100); inner.rectTransform.Stretch(size * 0.05f); inner.raycastTarget = false;
Scripts/WordForgeGame.Popups.cs:98 / void ShowTitle()var bg = HzUI.Img("BG", root, HzUI.Gradient(X("#4A2A1C"), X("#0E0908")), Color.white);
Scripts/WordForgeGame.Popups.cs:115 / void ShowTitle()var v = MakeTileVisual(root, w[i], tile, wi == 0 ? Cream : X("#FFD9A8"), TileInk);
Scripts/WordForgeGame.Popups.cs:306 / void ShowFirstTurn()var b = MakeTileVisual(m.card, 'A', 150, X("#CFE9F8"), TileInk);
Scripts/WordForgeGame.Popups.cs:399 / void ShowSwap(bool free)v.bg.color = on ? X("#9C8A78") : Cream;
Scripts/WordForgeGame.Popups.cs:433 / void ShowBag()var m = OpenModal("Tile bag", X("#5A4A8A"), 1000, 760, true);
Scripts/WordForgeGame.Popups.cs:444 / void ShowBag()var v = MakeTileVisual(m.card, L, s, counts[i] > 0 ? Cream : X("#5E544C"), counts[i] > 0 ? TileInk : X("#8C8178"));
Scripts/WordForgeGame.Popups.cs:446 / void ShowBag()var t = Lbl(m.card, "x" + counts[i].ToString(CultureInfo.InvariantCulture), 28, counts[i] > 0 ? Gold : X("#7A6E66"), TextAnchor.MiddleCenter, false);
Scripts/WordForgeGame.Popups.cs:523 / void ShowStats()var m = OpenModal("Stats", X("#5A4A8A"), 900, 920, true);
Scripts/WordForgeGame.cs:25 / declarationsstatic readonly Color PlateDark = X("#17181C"), Plate = X("#23252B"),
Scripts/WordForgeGame.cs:26 / declarationsCellCol = X("#33363F"), Ember = X("#FF7A1A"), Gold = X("#E8B23A"), Copper = X("#B8733F"), Molten = X("#D6402F"),
Scripts/WordForgeGame.cs:27 / declarationsDwCol = X("#F07A2A"), Steel = X("#6CB4E0"), Cream = X("#F6E6C6"), TileInk = X("#3B2416"), Settled = X("#E6CB98"),
Scripts/WordForgeGame.cs:28 / declarationsInk = X("#F8EBD6"), Sub = X("#C9AE90"), Panel1 = X("#2A211D"), Panel2 = X("#3A2C25"), Good = X("#5CC27A"), Bad = X("#E05A4A"),
Scripts/WordForgeGame.cs:29 / declarationsIron = X("#101114"), Muted = X("#6E5A4E");
Scripts/WordForgeGame.cs:225 / bool UseCheck()sb.Append(ok ? "<color=#7FE39A>" : "<color=#FF8A7A>").Append(chk.words[i]).Append(ok ? " real" : " not a word").Append("</color>");
CHAPTER 10

Reskin recipe: visible interface text and localization

Worked string edit: open Scripts/WordForgeGame.cs, find the display literal "Word Forge" in Title => "Word Forge" and change its visible value to "Word Forge Edition". Keep the method/property/resource/save identifiers unchanged. The Title property and title artwork can be separate visible uses; changing the title must not rename GameId.

The exact table covers construction and later refresh assignments. In Label/Button calls, an object-name argument is not necessarily the displayed label: edit the displayed-text argument. Update initial and refreshed Sound/Music/ON/OFF labels, HUD numbering, results/help/tutorial messages and helper names/descriptions deliberately. Preserve interpolation braces, numeric formatting, rich-text tags and line breaks. Shared HLK localization does not automatically translate hard-coded game strings. Word/dictionary/category data is separate gameplay content with its own validation.

Current method/locationDisplay assignment
Scripts/WordForgeGame.Layout.cs:47 / protected override void OnLayout(bool orientationChanged)var t = HzUI.Label("T", parent, text, size, color, a, display);
Scripts/WordForgeGame.Layout.cs:303 / void BuildHelpers(float x, float y, float w, float h)var b = HzUI.Button("Helper_" + id, _layer, null, X("#4A3326"), Color.white, () => OnHelper(id), 30, 26);
Scripts/WordForgeGame.Layout.cs:419 / void BuildButtons(float x, float y, float w, float h)_bagBtn = HzIcons.IconButton(_layer, HzIcons.Grid, X("#5A4A8A"), ShowBag, bs, "0");
Scripts/WordForgeGame.Layout.cs:422 / void BuildButtons(float x, float y, float w, float h)_playBtn = HzUI.Button("Play", _layer, "PLAY", Ember, Color.white, OnPlay, 54, 30);
Scripts/WordForgeGame.Layout.cs:615 / void RefreshHud()if (_titleLbl) _titleLbl.text = $"vs {OppName}";
Scripts/WordForgeGame.Layout.cs:618 / void RefreshHud()_subYou.text = you ? (_pend.Count > 0 ? "Placing tiles..." : "Your turn!") : "Forge master";
Scripts/WordForgeGame.Layout.cs:620 / void RefreshHud()if (!opp || !_busy) { _subOpp.text = _lv != null ? _lv.title : ""; _subOpp.color = Sub; }
Scripts/WordForgeGame.Layout.cs:625 / void RefreshHud()var cap = _shuffleBtn.transform.Find("T"); if (cap) cap.GetComponent<Text>().text = _pend.Count > 0 ? "Recall" : "Mix";
Scripts/WordForgeGame.Layout.cs:636 / void RefreshHud()_hintLbl.text = !S.started ? "" : S.over ? "Duel over" : S.turn == 1 ? $"{OppName} is at the anvil..." :
Scripts/WordForgeGame.Popups.cs:164 / void ShowTitle()var play = HzUI.Button("Play", root, cont ? "CONTINUE" : "PLAY", Ember, Color.white, () =>
Scripts/WordForgeGame.Popups.cs:177 / void ShowTitle()var how = HzUI.Button("How", root, "How to play", Panel2, Ink, () => ShowTutorial(0, null), 40, 30);
Scripts/WordForgeGame.Popups.cs:179 / void ShowTitle()var stats = HzUI.Button("Stats", root, "Stats", Panel2, Ink, ShowStats, 40, 30);
Scripts/WordForgeGame.Popups.cs:216 / void ShowTutorial(int page, Action done)ModalButton(m, last ? "Let's forge!" : "Next", last ? Good : Ember, new Vector2(last ? 0 : 130, 80), new Vector2(last ? 440 : 300, 104), () =>
Scripts/WordForgeGame.Popups.cs:221 / void ShowTutorial(int page, Action done)if (!last) ModalButton(m, "Skip", Muted, new Vector2(-200, 80), new Vector2(240, 104), () => { CloseModal(m); done?.Invoke(); }, 42);
Scripts/WordForgeGame.Popups.cs:256 / void ShowMatchIntro(Action then)ModalButton(m, "Begin duel", Good, new Vector2(0, 76), new Vector2(440, 108), () => { CloseModal(m); then?.Invoke(); }, 50);
Scripts/WordForgeGame.Popups.cs:277 / void ShowUnlock(WfHelperDef h, Action then)ModalButton(m, "Try it!", Ember, new Vector2(0, 76), new Vector2(420, 108), () => { CloseModal(m); then?.Invoke(); RefreshGuide(); }, 52);
Scripts/WordForgeGame.Popups.cs:285 / void ShowOutOfCharges(WfHelperDef h)ModalButton(m, "Watch ad: +1", Good, new Vector2(0, 80), new Vector2(460, 108), () =>
Scripts/WordForgeGame.Popups.cs:294 / void ShowOutOfCharges(WfHelperDef h)Toast($"+1 {h.name}", Gold);
Scripts/WordForgeGame.Popups.cs:311 / void ShowFirstTurn()var go = ModalButton(m, "Begin", Good, new Vector2(0, 80), new Vector2(360, 104), () =>
Scripts/WordForgeGame.Popups.cs:321 / void ShowFirstTurn()if (a.value) a.value.text = ""; if (b.value) b.value.text = "";
Scripts/WordForgeGame.Popups.cs:338 / void ShowFirstTurn()res.text = S.turn == 0 ? "You strike first!" : $"{OppName} strikes first!";
Scripts/WordForgeGame.Popups.cs:357 / void ShowBlankPicker(Pend p)var b = HzUI.Button("L" + L, m.card, LetterStr[i], Cream, TileInk, () =>
Scripts/WordForgeGame.Popups.cs:363 / void ShowBlankPicker(Pend p)ModalButton(m, "Cancel", Muted, new Vector2(0, 70), new Vector2(300, 90), () =>
Scripts/WordForgeGame.Popups.cs:402 / void ShowSwap(bool free)info.text = chosen.Count == 0 ? $"{S.bag.Length} tiles in the bag" : $"Swap {chosen.Count} tile{(chosen.Count == 1 ? "" : "s")} · {S.bag.Length} in the bag";
Scripts/WordForgeGame.Popups.cs:406 / void ShowSwap(bool free)ModalButton(m, "Swap", free ? Gold : Copper, new Vector2(150, 80), new Vector2(280, 100), () =>
Scripts/WordForgeGame.Popups.cs:412 / void ShowSwap(bool free)info.text = S.bag.Length == 0 ? "The bag is empty: nothing to swap." : $"Only {S.bag.Length} tiles left in the bag!";
Scripts/WordForgeGame.Popups.cs:425 / void ShowSwap(bool free)ModalButton(m, "Cancel", Muted, new Vector2(-150, 80), new Vector2(280, 100), () => CloseModal(m), 44);
Scripts/WordForgeGame.Popups.cs:480 / void ShowResult()ModalButton(m, "Next match", Ember, new Vector2(0, 196), new Vector2(460, 108), () =>
Scripts/WordForgeGame.Popups.cs:488 / void ShowResult()ModalButton(m, "Rematch", Ember, new Vector2(0, 196), new Vector2(460, 108), () =>
Scripts/WordForgeGame.Popups.cs:495 / void ShowResult()ModalButton(m, "Home", Muted, new Vector2(0, 72), new Vector2(320, 92), () =>
Scripts/WordForgeGame.cs:21 / declarationspublic override string Title => "Word Forge";
Scripts/WordForgeGame.cs:163 / void OnHelper(string id)if (!Unlocked(h) || !Granted(h.id)) { HzAudio.Play(WfSfx.Locked, 0.7f); Toast($"{h.name} unlocks at match {h.unlock}", Sub); ShakeHelper(id); return; }
Scripts/WordForgeGame.cs:172 / void OnHelper(string id)case "swap": if (S.bag.Length == 0) { Toast("The bag is empty: nothing to swap.", Sub); return; } RecallAll(); ShowSwap(true); return;
Scripts/WordForgeGame.cs:196 / IEnumerator HintRoutine()if (best == null) { Toast("No word fits your tiles. Try a swap!", Sub, 1.8f); HzAudio.Play(WfSfx.Invalid, 0.5f); RefreshHud(); yield break; }
Scripts/WordForgeGame.cs:216 / bool UseCheck()if (_pend.Count == 0 || _pend.Any(p => p.letter == ' ')) { Toast("Place some tiles first, then Assay them.", Sub, 1.6f); return false; }
Scripts/WordForgeGame.cs:234 / bool UsePeek()if (_peeking) { Toast("You are already peeking this turn.", Sub); return false; }
Scripts/WordForgeGame.cs:243 / bool UseUndo()if (string.IsNullOrEmpty(_undo)) { Toast("Nothing to rewind yet: make a move first.", Sub, 1.6f); return false; }
Scripts/WordForgeGame.cs:597 / public override string DebugCommand(string cmd)case "swapui": OnSwapButton(); return "swap";
CHAPTER 11

Artwork, fonts, sound and licences

Replace actual images under Resources/wordforge/Art through Unity while retaining resource basenames, .meta GUIDs, Sprite/UI settings, alpha, pivots and slicing. Procedural fallback graphics in Art/View/Theme code may need separate changes. Keep all supplied font licence notices with their corresponding fonts in Kit/Resources/wordforge/kit/Fonts, and keep applicable TMP notices in HLK editions.

Effects are the supplied PCM WAV files in Sfx; supplied music, when present, is in Music. HzAudio loads extension-free resource keys. Preserve basenames, verify loop/import settings, and audition your own replacements. A Music toggle alone does not prove a music track is supplied; inspect this actual game folder. Lossless delivery format does not recreate quality absent in an original recording.

CHAPTER 12

Saving, resets and migrations

HzSave/PlayerPrefs store local progress, options and helper state. The actual calls below identify this game save keys and defaults; do not rename them during a visual reskin. WebGL persistence belongs to the hosting origin/browser storage, not a cloud account. Clearing site data or changing browser/origin starts separate local progress.

Test fresh progress, a completed level, helper consumption/refill, sound/music options, focus loss and relaunch. Reset only a dedicated test save. When changing a released schema, level order or key scheme, implement and test migration instead of discarding existing progress.

Actual save sourceCurrent call
Scripts/WordForgeGame.Popups.cs:170 / void ShowTitle()if (HzSave.GetInt(TutKey, 0) == 0) { HzSave.SetInt(TutKey, 1); ShowTutorial(0, StartMatchFlow); }
Scripts/WordForgeGame.cs:66 / protected override void Build()St = HzSave.GetJson(StatsKey, new Stats()) ?? new Stats();
Scripts/WordForgeGame.cs:69 / protected override void Build()S = HzSave.GetJson<WfState>(MatchKey, null);
Scripts/WordForgeGame.cs:118 / void Save() => HzSave.SetJson(MatchKey, S);void Save() => HzSave.SetJson(MatchKey, S);
Scripts/WordForgeGame.cs:119 / void SaveStats() => HzSave.SetJson(StatsKey, St);void SaveStats() => HzSave.SetJson(StatsKey, St);
Scripts/WordForgeGame.cs:132 / int Charges(string id) => HzSave.GetInt("wordforge_h_" + id, 0);int Charges(string id) => HzSave.GetInt("wordforge_h_" + id, 0);
Scripts/WordForgeGame.cs:133 / void SetCharges(string id, int n) => HzSave.SetInt("wordforge_h_" + id, Mathf.Max(0, n));void SetCharges(string id, int n) => HzSave.SetInt("wordforge_h_" + id, Mathf.Max(0, n));
Scripts/WordForgeGame.cs:134 / bool Granted(string id) => HzSave.GetInt("wordforge_hu_" + id, 0) == 1;bool Granted(string id) => HzSave.GetInt("wordforge_hu_" + id, 0) == 1;
Scripts/WordForgeGame.cs:146 / void GrantUnlock(WfHelperDef h)HzSave.SetInt("wordforge_hu_" + h.id, 1);
Scripts/WordForgeGame.cs:148 / void GrantUnlock(WfHelperDef h)if (HzSave.GetInt("wordforge_hg_" + h.id, 0) == 0) _guide = h.id;
Scripts/WordForgeGame.cs:154 / void GuideDone(string id)HzSave.SetInt("wordforge_hg_" + id, 1);
Scripts/WordForgeGame.cs:604 / public override string DebugCommand(string cmd)StopOpp(); St = new Stats(); SaveStats(); HzSave.SetInt(TutKey, 0);
Scripts/WordForgeGame.cs:605 / public override string DebugCommand(string cmd)foreach (var h in _file.helpers) { HzSave.SetInt("wordforge_hu_" + h.id, 0); HzSave.SetInt("wordforge_hg_" + h.id, 0); SetCharges(h.id, 0); }
CHAPTER 13

Backend and advertising configuration

Settings asset: Assets/Szekipapa77WordForge/Szekipapa77Ads/Resources/AdsSettings.asset. AdsBackend None=0/Dummy=1/AdMob=2. The supplied configuration selects AdMob with Google test IDs and missingSdkFallback Dummy=1. With the provider SDK absent, and on WebGL, callbacks are simulated. Dummy has no real banner creative or paid impression. For a real native provider install/configure your own supported SDK and IDs, test first, then turn simulated missing-provider fallback off. The customer Build tool checks unsafe commercial fallback settings.

Rewarded success, cancellation and failure are distinct; grant an earned reward once only. Test callbacks on supported hardware. A WebGL simulation does not prove native SDK delivery or production account approval. Keep service credentials outside delivered sources. The publisher-owned Szekipapa77Ads adapter is included, with no external provider SDK binaries, HLK, IAP or remote backend in this edition.

CHAPTER 14

Android build, signing and release

  1. Install matching Android modules. Run the game Setup menu and select Android. Review Company=Szekipapa77, product title, application identifier com.szekipapa77.wordforge, version/code, orientation, icons, API targets, permissions and signing.
  2. Use the supplied Build Android menu or a reviewed Build Profile with the Mobile scene. The command writes Builds/Android/wordforge.apk. Require BuildResult.Succeeded and the final actual APK file.
  3. Use your own keystore for a commercial release; a test/demo signature is not a store release signature. Keep signing secrets outside the delivery.
  4. Play touch controls, tutorials, helper effects, safe areas, pause/resume, audio, save/relaunch and reward callbacks on supported hardware. A provider-free demo simulates ads; it does not validate a production provider account.
CHAPTER 15

WebGL build and HyperCodeStore hosting

Install WebGL Build Support and run Setup. The supplied Szekipapa77 template/Build WebGL command selects portrait; choose the separate landscape scene deliberately in your own Build Profile. Scene orientation and outer browser size are separate. Output: Builds/WebGL/wordforge.

Deploy index.html and all matching loader/framework/data/WASM/StreamingAssets files over HTTP(S), never file://. Match compression, decompression fallback, MIME types and headers. The publisher demo belongs on HyperCodeStore, with the actual build uploaded. Verify a fresh anonymous load, real pointer controls, tutorial/helper effects, audio after interaction, save/reload and phone/desktop sizing. A 200 response alone is not gameplay verification; rebuild/rehost after accepted runtime changes.

CHAPTER 16

Troubleshooting

SymptomAction
Compilation failsRestore the matching packages and full required Kit/backend; fix the first Console error and avoid overlapping standalone game Kits.
Pink/invisible renderingRun Setup, inspect Graphics and every Quality URP asset, and preserve renderer/profile GUIDs.
No inputEnable classic input via Both, focus the canvas and close blocking modals. Use this game actual drag/tap/hold control.
Tool has no visible effectCheck unlock/charges and target preconditions; show activation and subsequent effect, not only a button animation.
Editor changes disappearStop Play, Save explicitly, reopen the bank and select the edited index. Generation may leave unsaved in-memory data.
Generated level failsReview this game schema, solver diagnostics, board/data relationships and range behavior; restore the backup if needed.
Text revertsEdit both construction and refresh assignments from the exact source table.
Resources missingRestore exact basenames/paths, importer settings, licence files and .meta GUIDs.
No live adsThe clean buyer excludes provider SDKs. Review actual Dummy/fallback mode and your own installed provider/account configuration.
Browser fails or progress resetsInspect Console/network/compression headers and storage/origin; this is local persistence, not cloud sync.

After source/data changes, repeat clean import, both scene tests, an early scene replacement, tutorial/ordinary win/retry, all helper effects and a saved-progress relaunch. Preserve owner-lifetime guards on delayed callbacks when extending the game.

CHAPTER 17

Support and release checklist

Publisher: Szekipapa77. Support: szekipapa77@gmail.com. Include Word Forge, exact Unity version, platform, first Console error and reproduction steps. Never send passwords, tokens or signing secrets.

  1. Clean-import the standalone project and native package into matching Unity/URP.
  2. Play both scenes and replace a scene shortly after startup.
  3. Verify the guided opening, ordinary success/retry, every helper activation/effect and save/relaunch.
  4. Work through the editor and concrete colour/text recipes in both layouts.
  5. Rebuild Android/WebGL after accepted changes; test your intended provider setup on supported hardware.
  6. Retain complete offline HTML/PDF documentation and applicable licences in the main download.
  7. Verify actual public showcase, HyperCodeStore browser demo, anonymously downloadable APK and documentation links before storefront submission.