| 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 / declarations | public override string Title => "Block Blossom"; |
| Scripts/BlockBlossomGame.cs:30 / declarations | public 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"; |