Unity 6000.0.62f1 · Complete offline documentation

Block Blossom
Developer Guide

Install. Edit. Reskin. Build your release.

szekipapa77@gmail.com
Block Blossom cover
CHAPTER 01

Start here: Block Blossom

Drag petal-block pieces from a three-piece tray onto the garden bed. Full rows and columns clear. Complete the actual nectar/score, flower, weed or water goals while retaining a legal placement; a board with no fitting piece ends the run.

This is a standalone editable Unity game with 25 authored levels, 4 guided helpers, game-specific authoring/generation and local saves. The required game Kit, publisher-owned HyperCasual LiveOpsKit and TextMesh Pro resources are included. Ads ship in Dummy simulation and IAP is Disabled; external provider SDK binaries are excluded. Additional HLK example systems are reference content, not a claim that this game has every backend feature integrated.

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. Retain the supplied TextMesh Pro Essential Resources; no extra nested TMP installer is needed.
  4. Run Tools > Szekipapa77 > Block Blossom> Setup. Check Graphics and every Quality URP assignment, and Active Input Handling=Both. The game uses classic pointer input.
  5. Open Assets/Szekipapa77BlockBlossom/Games/BlockBlossom/Scenes/BlockBlossom_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/Szekipapa77BlockBlossom/Games/BlockBlossom/Scenes/BlockBlossom_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/Szekipapa77BlockBlossom/Games/BlockBlossom. 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/blockblossom owns gameplay data and media. Backend settings: Assets/Szekipapa77BlockBlossom/HyperCasualLiveOpsKit/Resources/HLK/HLKSettings.asset.

Source filePurpose/source heading
BlockBlossomGame.Hud.csGame runtime partial
BlockBlossomGame.View.csGame runtime partial
BlockBlossomGame.csBlock Blossom: drag glossy petal blocks from a tray of three into a garden bed; full rows and columns clear and make the garden bloom. / Levels have goals (bloom flowers, water dry patches, pull weeds, nectar); the level is lost when no piece fits. / This file: level flow, input, drops, boosters and test hooks. .View.cs draws the bed and effects, / .Hud.cs builds the HUD, popups, the tutorial and the guided booster uses.
BmArt.csGame-specific model, renderer or rule support
BmBot.csGame-specific model, renderer or rule support
BmData.csLevel data (JsonUtility-friendly) for Resources/blockblossom/Levels/levels.json. / Board rows use one char per cell: / '#' hedge (not part of the bed) '.' empty bed cell '0'-'5' petal block (colour) '*' petal block (colour from the seed) / 'S' seed block (needs two clears to bloom) 's' sprout block (one more clear) 'W' weed / Soil rows (same size): 'd' dry patch under that cell, anything else = moist soil.
BmEngine.csGame-specific model, renderer or rule support
BmGen.csGame-specific model, renderer or rule support
BmLevels.csGame-specific model, renderer or rule support
PublisherNamespaceMarker.csGame-specific model, renderer or rule support

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 petal-block pieces from a three-piece tray onto the garden bed. Full rows and columns clear. Complete the actual nectar/score, flower, weed or water goals while retaining a legal placement; a board with no fitting piece ends the run.

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. rows and soil encode separate board layers. goalFlowers, goalWeeds and goalWater are distinct objectives; pieces, pieceSet and mercy control dealing. Some serialized diagnostic properties such as HasGoal are derived; edit the actual goal fields through the editor.

Actual gameplay-model entry pointCurrent continuation/loading implementation
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
Trowel43Tap Trowel, then any block to dig it out (a seed grows a stage).
Seed Packet72Swaps your tray for three small, easy pieces.
Rake102Tap Rake, then a row: the whole row clears.
Bee Swarm152Three bees fly out to sprout seeds, pull weeds and water.

Exact catalogue/effect sources: BlockBlossomGame.cs. 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/Szekipapa77BlockBlossom/Games/BlockBlossom/Resources/blockblossom/Levels/levels.json. Open Tools > Szekipapa77 > Block Blossom> 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 ordinary bed, lower goalScore from 80 to 60 for a gentler score task and keep its board/piece data unchanged initially. Use the garden painter to edit soil, seeds or weeds only with matching goals; validate and test the new bed.
  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/BlockBlossomLevelEditor.cs:119if (GUILayout.Button(_dirty ? "Save *" : "Save", EditorStyles.toolbarButton, GUILayout.Width(70))) Save();
Editor/BlockBlossomLevelEditor.cs:120if (GUILayout.Button("Reload", EditorStyles.toolbarButton, GUILayout.Width(60)) && (!_dirty || EditorUtility.DisplayDialog("Reload", "Discard unsaved changes?", "Discard", "Cancel"))) Load();
Editor/BlockBlossomLevelEditor.cs:123if (GUILayout.Button("Validate", EditorStyles.toolbarButton, GUILayout.Width(70)) && Cur != null) ValidateOne(_sel);
Editor/BlockBlossomLevelEditor.cs:124if (GUILayout.Button("Validate All", EditorStyles.toolbarButton, GUILayout.Width(85))) ValidateAll();
Editor/BlockBlossomLevelEditor.cs:127if (GUILayout.Button(new GUIContent("Play this level", "Saves, opens the WebGL scene at this level and enters Play mode."), EditorStyles.toolbarButton, GUILayout.Width(100)) && Cur != null) Play(_sel + 1);
Editor/BlockBlossomLevelEditor.cs:155if (GUILayout.Button("Add"))
Editor/BlockBlossomLevelEditor.cs:160if (GUILayout.Button("Dup") && Cur != null) { var c = Cur.Clone(); c.name += " copy"; Insert(_sel + 1, c); }
Editor/BlockBlossomLevelEditor.cs:161if (GUILayout.Button("Del") && Cur != null && EditorUtility.DisplayDialog("Delete", $"Delete level {_sel + 1} '{Cur.name}'?", "Delete", "Cancel"))
Editor/BlockBlossomLevelEditor.cs:165if (GUILayout.Button("Up") && _sel > 0) Move(-1);
Editor/BlockBlossomLevelEditor.cs:166if (GUILayout.Button("Down") && _sel < _file.levels.Length - 1) Move(1);
Editor/BlockBlossomLevelEditor.cs:196EditorGUILayout.LabelField($"Level {_sel + 1}", EditorStyles.boldLabel);
Editor/BlockBlossomLevelEditor.cs:198l.name = EditorGUILayout.TextField("Name", l.name);
Editor/BlockBlossomLevelEditor.cs:200int nfi = EditorGUILayout.Popup(new GUIContent("Bed shape", "Bed outline used by Recompose (hedges fill the rest)"), Mathf.Max(0, fi), BmGen.Families.Select(s => new GUIContent(s)).ToArray(), GUILayout.Width(300));
Editor/BlockBlossomLevelEditor.cs:203l.hint = EditorGUILayout.TextField(new GUIContent("First-time hint", "Shown on the level card and as a tip (introduce new mechanics here)"), l.hint);
Editor/BlockBlossomLevelEditor.cs:204EditorGUILayout.LabelField("Goal (all parts must be met)", EditorStyles.miniBoldLabel);
Editor/BlockBlossomLevelEditor.cs:206l.goalScore = Mathf.Max(0, EditorGUILayout.IntField("Nectar (0 = none)", l.goalScore));
Editor/BlockBlossomLevelEditor.cs:207l.goalFlowers = Mathf.Clamp(EditorGUILayout.IntField(new GUIContent("Flowers to bloom", "Each seed blooms after two clears"), l.goalFlowers), 0, 40);
Editor/BlockBlossomLevelEditor.cs:210l.goalWeeds = Mathf.Clamp(EditorGUILayout.IntField("Weeds to pull", l.goalWeeds), 0, 40);
Editor/BlockBlossomLevelEditor.cs:211l.goalWater = EditorGUILayout.ToggleLeft("Water every dry patch", l.goalWater, GUILayout.Width(180));
Editor/BlockBlossomLevelEditor.cs:213EditorGUILayout.LabelField("Garden helpers", EditorStyles.miniBoldLabel);
Editor/BlockBlossomLevelEditor.cs:215l.can = EditorGUILayout.ToggleLeft(new GUIContent("Watering can", $"Fills one step per clearing drop; at {BmRules.CanMax} it pours on {BmRules.CanPour} targets"), l.can, GUILayout.Width(130));
Editor/BlockBlossomLevelEditor.cs:216l.beeEvery = Mathf.Clamp(EditorGUILayout.IntField(new GUIContent("Bee every N pieces (0 = off)", "Every Nth dealt piece carries a bee; clearing it sends the bee to a seed, weed or dry patch"), l.beeEvery), 0, 20);
Editor/BlockBlossomLevelEditor.cs:218EditorGUILayout.LabelField("Dealer", EditorStyles.miniBoldLabel);
Editor/BlockBlossomLevelEditor.cs:220l.pieceSet = EditorGUILayout.Popup("Piece set", Mathf.Clamp(l.pieceSet, 0, 2), SetNames, GUILayout.Width(330));
Editor/BlockBlossomLevelEditor.cs:221l.mercy = EditorGUILayout.IntSlider(new GUIContent("Mercy", "Redraws for a piece that fits the bed (higher = kinder)"), l.mercy, 0, 40);
Editor/BlockBlossomLevelEditor.cs:224l.pieces = EditorGUILayout.TextField(new GUIContent("Scripted first pieces", "Comma-separated shape names dealt first (e.g. I3h,I2h,O2)"), l.pieces);
Editor/BlockBlossomLevelEditor.cs:225l.seed = EditorGUILayout.IntField(new GUIContent("Seed", "Dealer + random block colours"), l.seed, GUILayout.Width(220));
Editor/BlockBlossomLevelEditor.cs:226if (GUILayout.Button(new GUIContent("Re-roll", "New dealer seed"), GUILayout.Width(60))) { l.seed = UnityEngine.Random.Range(1, 99999); }
Editor/BlockBlossomLevelEditor.cs:229l.difficulty = EditorGUILayout.Slider("Design difficulty", l.difficulty, 0, 1);
Editor/BlockBlossomLevelEditor.cs:230l.breather = EditorGUILayout.ToggleLeft("Breather", l.breather, GUILayout.Width(80));
Editor/BlockBlossomLevelEditor.cs:231if (GUILayout.Button(new GUIContent("Recompose", "Rebuild the bed with BmGen from this level's shape, goals and garden counts"), GUILayout.Width(90))) Recompose(l);
Editor/BlockBlossomLevelEditor.cs:232if (GUILayout.Button("Clear bed", GUILayout.Width(90)))
Editor/BlockBlossomLevelEditor.cs:243EditorGUILayout.HelpBox($"Bot: {v}{(v.Solvable ? (v.WeakRate < 0.2f ? "\nVery hard for a human player (weak bots rarely make it)." : "") : "\nNOT solvable - ease the goal, raise mercy, use the gentle piece set or open the bed.")}",
Editor/BlockBlossomLevelEditor.cs:246EditorGUILayout.HelpBox($"Last saved validation: bot {(l.botDrops >= 0 ? l.botDrops + " drops" : "failed")}, weak bots {l.botRate * 100:0}%, difficulty {l.score:0}. Press Validate to re-run.", MessageType.None);
Editor/BlockBlossomLevelEditor.cs:274EditorGUILayout.LabelField("Left-click/drag paints, right-click erases. Hover a cell and press 1-6 for a coloured block, R random, S seed, P sprout, W weed, H hedge, D dry soil, Space/Del erase.", EditorStyles.miniLabel);
Editor/BlockBlossomLevelEditor.cs:361EditorGUILayout.LabelField($"Bed {l.BedCount} Filled {l.Count(BmRules.IsFilled)} Seeds {l.Count(c => c == 'S')} Sprouts {l.Count(c => c == 's')} Weeds {l.WeedCount} " +
Editor/BlockBlossomLevelEditor.cs:383EditorGUILayout.LabelField("Difficulty curve (validated score, else last saved score / design difficulty; blue = breather)", EditorStyles.miniBoldLabel);
Editor/BlockBlossomLevelEditor.cs:405_showGen = EditorGUILayout.Foldout(_showGen, "Auto Generate (seeded, bot-validated, same BmGen code as the runtime)", true);
Editor/BlockBlossomLevelEditor.cs:408_genCount = Mathf.Clamp(EditorGUILayout.IntField("Count", _genCount), 1, 100); _genStart = Mathf.Max(1, EditorGUILayout.IntField("Start at level #", _genStart));
Editor/BlockBlossomLevelEditor.cs:409_genSeed = EditorGUILayout.IntField("Seed", _genSeed);
Editor/BlockBlossomLevelEditor.cs:412_genFrom = EditorGUILayout.Slider("Start difficulty", _genFrom, 0, 1); _genTo = EditorGUILayout.Slider("End difficulty", _genTo, 0, 1);
Editor/BlockBlossomLevelEditor.cs:415_genBreather = EditorGUILayout.IntSlider("Breather every", _genBreather, 0, 8);
Editor/BlockBlossomLevelEditor.cs:416_genReplace = EditorGUILayout.ToggleLeft("Replace that range (else insert)", _genReplace);
Editor/BlockBlossomLevelEditor.cs:427if (GUILayout.Button($"Generate {_genCount} level(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/BlockBlossomLevelEditor.cs:41int _genCount = 5, _genStart = 26, _genSeed = 1234, _genBreather = 5;
Editor/BlockBlossomLevelEditor.cs:42float _genFrom = 0.45f, _genTo = 0.8f;
Editor/BlockBlossomLevelEditor.cs:43bool _genReplace;
Editor/BlockBlossomLevelEditor.cs:408_genCount = Mathf.Clamp(EditorGUILayout.IntField("Count", _genCount), 1, 100); _genStart = Mathf.Max(1, EditorGUILayout.IntField("Start at level #", _genStart));
Editor/BlockBlossomLevelEditor.cs:409_genSeed = EditorGUILayout.IntField("Seed", _genSeed);
Editor/BlockBlossomLevelEditor.cs:412_genFrom = EditorGUILayout.Slider("Start difficulty", _genFrom, 0, 1); _genTo = EditorGUILayout.Slider("End difficulty", _genTo, 0, 1);
Editor/BlockBlossomLevelEditor.cs:415_genBreather = EditorGUILayout.IntSlider("Breather every", _genBreather, 0, 8);
Editor/BlockBlossomLevelEditor.cs:416_genReplace = EditorGUILayout.ToggleLeft("Replace that range (else insert)", _genReplace);
Editor/BlockBlossomLevelEditor.cs:420int n = Mathf.Max(1, _genCount);
Editor/BlockBlossomLevelEditor.cs:423float d = BmGen.Curve(i, n, _genFrom, _genTo, _genBreather, out bool br);
Editor/BlockBlossomLevelEditor.cs:427if (GUILayout.Button($"Generate {_genCount} level(s)", GUILayout.Height(26))) Generate();
Editor/BlockBlossomLevelEditor.cs:434int at = Mathf.Clamp(_genStart - 1, 0, list.Count);
Editor/BlockBlossomLevelEditor.cs:440for (int i = 0; i < _genCount; i++)
Editor/BlockBlossomLevelEditor.cs:442EditorUtility.DisplayProgressBar("Generating", $"Level {at + i + 1}", i / (float)_genCount);
Editor/BlockBlossomLevelEditor.cs:443float d = BmGen.Curve(i, _genCount, _genFrom, _genTo, _genBreather, out bool br);
Editor/BlockBlossomLevelEditor.cs:444var l = BmGen.Generate(new BmGenParams { Level = at + i + 1, Difficulty = d, Breather = br, Seed = _genSeed + i * 7919, AvoidFamily = prev, WeakRuns = 6, Beam = 6 }, out var v);
Editor/BlockBlossomLevelEditor.cs:451if (_genReplace) { int rm = Mathf.Min(_genCount, list.Count - at); if (rm > 0) list.RemoveRange(at, rm); }
Editor/BlockBlossomLevelEditor.cs:452list.InsertRange(at, made);
CHAPTER 08

Actual level schema and safe identifiers

rows and soil encode separate board layers. goalFlowers, goalWeeds and goalWater are distinct objectives; pieces, pieceSet and mercy control dealing. Some serialized diagnostic properties such as HasGoal are derived; edit the actual goal fields through the editor.

Canonical bank: Assets/Szekipapa77BlockBlossom/Games/BlockBlossom/Resources/blockblossom/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.

{
  "SeedCount": 0,
  "SeedStages": 0,
  "WeedCount": 0,
  "BedCount": 64,
  "DryCount": 0,
  "HasGoal": true,
  "name": "First Sprouts",
  "family": "square",
  "hint": "Drag a piece into the bed. Fill a whole row to clear it!",
  "rows": [
    "........",
    "........",
    "........",
    "........",
    "........",
    "........",
    "40...215",
    "12345..0"
  ],
  "soil": [
    "........",
    "........",
    "........",
    "........",
    "........",
    "........",
    "........",
    "........"
  ],
  "seed": 101,
  "goalScore": 80,
  "goalFlowers": 0,
  "goalWeeds": 0,
  "goalWater": false,
  "can": false,
  "beeEvery": 0,
  "pieces": "I3h,I2h,O2",
  "pieceSet": 0,
  "mercy": 30,
  "breather": false,
  "difficulty": 0.02,
  "botDrops": 2,
  "botRate": 1,
  "score": 1
}
Model declarationExact field/property
Scripts/BmData.cs:17public int version = 1;
Scripts/BmData.cs:18public BmLevel[] levels = new BmLevel[0];
Scripts/BmData.cs:24public string name = "New Bed";
Scripts/BmData.cs:25public string family = "square";
Scripts/BmData.cs:26public string hint = "";
Scripts/BmData.cs:27public string[] rows = new string[0];
Scripts/BmData.cs:28public string[] soil = new string[0];
Scripts/BmData.cs:29public int seed = 1;
Scripts/BmData.cs:31public int goalScore;
Scripts/BmData.cs:33public int goalFlowers;
Scripts/BmData.cs:35public int goalWeeds;
Scripts/BmData.cs:37public bool goalWater;
Scripts/BmData.cs:39public bool can;
Scripts/BmData.cs:41public int beeEvery;
Scripts/BmData.cs:43public string pieces = "";
Scripts/BmData.cs:45public int pieceSet = 1;
Scripts/BmData.cs:47public int mercy = 12;
Scripts/BmData.cs:48public bool breather;
Scripts/BmData.cs:49public float difficulty = 0.3f;
Scripts/BmData.cs:51public int botDrops = -1;
Scripts/BmData.cs:52public float botRate = -1;
Scripts/BmData.cs:53public float score = -1;
Scripts/BmData.cs:91public bool DryAt(int x, int y) { Normalize(); return soil[y][x] == 'd'; }
Scripts/BmData.cs:107public int Count(Func<char, bool> pred)
Scripts/BmData.cs:114public int SeedCount => Count(c => c == 'S' || c == 's');
Scripts/BmData.cs:116public int SeedStages => Count(c => c == 'S') * 2 + Count(c => c == 's');
Scripts/BmData.cs:117public int WeedCount => Count(c => c == 'W');
Scripts/BmData.cs:118public int BedCount => Count(c => c != '#');
Scripts/BmData.cs:119public int DryCount { get { Normalize(); int n = 0; for (int y = 0; y < BmRules.N; y++) for (int x = 0; x < BmRules.N; x++) if (soil[y][x] == 'd' && rows[y][x] != '#') n++; return n; } }
Scripts/BmData.cs:120public bool HasGoal => goalScore > 0 || goalWater || goalFlowers > 0 || goalWeeds > 0;
Scripts/BmData.cs:122public string GoalText()
Scripts/BmData.cs:164public int Size => Xs.Length;
Scripts/BmData.cs:247public int Range(int a, int b) => b <= a ? a : a + (int)(Next() % (uint)(b - a));
Scripts/BmData.cs:248public bool Chance(int percent) => Range(0, 100) < percent;

Keep GameId=blockblossom, 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/BmArt.cs and find Gold, currently assigned HzUI.Hex("#FFC23C"). 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/BlockBlossomGame.Hud.cs:45 / void BuildHud()var pill = NoRay(HzUI.Panel("LevelPill", _col, Gold, 50));
Scripts/BlockBlossomGame.Hud.cs:76 / void BuildHud()_bannerTxt = NoRay(HzUI.Label("T", _banner, "", 76, Gold)); _bannerTxt.rectTransform.Stretch();
Scripts/BlockBlossomGame.Hud.cs:80 / void BuildHud()var cbg = NoRay(HzUI.Panel("Bg", _combo, Rose, 36)); cbg.rectTransform.Stretch(); cbg.AddOutline(Gold, 3);
Scripts/BlockBlossomGame.Hud.cs:86 / void BuildHud()_floats[i] = NoRay(HzUI.Label("Float", _col, "", 58, Gold));
Scripts/BlockBlossomGame.Hud.cs:170 / void BuildGoalChips(RectTransform panel, float cx, float w)if (k == 6) { var st = NoRay(HzIcons.Icon(well.transform, HzIcons.Star, 70, Gold)); st.rectTransform.Stretch(); }
Scripts/BlockBlossomGame.Hud.cs:199 / void BuildSidePanels()var title = NoRay(HzUI.Label("Title", _layer, "Block\nBlossom", 104, Gold));
Scripts/BlockBlossomGame.Hud.cs:211 / void BuildSidePanels()_sideNext = NoRay(HzUI.Label("Next", card.transform, "", 32, Gold, TextAnchor.MiddleCenter, false));
Scripts/BlockBlossomGame.Hud.cs:275 / void RefreshHud()_barFill.color = k >= 1 ? Gold : Leaf;
Scripts/BlockBlossomGame.Hud.cs:436 / HzPopup BmPopupFull(string title, string message, Color accent, Sprite art, string subtitle, int stars, (string label, Color color, Action action)[] buttons)var s = NoRay(HzIcons.Icon(card.transform, HzIcons.Star, i == 1 ? 170 : 140, on ? Gold : new Color(0.6f, 0.75f, 0.9f, 0.25f)));
Scripts/BlockBlossomGame.Hud.cs:456 / HzPopup BmPopupFull(string title, string message, Color accent, Sprite art, string subtitle, int stars, (string label, Color color, Action action)[] buttons)var st = NoRay(HzUI.Label("Sub", card.transform, subtitle, 42, Gold)); st.rectTransform.Place(new Vector2(0.5f, 1), new Vector2(cw - 80, 50), new Vector2(0, y - 25));
Scripts/BlockBlossomGame.Hud.cs:803 / void CompleteGuide(int b)Note("Nice! " + BoostName[b] + " is yours", Gold);
Scripts/BlockBlossomGame.cs:163 / void AnimateMove(BmMove m, int px, int py, bool drop)var lineColor = drop ? Petal[Mathf.Clamp(m.Color, 0, BmRules.Colors - 1)] : Gold;
Scripts/BlockBlossomGame.cs:193 / void AnimateMove(BmMove m, int px, int py, bool drop)if (m.AllClear) { Banner("Clean Bed! +" + BmRules.AllClearBonus, Gold, true); HzAudio.Play(Sfx.AllClear, 0.8f); Butterflies(5); }
Scripts/BlockBlossomGame.cs:194 / void AnimateMove(BmMove m, int px, int py, bool drop)else if (lines >= 3) { Banner(lines >= 4 ? "Blooming Marvellous!" : "Wonderful!", Gold, true); HzAudio.Play(Sfx.Praise, 0.6f); Butterflies(3); }
Scripts/BlockBlossomGame.cs:445 / void OutOfRoomPopup()if (canBoost) buttons.Add(("Use a booster", Sky, () => { _stuckBoosterMode = true; _playing = true; Note("Pick a booster below", Gold); RefreshBoosters(); }));

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/BlockBlossomGame.Hud.cs:29 / declarationsstatic readonly Color SlotTint = new Color(0.04f, 0.12f, 0.28f, 0.35f);
Scripts/BlockBlossomGame.Hud.cs:285 / void RefreshHud()c.Count.color = done ? HzUI.Hex("#9CF5B4") : Color.white;
Scripts/BlockBlossomGame.Hud.cs:321 / void RefreshBoosters()v.Ring.color = sel || _guide == b || (_stuckBoosterMode && un && c > 0) ? HzUI.Hex("#FFE066") : new Color(1, 1, 1, 0);
Scripts/BlockBlossomGame.Hud.cs:558 / void ShowSettingsPopup()(MusicLabel(), HzUI.Hex("#2E6BC8"), null),
Scripts/BlockBlossomGame.Hud.cs:597 / void ShowTip(string text, float seconds = 0)var tip = NoRay(HzUI.Panel("Tip", parent, HzUI.Hex("#123060"), 34));
Scripts/BlockBlossomGame.View.cs:205 / void StyleCell(int i)SetIcon(cv.icon, E.Stage[i] == 2 ? "seed" : "sprout", E.Stage[i] == 2 ? HzUI.Hex("#6B3F1E") : Leaf);
Scripts/BlockBlossomGame.View.cs:210 / void StyleCell(int i)SetIcon(cv.icon, "weed", HzUI.Hex("#9BE07A"));
Scripts/BlockBlossomGame.cs:34 / declarationspublic static readonly string[] BoostColor = { "#F0508A", "#FF8A3D", "#33BFF0", "#FFB020" };
Scripts/BmArt.cs:10 / declarationspublic static readonly Color BgTop = HzUI.Hex("#1D3E91"), BgBot = HzUI.Hex("#0E5C6B"), Board = HzUI.Hex("#102347"), BoardRim = HzUI.Hex("#2F8F6A"),
Scripts/BmArt.cs:11 / declarationsWell = HzUI.Hex("#0B1A38"), Gold = HzUI.Hex("#FFC23C"), Card = HzUI.Hex("#17305E"), CardText = HzUI.Hex("#F2FFF8"),
Scripts/BmArt.cs:12 / declarationsSub = HzUI.Hex("#A9C8E6"), Leaf = HzUI.Hex("#48CF5C"), Rose = HzUI.Hex("#F0508A"), Coral = HzUI.Hex("#FF8A3D"), Sky = HzUI.Hex("#33BFF0"),
Scripts/BmArt.cs:13 / declarationsLilac = HzUI.Hex("#A866EE"), Mint = HzUI.Hex("#7CF0B4"), Sun = HzUI.Hex("#FFD03A"), Locked = HzUI.Hex("#2C4570"), Grey = HzUI.Hex("#71809E"),
Scripts/BmArt.cs:14 / declarationsHedge = HzUI.Hex("#1E5A44"), PopupInner = HzUI.Hex("#183A6B"), Soil = HzUI.Hex("#8A5A33");
Scripts/BmArt.cs:15 / declarationspublic static readonly Color[] Petal =
Scripts/BmArt.cs:17 / declarationsHzUI.Hex("#F0508A"), HzUI.Hex("#FF8A3D"), HzUI.Hex("#FFD03A"), HzUI.Hex("#48CF5C"), HzUI.Hex("#33BFF0"), HzUI.Hex("#A866EE"),
Scripts/BmArt.cs:54 / declarationspublic static Sprite SeedBase => _seedBase ? _seedBase : (_seedBase = MakeBlock(HzUI.Hex("#B07A45"), "blockSeed"));
Scripts/BmArt.cs:55 / declarationspublic static Sprite WeedBase => MakeOnce(ref _weedBase, () => MakeBlock(HzUI.Hex("#2E6B3A"), "blockWeed"));
Scripts/BmArt.cs:108 / declarationsColor baseC = HzUI.Hex("#14295A"), top = HzUI.Hex("#0B1A3C");
Scripts/BmArt.cs:115 / declarationsif (y < 6) col = Color.Lerp(col, HzUI.Hex("#223F7A"), 0.6f);
Scripts/BmArt.cs:139 / declarationsColor col = Color.Lerp(HzUI.Hex("#174A37"), HzUI.Hex("#2A7552"), y / (float)T);
Scripts/BmArt.cs:143 / declarationsif (d < 1) col = Color.Lerp(col, HzUI.Hex("#3E9A68"), (1 - d) * 0.45f);
Scripts/BmArt.cs:167 / declarationsColor col = Color.Lerp(HzUI.Hex("#7A4E2A"), HzUI.Hex("#A87444"), y / (float)T);
Scripts/BmArt.cs:169 / declarationsif (crack) col = Color.Lerp(col, HzUI.Hex("#3F2412"), 0.8f);
CHAPTER 10

Reskin recipe: visible interface text and localization

Worked string edit: open Scripts/BlockBlossomGame.Hud.cs, find the display literal "Settings" in var p = BmPopup("Settings", "", Lilac, null, null, and change its visible value to "Options". 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/BlockBlossomGame.Hud.cs:50 / void BuildHud()_levelTxt = NoRay(HzUI.Label("Level", pill.transform, "LEVEL 1", 60, Color.white));
Scripts/BlockBlossomGame.Hud.cs:60 / void BuildHud()var cap = NoRay(HzUI.Label("ScoreCap", panel.transform, "NECTAR", 34, Sub));
Scripts/BlockBlossomGame.Hud.cs:62 / void BuildHud()_scoreTxt = NoRay(HzUI.Label("Score", panel.transform, "0", 96, Color.white));
Scripts/BlockBlossomGame.Hud.cs:68 / void BuildHud()var gcap = NoRay(HzUI.Label("GoalCap", panel.transform, "GOAL", 34, Sub));
Scripts/BlockBlossomGame.Hud.cs:76 / void BuildHud()_bannerTxt = NoRay(HzUI.Label("T", _banner, "", 76, Gold)); _bannerTxt.rectTransform.Stretch();
Scripts/BlockBlossomGame.Hud.cs:81 / void BuildHud()_comboTxt = NoRay(HzUI.Label("T", _combo, "", 44, Color.white)); _comboTxt.rectTransform.Stretch(4);
Scripts/BlockBlossomGame.Hud.cs:86 / void BuildHud()_floats[i] = NoRay(HzUI.Label("Float", _col, "", 58, Gold));
Scripts/BlockBlossomGame.Hud.cs:117 / void BuildCan(float x, float y)_canTxt = NoRay(HzUI.Label("N", _can, "", 28, Color.white));
Scripts/BlockBlossomGame.Hud.cs:148 / void BuildGoalChips(RectTransform panel, float cx, float w)_targetTxt = NoRay(HzUI.Label("Target", panel, "", 58, Color.white));
Scripts/BlockBlossomGame.Hud.cs:178 / void BuildGoalChips(RectTransform panel, float cx, float w)chip.Count = NoRay(HzUI.Label("N", chip.Root, "", k == 6 ? 40 : 62, Color.white, TextAnchor.MiddleLeft));
Scripts/BlockBlossomGame.Hud.cs:199 / void BuildSidePanels()var title = NoRay(HzUI.Label("Title", _layer, "Block\nBlossom", 104, Gold));
Scripts/BlockBlossomGame.Hud.cs:206 / void BuildSidePanels()_sideName = NoRay(HzUI.Label("Name", card.transform, "", 46, Color.white));
Scripts/BlockBlossomGame.Hud.cs:208 / void BuildSidePanels()_sideBest = NoRay(HzUI.Label("Best", card.transform, "", 36, Sub, TextAnchor.MiddleCenter, false));
Scripts/BlockBlossomGame.Hud.cs:211 / void BuildSidePanels()_sideNext = NoRay(HzUI.Label("Next", card.transform, "", 32, Gold, TextAnchor.MiddleCenter, false));
Scripts/BlockBlossomGame.Hud.cs:233 / void BuildSidePanels()var btn = HzUI.Button("Booster" + b, parent, null, Color.white, Color.white, () => OnBooster(bb), 40, (int)(size * 0.3f));
Scripts/BlockBlossomGame.Hud.cs:257 / void BuildSidePanels()v.BadgeText = NoRay(HzUI.Label("N", bd.transform, "", (int)(size * 0.25f), Color.white)); v.BadgeText.rectTransform.Stretch();
Scripts/BlockBlossomGame.Hud.cs:259 / void BuildSidePanels()v.Caption = NoRay(HzUI.Label("Cap", v.Root, "", 30, CardText));
Scripts/BlockBlossomGame.Hud.cs:268 / void RefreshHud()_levelTxt.text = "LEVEL " + _playLevel.ToString(CultureInfo.InvariantCulture);
Scripts/BlockBlossomGame.Hud.cs:272 / void RefreshHud()_targetTxt.text = "TARGET " + E.GoalScore.ToString(CultureInfo.InvariantCulture);
Scripts/BlockBlossomGame.Hud.cs:283 / void RefreshHud()else { done = E.Score >= E.GoalScore; c.Count.text = Mathf.Min(E.Score, E.GoalScore).ToString(CultureInfo.InvariantCulture) + "/" + E.GoalScore.ToString(CultureInfo.InvariantCulture); }
Scripts/BlockBlossomGame.Hud.cs:292 / void RefreshHud()_canTxt.text = E.CanFill.ToString(CultureInfo.InvariantCulture) + "/" + BmRules.CanMax.ToString(CultureInfo.InvariantCulture);
Scripts/BlockBlossomGame.Hud.cs:297 / void RefreshHud()_sideBest.text = "Best nectar " + Best.ToString(CultureInfo.InvariantCulture);
Scripts/BlockBlossomGame.Hud.cs:299 / void RefreshHud()_sideNext.text = next >= 0 ? BoostName[next] + " unlocks at level " + BoostUnlock[next].ToString(CultureInfo.InvariantCulture) : (D.breather ? "A breather level" : "");
Scripts/BlockBlossomGame.Hud.cs:315 / void RefreshBoosters()v.BadgeText.text = c > 0 ? c.ToString(CultureInfo.InvariantCulture) : "+";
Scripts/BlockBlossomGame.Hud.cs:317 / void RefreshBoosters()v.Caption.text = un ? BoostName[b] : "Level " + BoostUnlock[b].ToString(CultureInfo.InvariantCulture);
Scripts/BlockBlossomGame.Hud.cs:351 / void FloatScore(int pts)t.text = "+" + pts.ToString(CultureInfo.InvariantCulture);
Scripts/BlockBlossomGame.Hud.cs:389 / void ComboBanner(int n)_comboTxt.text = "BLOOM x" + n.ToString(CultureInfo.InvariantCulture);
Scripts/BlockBlossomGame.Hud.cs:451 / HzPopup BmPopupFull(string title, string message, Color accent, Sprite art, string subtitle, int stars, (string label, Color color, Action action)[] buttons)var t = NoRay(HzUI.Label("Title", ribbon.transform, title, 70, Color.white)); t.rectTransform.Stretch(6);
Scripts/BlockBlossomGame.Hud.cs:456 / HzPopup BmPopupFull(string title, string message, Color accent, Sprite art, string subtitle, int stars, (string label, Color color, Action action)[] buttons)var st = NoRay(HzUI.Label("Sub", card.transform, subtitle, 42, Gold)); st.rectTransform.Place(new Vector2(0.5f, 1), new Vector2(cw - 80, 50), new Vector2(0, y - 25));
Scripts/BlockBlossomGame.Hud.cs:461 / HzPopup BmPopupFull(string title, string message, Color accent, Sprite art, string subtitle, int stars, (string label, Color color, Action action)[] buttons)p.Message = NoRay(HzUI.Label("Msg", card.transform, message, 42, CardText, TextAnchor.MiddleCenter, false));
Scripts/BlockBlossomGame.Hud.cs:496 / void UnlockPopup(int b, Action done)BmPopup("New: " + BoostName[b] + "!", BoostDesc[b] + "\nYou get " + BoostStart[b].ToString(CultureInfo.InvariantCulture) + " free!", HzUI.Hex(BoostColor[b]), BmArt.Get(BoostArt[b]), null,
Scripts/BlockBlossomGame.Hud.cs:506 / void ShowLevelCard()var p = BmPopup("Level " + _playLevel.ToString(CultureInfo.InvariantCulture), Wrap(msg, 34), Sky, LevelArt(), D.name + (D.breather ? " (breather)" : ""), ("Play", Leaf, (Action)Begin));
Scripts/BlockBlossomGame.Hud.cs:556 / void ShowSettingsPopup()var p = BmPopup("Settings", "", Lilac, null, null,
Scripts/BlockBlossomGame.Hud.cs:558 / void ShowSettingsPopup()(MusicLabel(), HzUI.Hex("#2E6BC8"), null),
Scripts/BlockBlossomGame.Hud.cs:570 / static string SoundLabel() => HzAudio.Muted ? "Sound: OFF" : "Sound: ON";static string SoundLabel() => HzAudio.Muted ? "Sound: OFF" : "Sound: ON";
Scripts/BlockBlossomGame.Hud.cs:571 / static string MusicLabel() => HzAudio.MusicMuted ? "Music: OFF" : "Music: ON";static string MusicLabel() => HzAudio.MusicMuted ? "Music: OFF" : "Music: ON";
Scripts/BlockBlossomGame.Hud.cs:585 / void HelpPage(int i)BmPopup("How to Play " + (i + 1).ToString(CultureInfo.InvariantCulture) + "/" + HelpPages.Length.ToString(CultureInfo.InvariantCulture), HelpPages[i], Coral, null, null,
Scripts/BlockBlossomGame.Hud.cs:605 / void ShowTip(string text, float seconds = 0)_tipText = NoRay(HzUI.Label("T", tip.transform, Wrap(text, 26), 36, CardText, TextAnchor.MiddleCenter, false));
Scripts/BlockBlossomGame.Hud.cs:610 / void ShowTip(string text, float seconds = 0)_tipText = NoRay(HzUI.Label("T", tip.transform, Wrap(text, 44), 36, CardText, TextAnchor.MiddleCenter, false));
Scripts/BlockBlossomGame.Hud.cs:689 / void AdvanceTutorial()ShowTip(_playLevel == 2 ? "A row and a column at once! Now collect " + E.GoalScore.ToString(CultureInfo.InvariantCulture) + " nectar." : "Now reach the goal: " + GoalSentence() + ".", 4f);
Scripts/BlockBlossomGame.Hud.cs:803 / void CompleteGuide(int b)Note("Nice! " + BoostName[b] + " is yours", Gold);
Scripts/BlockBlossomGame.cs:23 / declarationspublic override string Title => "Block Blossom";
Scripts/BlockBlossomGame.cs:30 / declarationspublic static readonly string[] BoostName = { "Trowel", "Seed Packet", "Rake", "Bee Swarm" };
Scripts/BlockBlossomGame.cs:190 / void AnimateMove(BmMove m, int px, int py, bool drop)if (m.Spread >= 0) { WeedGrowFx(m.Spread); HzAudio.Play(Sfx.Spread, 0.55f); if (HzSave.GetInt(K + "spreadtip", 0) == 0) { HzSave.SetInt(K + "spreadtip", 1); ShowTip("A weed spread! Clear a line every few drops to keep weeds in check.", 4f); } }
Scripts/BlockBlossomGame.cs:219 / void GreyHint()ShowTip("A grey piece fits nowhere right now. Clear lines to make room for it!", 4.5f);
Scripts/BlockBlossomGame.cs:350 / void OnBooster(int b)Note(BoostName[b] + " unlocks at level " + BoostUnlock[b].ToString(CultureInfo.InvariantCulture), CardText); HzAudio.Play(Sfx.Invalid, 0.4f);
Scripts/BlockBlossomGame.cs:366 / void OnBooster(int b)else ShowTip(b == BTrowel ? "Tap a block to dig it out" : "Tap a row: the rake clears all of it", 3f);
Scripts/BlockBlossomGame.cs:422 / void OfferCharge(int b)BmPopup("+1 " + BoostName[b], "Out of " + BoostName[b] + ".\nWatch a short ad for one more?", HzUI.Hex(BoostColor[b]), BmArt.Get(BoostArt[b]), null,
Scripts/BlockBlossomGame.cs:437 / void OutOfRoomPopup()buttons.Add(("Spring shower (watch ad)", Coral, () => HzPlatform.Rewarded(GameId, "rescue", ok => { if (ok) Rescue(); else OutOfRoomPopup(); })));
Scripts/BlockBlossomGame.cs:448 / void OutOfRoomPopup()BmPopup("Out of Room!", "No piece fits in the bed.\n" + (_rescued ? "" : "A shower clears 2 rows and 2 columns.\n") + goal, Rose, null, D.name, buttons.ToArray());
Scripts/BlockBlossomGame.cs:593 / string DebugCommandInner(string cmd)if (_tutStep < 0 || steps == null || _tutStep >= steps.Length) return "none tip=" + (_tipText ? _tipText.text.Replace(' ', '_').Replace('\n', '_') : "");
Scripts/BlockBlossomGame.cs:595 / string DebugCommandInner(string cmd)return $"step {_tutStep} slot {t.slot} at {t.x},{t.y} tip={(_tipText ? _tipText.text.Replace(' ', '_').Replace('\n', '_') : "")} hand={(_hand ? "yes" : "no")}";
Scripts/BlockBlossomGame.cs:626 / string PopupTitle()return t ? t.GetComponent<Text>().text.Replace(' ', '_') : "popup";
CHAPTER 11

Artwork, fonts, sound and licences

Replace actual images under Resources/blockblossom/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/blockblossom/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/BlockBlossomGame.Hud.cs:686 / void AdvanceTutorial()HzSave.SetInt(K + "tut" + _playLevel, 1);
Scripts/BlockBlossomGame.Hud.cs:798 / void CompleteGuide(int b)HzSave.SetInt(K + "guided" + b, 1);
Scripts/BlockBlossomGame.Hud.cs:810 / void EndGuide(bool save)if (save) HzSave.SetInt(K + "guided" + _guide, 1);
Scripts/BlockBlossomGame.cs:46 / declarationsbool TutorialDone { get => HzSave.GetInt(K + "tut", 0) == 1; set => HzSave.SetInt(K + "tut", value ? 1 : 0); }
Scripts/BlockBlossomGame.cs:47 / int Charges(int b) => HzSave.GetInt(K + "b" + b, 0);int Charges(int b) => HzSave.GetInt(K + "b" + b, 0);
Scripts/BlockBlossomGame.cs:48 / void SetCharges(int b, int v) => HzSave.SetInt(K + "b" + b, Mathf.Max(0, v));void SetCharges(int b, int v) => HzSave.SetInt(K + "b" + b, Mathf.Max(0, v));
Scripts/BlockBlossomGame.cs:51 / bool Unlocked(int b) => HzDev.BoostersUnlocked || _playLevel >= BoostUnlock[b];int Best { get => HzSave.GetInt(K + "best", 0); set => HzSave.SetInt(K + "best", value); }
Scripts/BlockBlossomGame.cs:75 / void StartLevel()_tutStep = TutorialSteps(_playLevel) != null && (_playLevel > 1 || !TutorialDone) && HzSave.GetInt(K + "tut" + _playLevel, 0) == 0 ? 0 : -1;
Scripts/BlockBlossomGame.cs:89 / void ShowIntro()if (!Unlocked(b) || HzSave.GetInt(K + "seen" + b, 0) == 1) continue;
Scripts/BlockBlossomGame.cs:90 / void ShowIntro()HzSave.SetInt(K + "seen" + b, 1);
Scripts/BlockBlossomGame.cs:107 / void Begin()if (!string.IsNullOrEmpty(D.hint) && HzSave.GetInt(K + "hint" + _playLevel, 0) == 0)
Scripts/BlockBlossomGame.cs:109 / void Begin()HzSave.SetInt(K + "hint" + _playLevel, 1);
Scripts/BlockBlossomGame.cs:123 / void TryStartGuide()if (!Unlocked(b) || HzSave.GetInt(K + "seen" + b, 0) == 0 || HzSave.GetInt(K + "guided" + b, 0) == 1) continue;
Scripts/BlockBlossomGame.cs:190 / void AnimateMove(BmMove m, int px, int py, bool drop)if (m.Spread >= 0) { WeedGrowFx(m.Spread); HzAudio.Play(Sfx.Spread, 0.55f); if (HzSave.GetInt(K + "spreadtip", 0) == 0) { HzSave.SetInt(K + "spreadtip", 1); ShowTip("A weed spread! Clear a line every few drops to keep weeds in check.", 4f); } }
Scripts/BlockBlossomGame.cs:214 / void GreyHint()if (_ended || _tutStep >= 0 || HzSave.GetInt(K + "greytip", 0) == 1 || E.Stuck) return;
Scripts/BlockBlossomGame.cs:218 / void GreyHint()HzSave.SetInt(K + "greytip", 1);
Scripts/BlockBlossomGame.cs:245 / void Win()HzSave.SetInt(K + "stars" + done, Mathf.Max(stars, HzSave.GetInt(K + "stars" + done, 0)));
Scripts/BlockBlossomGame.cs:613 / string DebugCommandInner(string cmd)HzSave.SetInt(K + "greytip", 0); HzSave.SetInt(K + "spreadtip", 0);
Scripts/BlockBlossomGame.cs:614 / string DebugCommandInner(string cmd)for (int b = 0; b < 4; b++) { SetCharges(b, 0); HzSave.SetInt(K + "seen" + b, 0); HzSave.SetInt(K + "guided" + b, 0); }
Scripts/BlockBlossomGame.cs:615 / string DebugCommandInner(string cmd)for (int l = 1; l <= 40; l++) { HzSave.SetInt(K + "tut" + l, 0); HzSave.SetInt(K + "hint" + l, 0); }
CHAPTER 13

Backend and advertising configuration

Settings asset: Assets/Szekipapa77BlockBlossom/HyperCasualLiveOpsKit/Resources/HLK/HLKSettings.asset. Shipping HLK defaults are Ads.Mode=0(Dummy) and IAP.Mode=3(Disabled). Retain these clean defaults when evaluating the template. Do not describe simulated banners/interstitials/rewarded callbacks as bundled AdMob or live revenue. To use a real service, install the appropriate external provider into your own project, configure your account/placement IDs, consent and testing, then deliberately select the production provider/mode. Disabled IAP must not be marketed as working real-money purchases.

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 required game Kit, publisher-owned HyperCasual LiveOpsKit and TextMesh Pro resources are included. Ads ship in Dummy simulation and IAP is Disabled; external provider SDK binaries are excluded. Additional HLK example systems are reference content, not a claim that this game has every backend feature integrated.

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.blockblossom, 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/blockblossom.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 Build WebGL command includes landscape and portrait scenes; preserve their order and the Kit/mobile query routing when adapting a page template. Scene orientation and outer browser size are separate. Output: Builds/WebGL/blockblossom.

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 Block Blossom, 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.