Unity 6000.0.62f1 · Complete offline documentation

Bubble Burst Bay
Developer Guide

Install. Edit. Reskin. Build your release.

szekipapa77@gmail.com
Bubble Burst Bay cover
CHAPTER 01

Start here: Bubble Burst Bay

Bubble Burst Bay is a standalone editable Unity game template. Aim around Volt, the cloud in the centre, and fire candy drops toward the storm walls. Match three to pop connected colours and cut unattached groups loose. Empty the outer line of every active wall to clear the sky. Budget shots and watch the incoming pushes rather than assuming a one-direction bubble grid.

Includes 25 curated levels, source-backed generation, a game-specific visual editor and validation, 4 guided helpers, local saving and portrait/landscape scenes. Keep the required private game Kit and publisher-owned Szekipapa77Ads layer. Provider SDK binaries are excluded. There is no bundled HLK, purchases, multiplayer server or remote LiveOps backend. Import only one game Kit into a project because the Kit classes share names.

CHAPTER 02

Requirements, installation and first play

Use Unity 6000.0.62f1, URP 17.0.4 and Unity UI 2.0.0. Install matching Android SDK/NDK/OpenJDK and WebGL modules in Unity Hub. Retain the supplied manifest and ProjectSettings.

  1. Extract the standalone project to a short writable local path, then open it in the matching editor. Wait for package import and compilation.
  2. For native unitypackage import, create a matching URP project and use Assets > Import Package > Custom Package. Import every game, Kit, Szekipapa77Ads and WebGL-template entry.
  3. Run Szekipapa77 > Bubble Burst Bay > Setup. It configures rendering and player settings; review its changes when integrating with existing work.
  4. Active Input Handling must support the classic Input Manager: choose Old or Both. New Input System only is insufficient.
  5. Open Assets/Games/BubbleBlitz/Scenes/BubbleBlitz_Mobile.unity and press Play. Follow the level card and first-level instructions.
  6. Stop Play mode before editing level assets. Keep all .meta GUIDs. The game uses classic Unity UI Text; do not assume an extra TextMesh Pro import is required.
CHAPTER 03

Project folders and exact source map

All game-relative paths below start at Assets/Games/BubbleBlitz. Runtime UI is built in code; editing an unrelated static Canvas does not reskin it. Scripts contains game rules and views; Editor contains authoring tools; Kit supplies UI/audio/save/platform support; Resources/bubbleblitz contains level JSON, art, music and sound; Settings owns URP assets; Scenes contains both entry scenes.

Main flow: BubbleBlitzGame.cs. UI and popup consumers: BubbleBlitzGame.Hud.cs. Model/generator/loading: BbCore.cs, BbGen.cs, BbLevels.cs. Authoring: Editor/BubbleBlitzLevelEditor.cs. Shared ad settings live outside the game at Assets/Szekipapa77Ads/Resources/AdsSettings.asset.

CHAPTER 04

Gameplay, controls and progression

Aim around Volt, the cloud in the centre, and fire candy drops toward the storm walls. Match three to pop connected colours and cut unattached groups loose. Empty the outer line of every active wall to clear the sky. Budget shots and watch the incoming pushes rather than assuming a one-direction bubble grid.

The initial bank has 25 curated levels. Read the supplied loader/generator before changing continuation rules. Play the guided opening, ordinary progress, completion and retry paths; preserve saved indexes during a visual reskin. The Mobile scene is portrait and the WebGL-named scene is landscape, but the supplied Build menu selects portrait for both build targets. Select landscape explicitly in your Build Profile if desired. Test a near-startup scene replacement as well as a normal restart.

CHAPTER 05

Tutorials and every helper

Fresh local progress triggers the first-level guidance. Newly unlocked helpers have introduction and guided-use flows. Reset only a test save when reviewing tutorials. A free guided first use can differ from ordinary charge consumption. Exact names/unlocks/free charges: Scripts/BubbleBlitzGame.cs; effect/help strings: Scripts/BubbleBlitzGame.Hud.cs.

HelperUnlockFree chargesAction and effect
Swap35Swap the loaded drop with the next one in line.
Laser Sight63A full aim line that shows exactly where your next 3 shots land.
Thunder Bomb102Load a bomb: it blasts everything within 2 cells - stones and ice too!
Prism152Turns the loaded drop into a prism that matches any colour.

Activate the tool and perform its required target action: arming a tool alone does not demonstrate its effect. A successful use requires the stated preconditions from this game: show both activation and its actual effect. Exhausted charges may offer a rewarded ad; verify success/cancel/failure and grant a reward once only.

CHAPTER 06

Visual level editor: worked editing session

Open Szekipapa77 > Bubble Burst Bay > Level Editor. Exact implementation: Editor/BubbleBlitzLevelEditor.cs.

Open the Bubble Burst Bay editor and select an early level. Use Dup or Duplicate before editing. Change its visible name and one rule or board element with the exact controls below. Save explicitly and run the current entry through the editor validation and play controls. The per-game source-control table includes the current brush, geometry, target, rule and AI fields; do not treat hierarchy or resource IDs as display text.

  1. Back up Resources/bubbleblitz/Levels/levels.json.
  2. Duplicate a simple early level and edit one small element.
  3. Use the game-specific validation controls and resolve every reported issue.
  4. Save explicitly; stop and restart Play mode, then use Play this level or navigate to the edited index.
  5. Check portrait and landscape and rebuild demo outputs after accepting data changes.

The exact current authoring controls, including tooltips and generator switches, follow. These are game-specific source references, not a generic editor feature list.

SourceExact current code
BubbleBlitzLevelEditor.cs:44[MenuItem("Szekipapa77/Bubble Burst Bay/Level Editor")]
BubbleBlitzLevelEditor.cs:47[MenuItem("Szekipapa77/Bubble Burst Bay/Validate All Levels")]
BubbleBlitzLevelEditor.cs:112if (GUILayout.Button(Dirty ? "Save *" : "Save", EditorStyles.toolbarButton, GUILayout.Width(70))) Save();
BubbleBlitzLevelEditor.cs:113if (GUILayout.Button("Reload", EditorStyles.toolbarButton, GUILayout.Width(60)) && (!Dirty || EditorUtility.DisplayDialog("Reload", "Discard unsaved changes?", "Discard", "Cancel"))) Load();
BubbleBlitzLevelEditor.cs:116if (GUILayout.Button("Validate", EditorStyles.toolbarButton, GUILayout.Width(70)) && Cur != null) ValidateOne(_sel);
BubbleBlitzLevelEditor.cs:117if (GUILayout.Button("Validate All", EditorStyles.toolbarButton, GUILayout.Width(85))) ValidateAll();
BubbleBlitzLevelEditor.cs:120if (GUILayout.Button(new GUIContent("Play this level", "Optional quick test: saves, opens the WebGL scene at this level and enters Play mode. Editing never needs it."), EditorStyles.toolbarButton, GUILayout.Width(100)) && Cur != null) Play(_sel + 1);
BubbleBlitzLevelEditor.cs:148if (GUILayout.Button("Add"))
BubbleBlitzLevelEditor.cs:154if (GUILayout.Button("Dup") && Cur != null) { var c = Cur.Clone(); c.name += " copy"; Insert(_sel + 1, c); }
BubbleBlitzLevelEditor.cs:155if (GUILayout.Button("Del") && Cur != null && EditorUtility.DisplayDialog("Delete", $"Delete level {_sel + 1} '{Cur.name}'?", "Delete", "Cancel"))
BubbleBlitzLevelEditor.cs:159if (GUILayout.Button("Up") && _sel > 0) Move(-1);
BubbleBlitzLevelEditor.cs:160if (GUILayout.Button("Down") && _sel < _file.levels.Length - 1) Move(1);
BubbleBlitzLevelEditor.cs:190EditorGUILayout.LabelField($"Level {_sel + 1}", EditorStyles.boldLabel);
BubbleBlitzLevelEditor.cs:192l.name = EditorGUILayout.TextField("Name", l.name);
BubbleBlitzLevelEditor.cs:194l.sky = BbGen.Skies[EditorGUILayout.Popup("Sky", si, BbGen.Skies, GUILayout.Width(260))];
BubbleBlitzLevelEditor.cs:196l.hint = EditorGUILayout.TextField(new GUIContent("First-time hint", "Shown on the level card (introduce new things here; \\n for a line break)"), l.hint.Replace("\n", "\\n")).Replace("\\n", "\n");
BubbleBlitzLevelEditor.cs:199gi = EditorGUILayout.Popup("Goal", gi, new[] { "Clear the walls", "Rescue the chicks" });
BubbleBlitzLevelEditor.cs:201l.shots = EditorGUILayout.IntField(new GUIContent("Shot limit", "0 = unlimited"), l.shots);
BubbleBlitzLevelEditor.cs:202l.colors = EditorGUILayout.IntSlider("Colours", l.colors, 2, BbBoard.MaxColors);
BubbleBlitzLevelEditor.cs:205l.storm = EditorGUILayout.IntSlider(new GUIContent("Storm spare shots", "Misses allowed before a wall pushes (0 = calm, never pushes)"), l.storm, 0, 9);
BubbleBlitzLevelEditor.cs:206l.stormMin = EditorGUILayout.IntSlider(new GUIContent("down to", "Each push refills one fewer, down to this, then the cycle restarts"), l.stormMin, 0, 9);
BubbleBlitzLevelEditor.cs:207l.ring = EditorGUILayout.IntSlider(new GUIContent("Prism ring", "Popping shots that earn a prism drop (0 = off)"), l.ring, 0, 20);
BubbleBlitzLevelEditor.cs:210l.difficulty = EditorGUILayout.Slider("Design difficulty", l.difficulty, 0, 1);
BubbleBlitzLevelEditor.cs:211l.breather = EditorGUILayout.ToggleLeft("Breather", l.breather, GUILayout.Width(80));
BubbleBlitzLevelEditor.cs:213l.shape = BbGen.Shapes[EditorGUILayout.Popup("Shape tag", shi, BbGen.Shapes, GUILayout.Width(260))];
BubbleBlitzLevelEditor.cs:230int cols = EditorGUILayout.IntSlider("Columns", l.w, 7, BbBoard.MaxW);
BubbleBlitzLevelEditor.cs:231int rows = EditorGUILayout.IntSlider("Rows", l.h, 7, BbBoard.MaxH);
BubbleBlitzLevelEditor.cs:235if (GUILayout.Button(new GUIContent("Regenerate layout", "Rebuild this level with BbGen from its size, shape, walls, features and difficulty (new seed)"), GUILayout.Width(130))) { Regenerate(l, true); Changed(); }
BubbleBlitzLevelEditor.cs:236if (GUILayout.Button(new GUIContent("Recolour", "Keep the layout, deal new colour clusters"), GUILayout.Width(80))) { Recolour(l); Changed(); }
BubbleBlitzLevelEditor.cs:237if (GUILayout.Button(new GUIContent("Clear", "Empty the arena"), GUILayout.Width(60)))
BubbleBlitzLevelEditor.cs:242if (GUILayout.Button(new GUIContent("Mirror L-R", "Mirror the layout left to right"), GUILayout.Width(80))) { Mirror(l); Changed(); }
BubbleBlitzLevelEditor.cs:243_showBot = EditorGUILayout.ToggleLeft("Show bot's opening shots", _showBot, GUILayout.Width(180));
BubbleBlitzLevelEditor.cs:244if (GUILayout.Button("Run bot preview", GUILayout.Width(110))) BotPreview(l);
BubbleBlitzLevelEditor.cs:253EditorGUILayout.LabelField($"Drops {l.Drops} Stones {l.Stones} Bolts {l.Bolts} Ice {l.Ices} Chicks {l.Chicks} Loose (will fall at start) {loose} In danger ring {inCore} Par {l.par}", EditorStyles.miniBoldLabel);
BubbleBlitzLevelEditor.cs:259if (msgs.Count > 0) EditorGUILayout.HelpBox(string.Join("\n", msgs), MessageType.Warning);
BubbleBlitzLevelEditor.cs:261EditorGUILayout.HelpBox("Bot: " + v + (v.WinRate > 0.95f && !l.breather && _sel > 5 ? "\nThe bot always wins: fine for breathers, otherwise tighten the storm or add colours." : ""),
BubbleBlitzLevelEditor.cs:263else EditorGUILayout.HelpBox("Press Validate to let the bot play this level (16 games).", MessageType.None);
BubbleBlitzLevelEditor.cs:287EditorGUILayout.LabelField("Left-click/drag paints, right-click erases. Volt sits in the middle; the red ring is the danger zone (a drop in the inner ring loses).", EditorStyles.miniLabel);
BubbleBlitzLevelEditor.cs:443EditorGUILayout.LabelField("Difficulty curve (bot score; blue = breather, red = not winnable). Click a bar to select.", EditorStyles.miniBoldLabel);
BubbleBlitzLevelEditor.cs:465_showGen = EditorGUILayout.Foldout(_showGen, "Auto Generate (seeded, bot-validated, same BbGen code as the runtime)", true);
BubbleBlitzLevelEditor.cs:468_genCount = Mathf.Clamp(EditorGUILayout.IntField("Count", _genCount), 1, 100);
BubbleBlitzLevelEditor.cs:469_genStart = Mathf.Max(1, EditorGUILayout.IntField("Start at level #", _genStart));
BubbleBlitzLevelEditor.cs:470_genSeed = EditorGUILayout.IntField("Seed", _genSeed);
BubbleBlitzLevelEditor.cs:473_genFrom = EditorGUILayout.Slider("Start difficulty", _genFrom, 0, 1);
BubbleBlitzLevelEditor.cs:474_genTo = EditorGUILayout.Slider("End difficulty", _genTo, 0, 1);
BubbleBlitzLevelEditor.cs:477_genBreather = EditorGUILayout.IntSlider("Breather every", _genBreather, 0, 8);
BubbleBlitzLevelEditor.cs:478_genRuns = EditorGUILayout.IntSlider(new GUIContent("Bot games per try", "More = more accurate difficulty, slower"), _genRuns, 2, 24);
BubbleBlitzLevelEditor.cs:481_genStones = EditorGUILayout.ToggleLeft("Stones", _genStones, GUILayout.Width(70));
BubbleBlitzLevelEditor.cs:482_genIce = EditorGUILayout.ToggleLeft("Ice", _genIce, GUILayout.Width(60));
BubbleBlitzLevelEditor.cs:483_genBolts = EditorGUILayout.ToggleLeft("Bolts", _genBolts, GUILayout.Width(70));
BubbleBlitzLevelEditor.cs:484_genRescue = EditorGUILayout.ToggleLeft("Rescue goals", _genRescue, GUILayout.Width(110));
BubbleBlitzLevelEditor.cs:485_genReplace = EditorGUILayout.ToggleLeft("Replace that range (else insert)", _genReplace);
BubbleBlitzLevelEditor.cs:496if (GUILayout.Button($"Generate {_genCount} level(s)", GUILayout.Height(26))) Generate();
CHAPTER 07

Generator, insertion and replacement

Use the actual generation panel and its fields listed below. Set a reproducible seed and a small count, then review the start/index and replace option before clicking Generate. The exact generation implementation is reproduced separately with line references so append, insert and replacement behavior can be distinguished. Save and reopen the data file to verify the intended entry count; runtime generated continuation is not a project-asset save.

SourceExact current code
BubbleBlitzLevelEditor.cs:42bool _genReplace, _genStones = true, _genIce = true, _genBolts = true, _genRescue = true;
BubbleBlitzLevelEditor.cs:485_genReplace = EditorGUILayout.ToggleLeft("Replace that range (else insert)", _genReplace);
BubbleBlitzLevelEditor.cs:528if (_genReplace) { int rm = Mathf.Min(_genCount, list.Count - at); if (rm > 0) list.RemoveRange(at, rm); }
BubbleBlitzLevelEditor.cs:529list.InsertRange(at, made);

Worked extension: back up the bank, generate a small set at moderate difficulty using the exact per-game controls, validate them, then Save. Reopen the JSON and confirm the count changed. Do not assume every editor has the same insertion behavior: the actual implementation below distinguishes insert, append and replace. Runtime continuation does not automatically append new records to project JSON. Validation and bot scores help find problems but do not certify a pleasant human difficulty curve.

CHAPTER 08

Actual level JSON and identifiers

Canonical asset: Assets/Games/BubbleBlitz/Resources/bubbleblitz/Levels/levels.json. Array order controls visible numbering. Preserve numeric/boolean types, root version fields where present and resource/save identifiers. The actual first record is shown below; use the editor for structured coordinates and block/word data.

{
  "name": "First Rumble",
  "sky": "Dusk",
  "hint": "Aim anywhere and tap to fire.\nMatch 3 drops of one colour to pop them!",
  "w": 11,
  "h": 13,
  "rows": [
    "00022222110",
    "22220222000",
    "22222020000",
    "...........",
    "...........",
    "...........",
    "...........",
    "...........",
    "...........",
    "...........",
    "...........",
    "...........",
    "..........."
  ],
  "walls": "T",
  "colors": 3,
  "storm": 0,
  "stormMin": 0,
  "shots": 0,
  "goal": "clear",
  "ring": 5,
  "difficulty": 0.04,
  "breather": false,
  "shape": "bands",
  "seed": 1037,
  "score": 2.3,
  "winRate": 1,
  "par": 5
}

Root keys: levels. Inspect BbCore.cs, BbGen.cs, BbLevels.cs for field semantics and validation. Keep visible names/hints distinct from technical keys. The game-specific board, wave, card, opponent or question records are gameplay data; UI translation is separate.

CHAPTER 09

Reskin recipe: interface colours

Stop Play mode and open Scripts/BbArt.cs. Find Ink, currently #2A2360. Change that hex literal to #42C9B0, preserve its symbol/type, compile and reopen the scene. Review HUD, menus, helper cards, settings/results and both orientations. Art sprites and procedural fallback shapes can have additional colours; edit them deliberately.

Actual consumers of this symbol are listed first, then all current palette/hex assignments. Editor-only palettes do not control the runtime. Preserve state/goal contrast and rebuild after accepting a change.

SourceExact current code
BbArt.cs:10 / class/static declarationsCloud = HzUI.Hex("#F4F1FF"), Storm = HzUI.Hex("#8D88B5"), Ink = HzUI.Hex("#2A2360"), Sub = HzUI.Hex("#7C76A8"),
BubbleBlitzGame.Hud.cs:65 / void BuildHudLandscape(float W, float H)title.AddOutline(Ink, 4); title.AddShadow(new Color(0, 0, 0, 0.35f), 5);
BubbleBlitzGame.Hud.cs:114 / void GoalCard(Image card, float w, float h)_goalNum = HzUI.Label("GoalNum", card.transform, "", 44, Ink, TextAnchor.MiddleLeft);
BubbleBlitzGame.Hud.cs:186 / void BoosterBar(float cx, float cy, float w, float h, bool horizontal)v.Caption = HzUI.Label("Cap", v.Root, "", 30, Ink);
BubbleBlitzGame.Hud.cs:239 / void RefreshBoosters()v.Caption.color = un ? Ink : Sub;
BubbleBlitzGame.Hud.cs:316 / HzPopup BbPopupFull(string title, string message, Color accent, Sprite art, string subtitle, int stars, (string label, Color color, Action action)[] buttons)p.Message = HzUI.Label("Msg", card.transform, message, 44, Ink, TextAnchor.MiddleCenter, false);
BubbleBlitzGame.View.cs:178 / void BuildArena(SkyTheme sky)var eye = HzUI.Panel("Eye", _volt.transform, Ink, 20); eye.raycastTarget = false;
BubbleBlitzGame.View.cs:466 / void BuildFxPool()var t = HzUI.Label("Float", _fxRt, "", (int)Mathf.Max(30, _cs * 0.62f), Gold); t.AddOutline(Ink, 3);
SourceExact current code
BbArt.cs:9 / class/static declarationspublic static readonly Color Night = HzUI.Hex("#1F1B4D"), Violet = HzUI.Hex("#4A3C8C"), Gold = HzUI.Hex("#FFC83D"), GoldDark = HzUI.Hex("#E89B12"),
BbArt.cs:10 / class/static declarationsCloud = HzUI.Hex("#F4F1FF"), Storm = HzUI.Hex("#8D88B5"), Ink = HzUI.Hex("#2A2360"), Sub = HzUI.Hex("#7C76A8"),
BbArt.cs:11 / class/static declarationsMint = HzUI.Hex("#3DDC84"), Cherry = HzUI.Hex("#FF4F6D"), Sky = HzUI.Hex("#2EC4F1"), Grape = HzUI.Hex("#A35BFF"), Pink = HzUI.Hex("#FF7AD9"),
BbArt.cs:12 / class/static declarationsCardBg = HzUI.Hex("#F6F3FF"), PopupCard = HzUI.Hex("#F7F4FF"), PopupInner = HzUI.Hex("#E9E3FF"), Locked = HzUI.Hex("#9C97BF");
BbArt.cs:17 / class/static declarationsHzUI.Hex("#FF4F6D"), HzUI.Hex("#FF9F1C"), HzUI.Hex("#FFE14D"), HzUI.Hex("#3DDC84"),
BbArt.cs:18 / class/static declarationsHzUI.Hex("#2EC4F1"), HzUI.Hex("#4C6FFF"), HzUI.Hex("#A35BFF"), HzUI.Hex("#FF7AD9"),
BbArt.cs:28 / public static Color DropColor(int c) => c >= 0 && c < Drop.Length ? Drop[c] : Color.white;new SkyTheme { Name = "Dusk", Top = HzUI.Hex("#2B2466"), Bottom = HzUI.Hex("#5B3F94"), Tint = new Color(0.55f, 0.35f, 0.9f, 0.10f), Arena = new Color(0.08f, 0.06f, 0.22f, 0.55f) },
BbArt.cs:29 / public static Color DropColor(int c) => c >= 0 && c < Drop.Length ? Drop[c] : Color.white;new SkyTheme { Name = "Midnight", Top = HzUI.Hex("#141238"), Bottom = HzUI.Hex("#2C2A6E"), Tint = new Color(0.1f, 0.12f, 0.4f, 0.30f), Arena = new Color(0.04f, 0.04f, 0.16f, 0.6f) },
BbArt.cs:30 / public static Color DropColor(int c) => c >= 0 && c < Drop.Length ? Drop[c] : Color.white;new SkyTheme { Name = "Aurora", Top = HzUI.Hex("#13324F"), Bottom = HzUI.Hex("#2E6E73"), Tint = new Color(0.2f, 0.85f, 0.7f, 0.16f), Arena = new Color(0.03f, 0.12f, 0.16f, 0.55f) },
BbArt.cs:31 / public static Color DropColor(int c) => c >= 0 && c < Drop.Length ? Drop[c] : Color.white;new SkyTheme { Name = "Dawn", Top = HzUI.Hex("#3C2E6E"), Bottom = HzUI.Hex("#C9688C"), Tint = new Color(1f, 0.55f, 0.6f, 0.16f), Arena = new Color(0.14f, 0.06f, 0.2f, 0.5f) },
BbArt.cs:32 / public static Color DropColor(int c) => c >= 0 && c < Drop.Length ? Drop[c] : Color.white;new SkyTheme { Name = "Sunset", Top = HzUI.Hex("#3A1E5C"), Bottom = HzUI.Hex("#E0794A"), Tint = new Color(1f, 0.55f, 0.25f, 0.18f), Arena = new Color(0.16f, 0.06f, 0.14f, 0.5f) },
BubbleBlitzGame.cs:33 / class/static declarationspublic static readonly string[] BoostColor = { "#2EC4F1", "#3DDC84", "#FF7A45", "#A35BFF" };
BubbleBlitzGame.View.cs:232 / void Look(Image c, Image o, int kind, int color, bool ice, bool chick)c.sprite = sp ? sp : BbArt.Bubble; c.color = sp ? Color.white : HzUI.Hex("#8E8AA6");
BubbleBlitzGame.View.cs:239 / void Look(Image c, Image o, int kind, int color, bool ice, bool chick)c.sprite = sp ? sp : BbArt.Bubble; c.color = sp ? Color.white : HzUI.Hex("#5B2A9E");
BubbleBlitzGame.View.cs:255 / void Look(Image c, Image o, int kind, int color, bool ice, bool chick)o.sprite = sp ? sp : BbArt.Soft; o.color = sp ? Color.white : HzUI.Hex("#FFE14D");
BubbleBlitzGame.View.cs:333 / void SetDropLook(Image img, int color, bool bomb)img.sprite = sp ? sp : BbArt.Bubble; img.color = sp ? Color.white : HzUI.Hex("#2A2A4A");
BubbleBlitzGame.View.cs:515 / Color CellTint(int kind, int color)if (kind == BbBoard.KStone && !BbArt.Get("stone")) return HzUI.Hex("#8E8AA6");
BubbleBlitzGame.View.cs:516 / Color CellTint(int kind, int color)if (kind == BbBoard.KBolt && !BbArt.Get("bolt")) return HzUI.Hex("#5B2A9E");
BubbleBlitzGame.View.cs:558 / void EffectsFor(BbEvents ev, bool quiet)Emit(3, pos, new Vector2(Random.Range(-1.5f, 1.5f), -6f), 1.3f, 0.8f, 1.1f, chick ? chick : BbArt.Soft, chick ? Color.white : HzUI.Hex("#FFE14D"));
CHAPTER 10

Reskin recipe: visible menu and HUD text

Open Scripts/BubbleBlitzGame.Hud.cs, find the displayed literal "Settings", and replace its displayed value with "Options". Keep hierarchy names and technical IDs unchanged. In HzUI.Label/Button calls the first string may be an object name; change the displayed text argument. Read the method references below to distinguish construction from later refresh assignments.

Preserve interpolation braces, invariant number formatting, ON/OFF updates and line breaks. Update both initial and refresh paths, portrait and landscape. Exact names/unlocks/free charges: Scripts/BubbleBlitzGame.cs; effect/help strings: Scripts/BubbleBlitzGame.Hud.cs. Level names/hints remain separate JSON content. If a title appears in art, Title property or another screen, update those visible uses deliberately without renaming GameId, namespace, resources or save keys.

Hard-coded game strings do not automatically use shared localization. To translate the interface, route every display assignment through your translation table. Dictionaries, word banks and theme pools are independent gameplay assets and need separate validation. Test help, settings, results, tutorial and helper introductions after a fresh launch.

SourceExact current code
BbArt.cs:20 / class/static declarationspublic static readonly string[] DropName = { "cherry", "tangerine", "lemon", "mint", "sky", "cobalt", "grape", "bubblegum" };
BbArt.cs:28 / public static Color DropColor(int c) => c >= 0 && c < Drop.Length ? Drop[c] : Color.white;new SkyTheme { Name = "Dusk", Top = HzUI.Hex("#2B2466"), Bottom = HzUI.Hex("#5B3F94"), Tint = new Color(0.55f, 0.35f, 0.9f, 0.10f), Arena = new Color(0.08f, 0.06f, 0.22f, 0.55f) },
BbArt.cs:29 / public static Color DropColor(int c) => c >= 0 && c < Drop.Length ? Drop[c] : Color.white;new SkyTheme { Name = "Midnight", Top = HzUI.Hex("#141238"), Bottom = HzUI.Hex("#2C2A6E"), Tint = new Color(0.1f, 0.12f, 0.4f, 0.30f), Arena = new Color(0.04f, 0.04f, 0.16f, 0.6f) },
BbArt.cs:30 / public static Color DropColor(int c) => c >= 0 && c < Drop.Length ? Drop[c] : Color.white;new SkyTheme { Name = "Aurora", Top = HzUI.Hex("#13324F"), Bottom = HzUI.Hex("#2E6E73"), Tint = new Color(0.2f, 0.85f, 0.7f, 0.16f), Arena = new Color(0.03f, 0.12f, 0.16f, 0.55f) },
BbArt.cs:31 / public static Color DropColor(int c) => c >= 0 && c < Drop.Length ? Drop[c] : Color.white;new SkyTheme { Name = "Dawn", Top = HzUI.Hex("#3C2E6E"), Bottom = HzUI.Hex("#C9688C"), Tint = new Color(1f, 0.55f, 0.6f, 0.16f), Arena = new Color(0.14f, 0.06f, 0.2f, 0.5f) },
BbArt.cs:32 / public static Color DropColor(int c) => c >= 0 && c < Drop.Length ? Drop[c] : Color.white;new SkyTheme { Name = "Sunset", Top = HzUI.Hex("#3A1E5C"), Bottom = HzUI.Hex("#E0794A"), Tint = new Color(1f, 0.55f, 0.25f, 0.18f), Arena = new Color(0.16f, 0.06f, 0.14f, 0.5f) },
BubbleBlitzGame.cs:30 / class/static declarationspublic static readonly string[] BoostName = { "Swap", "Laser Sight", "Thunder Bomb", "Prism" };
BubbleBlitzGame.cs:120 / void ShowLevelCard()var p = BbPopup(LevelLabel(), msg, Violet, LevelCardArt(), D.name + " - " + D.sky + " sky", ("Play", Mint, (Action)Begin));
BubbleBlitzGame.cs:124 / string LevelLabel() => (BbLevels.IsGenerated(_playLevel) ? "Storm " : "Level ") + _playLevel.ToString(CultureInfo.InvariantCulture);string LevelLabel() => (BbLevels.IsGenerated(_playLevel) ? "Storm " : "Level ") + _playLevel.ToString(CultureInfo.InvariantCulture);
BubbleBlitzGame.cs:215 / void Lose(BbOutcome why)BbPopup(title, msg, Cherry, BbArt.Get("volt"), null, buttons.ToArray());
BubbleBlitzGame.cs:231 / void SecondWind()Toast("Whoosh! A second wind!", Gold, 1.3f, ToastY);
BubbleBlitzGame.cs:242 / void ExtraShots()Toast("+5 shots!", Gold, 1.2f, ToastY);
BubbleBlitzGame.cs:392 / void OnBooster(int b)Toast(BoostName[b] + " unlocks at level " + BoostUnlock[b].ToString(CultureInfo.InvariantCulture), null, 1.3f, ToastY); HzAudio.Play(Sfx.Cancel, 0.4f);
BubbleBlitzGame.cs:409 / void OnBooster(int b)if (S.Current == S.Next) { Toast("Both drops are the same colour", null, 1.1f, ToastY); HzAudio.Play(Sfx.Cancel, 0.4f); return; }
BubbleBlitzGame.cs:415 / void OnBooster(int b)if (_laserShots > 0) { Toast("Laser Sight is already on", null, 1.1f, ToastY); return; }
BubbleBlitzGame.cs:418 / void OnBooster(int b)Toast("Laser Sight: 3 shots", Mint, 1.2f, ToastY);
BubbleBlitzGame.cs:424 / void OnBooster(int b)else Toast("Thunder Bomb loaded - aim at a crowd!", Gold, 1.4f, ToastY);
BubbleBlitzGame.cs:427 / void OnBooster(int b)if (S.Current == BbBoard.Prism) { Toast("A prism is already loaded", null, 1.1f, ToastY); return; }
BubbleBlitzGame.cs:445 / void OfferCharge(int b)BbPopup("+1 " + BoostName[b], "Out of " + BoostName[b] + ".\nWatch a short ad for one more?", HzUI.Hex(BoostColor[b]), BbArt.Get(BoostArt[b]), null,
BubbleBlitzGame.cs:564 / string PopupTitle()return t ? t.GetComponent<Text>().text.Replace(' ', '_') : "popup";
BubbleBlitzGame.Hud.cs:62 / void BuildHudLandscape(float W, float H)var title = HzUI.Label("Title", _layer, "Bubble\nBurst Bay", 58, Gold, TextAnchor.MiddleLeft);
BubbleBlitzGame.Hud.cs:71 / void BuildHudLandscape(float W, float H)var rb = HzUI.Button("Restart", _layer, "", GoldDark, Color.white, () => { if (_playing && !_busy) Restart(); }, 40, 36);
BubbleBlitzGame.Hud.cs:73 / void BuildHudLandscape(float W, float H)ButtonIconLabel(rb, HzIcons.Replay, "Restart");
BubbleBlitzGame.Hud.cs:74 / void BuildHudLandscape(float W, float H)var sb = HzUI.Button("Settings", _layer, "", Violet, Color.white, ShowSettingsPopup, 40, 36);
BubbleBlitzGame.Hud.cs:76 / void BuildHudLandscape(float W, float H)ButtonIconLabel(sb, HzIcons.Settings, "Settings");
BubbleBlitzGame.Hud.cs:77 / void BuildHudLandscape(float W, float H)var help = HzUI.Label("Help", _layer, "Aim with the mouse, click to fire\nSpace fires, Q swaps", 30, Cloud, TextAnchor.MiddleCenter, false);
BubbleBlitzGame.Hud.cs:84 / void LevelPillText(Image pill)_levelTxt = HzUI.Label("Level", pill.transform, "", 58, Color.white); _levelTxt.AddOutline(new Color(0.1f, 0.05f, 0.3f, 0.45f), 3);
BubbleBlitzGame.Hud.cs:86 / void LevelPillText(Image pill)_nameTxt = HzUI.Label("Name", pill.transform, "", 32, new Color(1, 1, 1, 0.95f), TextAnchor.MiddleCenter, false); _nameTxt.fontStyle = FontStyle.Bold;
BubbleBlitzGame.Hud.cs:93 / void ButtonIconLabel(Button b, string icon, string label)var t = HzUI.Label("L", b.transform, label, 40, Color.white); t.rectTransform.Stretch(); t.rectTransform.offsetMin = new Vector2(80, 0);
BubbleBlitzGame.Hud.cs:114 / void GoalCard(Image card, float w, float h)_goalNum = HzUI.Label("GoalNum", card.transform, "", 44, Ink, TextAnchor.MiddleLeft);
BubbleBlitzGame.Hud.cs:117 / void GoalCard(Image card, float w, float h)_goalTxt = HzUI.Label("Goal", card.transform, "", 26, Sub, TextAnchor.MiddleLeft, false); _goalTxt.fontStyle = FontStyle.Bold;
BubbleBlitzGame.Hud.cs:126 / void GoalCard(Image card, float w, float h)_scoreTxt = HzUI.Label("Score", card.transform, "", 26, Sub, TextAnchor.MiddleRight, false); _scoreTxt.fontStyle = FontStyle.Bold;
BubbleBlitzGame.Hud.cs:130 / void GoalCard(Image card, float w, float h)_stormTxt = HzUI.Label("Storm", card.transform, "", tall ? 30 : 28, Cherry, TextAnchor.MiddleCenter, false); _stormTxt.fontStyle = FontStyle.Bold;
BubbleBlitzGame.Hud.cs:161 / void BoosterBar(float cx, float cy, float w, float h, bool horizontal)var btn = HzUI.Button("Booster" + b, parent, null, Color.white, Color.white, () => OnBooster(bb), 40, (int)(size * 0.32f));
BubbleBlitzGame.Hud.cs:184 / void BoosterBar(float cx, float cy, float w, float h, bool horizontal)v.BadgeText = HzUI.Label("N", bd.transform, "", (int)(size * 0.24f), Color.white); v.BadgeText.rectTransform.Stretch();
BubbleBlitzGame.Hud.cs:186 / void BoosterBar(float cx, float cy, float w, float h, bool horizontal)v.Caption = HzUI.Label("Cap", v.Root, "", 30, Ink);
BubbleBlitzGame.Hud.cs:196 / void RefreshHud()_nameTxt.text = D.name + (D.breather ? " - breather" : "");
BubbleBlitzGame.Hud.cs:199 / void RefreshHud()_goalNum.text = $"{S.ChicksFreed.ToString(CultureInfo.InvariantCulture)}/{S.ChicksTotal.ToString(CultureInfo.InvariantCulture)} chicks";
BubbleBlitzGame.Hud.cs:200 / void RefreshHud()_goalTxt.text = "Free the chicks";
BubbleBlitzGame.Hud.cs:205 / void RefreshHud()_goalNum.text = on == 0 ? "Sky clear!" : on.ToString(CultureInfo.InvariantCulture) + (on == 1 ? " wall left" : " walls left");
BubbleBlitzGame.Hud.cs:206 / void RefreshHud()_goalTxt.text = "Empty the outer lines";
BubbleBlitzGame.Hud.cs:208 / void RefreshHud()_scoreTxt.text = "Score " + S.Score.ToString(CultureInfo.InvariantCulture);
BubbleBlitzGame.Hud.cs:236 / void RefreshBoosters()v.BadgeText.text = c > 0 ? c.ToString(CultureInfo.InvariantCulture) : "+";
BubbleBlitzGame.Hud.cs:238 / void RefreshBoosters()v.Caption.text = un ? BoostName[b] : "Level " + BoostUnlock[b].ToString(CultureInfo.InvariantCulture);
BubbleBlitzGame.Hud.cs:306 / HzPopup BbPopupFull(string title, string message, Color accent, Sprite art, string subtitle, int stars, (string label, Color color, Action action)[] buttons)var t = HzUI.Label("Title", ribbon.transform, title, 72, Color.white); t.rectTransform.Stretch(6);
BubbleBlitzGame.Hud.cs:311 / HzPopup BbPopupFull(string title, string message, Color accent, Sprite art, string subtitle, int stars, (string label, Color color, Action action)[] buttons)var st = HzUI.Label("Sub", card.transform, subtitle, 40, Violet); st.rectTransform.Place(new Vector2(0.5f, 1), new Vector2(cw - 80, 50), new Vector2(0, y - 25));
BubbleBlitzGame.Hud.cs:316 / HzPopup BbPopupFull(string title, string message, Color accent, Sprite art, string subtitle, int stars, (string label, Color color, Action action)[] buttons)p.Message = HzUI.Label("Msg", card.transform, message, 44, Ink, TextAnchor.MiddleCenter, false);
BubbleBlitzGame.Hud.cs:351 / void UnlockPopup(int b, Action done)BbPopup("New: " + BoostName[b] + "!", BoostDesc[b] + "\nYou get " + BoostStart[b].ToString(CultureInfo.InvariantCulture) + " free!", HzUI.Hex(BoostColor[b]), BbArt.Get(BoostArt[b]), null,
BubbleBlitzGame.Hud.cs:359 / void ShowSettingsPopup()var p = BbPopup("Settings", "", Violet, null, null,
BubbleBlitzGame.Hud.cs:362 / void ShowSettingsPopup()("How to Play", GoldDark, () => HelpPage(0)),
BubbleBlitzGame.Hud.cs:373 / static string SoundLabel() => HzAudio.Muted ? "Sound: OFF" : "Sound: ON";static string SoundLabel() => HzAudio.Muted ? "Sound: OFF" : "Sound: ON";
BubbleBlitzGame.Hud.cs:374 / static string MusicLabel() => HzAudio.MusicMuted ? "Music: OFF" : "Music: ON";static string MusicLabel() => HzAudio.MusicMuted ? "Music: OFF" : "Music: ON";
BubbleBlitzGame.Hud.cs:387 / void HelpPage(int i)BbPopup($"How to Play {i + 1}/{HelpPages.Length}", HelpPages[i], Sky, i == 0 ? BbArt.Get("volt") : null, null,
BubbleBlitzGame.Hud.cs:388 / void HelpPage(int i)(last ? "Got it" : "Next", Mint, last ? (Action)null : () => HelpPage(i + 1)));
BubbleBlitzGame.Hud.cs:451 / void ShowTip(string text)_tipText = HzUI.Label("T", tip.transform, text, IsPortrait ? 38 : 32, Cloud, TextAnchor.MiddleCenter, false);
BubbleBlitzGame.Hud.cs:513 / void CompleteGuide(int b)Toast("Nice! " + BoostName[b] + " is yours", Gold, 1.3f, ToastY);
BubbleBlitzGame.View.cs:466 / void BuildFxPool()var t = HzUI.Label("Float", _fxRt, "", (int)Mathf.Max(30, _cs * 0.62f), Gold); t.AddOutline(Ink, 3);
BubbleBlitzGame.View.cs:570 / void EffectsFor(BbEvents ev, bool quiet)if (ev.RingFull) { HzTween.Delay(this, 0.3f, () => HzAudio.Play(Sfx.RingFull, 0.7f)); HzTween.Punch(_cannonRt, 0.25f, 0.4f); Toast("Prism drop ready!", Gold, 1.1f, ToastY); }
BubbleBlitzGame.View.cs:574 / void EffectsFor(BbEvents ev, bool quiet)if (S.B.ActiveWalls() > 0 || D.Rescue) Toast(BbBoard.WallNames[w] + " wall cleared!", Gold, 1.1f, ToastY);
BubbleBlitzGame.View.cs:600 / void PushAnim()Toast("The storm pushes in!", Cherry, 1.0f, ToastY);
CHAPTER 11

Artwork, fonts, audio and licences

Replace game images under Resources/bubbleblitz through Unity while retaining resource keys, .meta GUIDs, Sprite/UI import settings, alpha, pivots and slicing. Procedural graphics in the art/view sources may need separate colour changes. Replacing one PNG does not change every fallback. Keep third-party font and other licence notices with the corresponding shipped assets.

Effects are under Resources/bubbleblitz/Sfx. Preserve each actual load key and importer settings when replacing sounds. Supplied music: Resources/bubbleblitz/Music/storm_loop.ogg. Preserve that load key and verify loop/compression and the independent Music toggle. Kit UI uses supplied fonts; preserve actual licence notices and verify new glyphs.

CHAPTER 12

Local saves, reset and migration

HzSave wraps PlayerPrefs and flushes local state on focus loss/quit. WebGL persistence uses browser storage tied to the hosting origin. Clearing site data or changing origin starts a new local save; this is not cloud synchronization. Inspect HzSave/PlayerPrefs calls in the actual game source before altering progression, stars, helper charges or tutorial flags.

Verify fresh launch, a completed arena, helper use, sound options, focus loss and restart. Use a dedicated test profile for resets. Keep technical save keys stable during colour/text reskins. If changing schema or keys, implement and test a migration rather than silently discarding existing users’ progress.

CHAPTER 13

Advertising integration and configuration

Asset: Assets/Szekipapa77Ads/Resources/AdsSettings.asset. Inspect backend, useGoogleTestIds and missingSdkFallback in the publisher-owned Ads configuration. Buyer projects include adapter/integration code and exclude external provider SDK binaries. WebGL and a missing-provider fallback simulate ads; these are not live commercial impressions.

For real Android ads install the supported provider SDK from its official source into your working project, enter your own app/placement IDs and use test ads first. Verify banner/interstitial/rewarded callbacks on supported hardware. For production use your own IDs and disable simulated missing-SDK fallback. Build tooling rejects unsafe production fallback settings. No IAP, remote backend or HLK is included in this publisher edition.

CHAPTER 14

Android build and release

Install Unity 6000.0.62f1 Android modules through Hub. Select Android, run Setup and review application ID com.szekipapa77.bubbleblitz, version, scene orientation and signing. The build command writes Builds/Android/bubbleblitz.apk. Confirm BuildResult.Succeeded and the actual output file; intermediate report totals are not the final APK size.

Use your own keystore/signing and distribution settings. A test-signed demo is not a signed store release. A provider-free build simulates ads; a provider test-demo does not prove production ad-account configuration. Test real hardware touch, safe areas, focus/audio, save/relaunch and reward callbacks. Keep passwords, keystores and private service credentials out of buyer packages.

CHAPTER 15

WebGL build and hosting

Install matching WebGL support. Run Setup and Build WebGL; output is Builds/WebGL/bubbleblitz/. Serve index.html with all loader/framework/data/WASM/StreamingAssets files over HTTP(S), not file://. Match compression, Content-Encoding and MIME types to the host. Outer page sizing and actual scene orientation are different settings.

The publisher’s playable demo is hosted on HyperCodeStore. Upload the actual runtime files rather than merely changing a URL. Test a fresh anonymous load, real pointer controls, audio after interaction, saved progress/reload and phone/desktop sizing. Rebuild and rehost when code/assets change. A successful HTTP page alone is not gameplay verification.

CHAPTER 16

Troubleshooting

Compile errors: restore matching packages and the full private Kit/Ads layer; only one game Kit belongs in a project. Pink/invisible rendering: run Setup and inspect Graphics and every Quality URP assignment. No input: classic input handling must be enabled; check canvas focus and blocking modals. Missing resources: restore exact paths, .meta GUIDs and importer settings.

Edits do not appear: stop Play, Save in the level editor, reload the canonical bank and check current saved level. Text reverts: update construction and refresh assignments from the exact table. No live ads: provider binaries are deliberately excluded; inspect your installed provider and fallback mode. Scene reload exception: retain owner-lifetime and generation guards on delayed callbacks. WebGL fails: inspect browser Console, compression headers and missing payloads.

CHAPTER 17

Support and final release checklist

Publisher: Szekipapa77. Support: szekipapa77@gmail.com. Include game title, exact Unity version, platform, first Console error and reproduction steps. Never send passwords/tokens.

  1. Clean-import the standalone project and native package.
  2. Play both scenes and replace a scene near startup.
  3. Review tutorial, normal completion/retry and every helper activation plus effect.
  4. Validate editor changes and test reskin text/colours in both layouts.
  5. Rebuild affected Android/WebGL outputs.
  6. Verify complete public APK bytes, actual browser demo, documentation and video links.
  7. Keep licences and exclude all internal prompts, planning/capture/build/QA tooling from buyers.