| Scripts/TileClearGame.Hud.cs:42 / void BuildHud() | _leftTxt = HzUI.Label("Left", pill.transform, "", 50, White); |
| Scripts/TileClearGame.Hud.cs:45 / void BuildHud() | _levelTxt = HzUI.Label("Level", _col, "", 74, White); |
| Scripts/TileClearGame.Hud.cs:48 / void BuildHud() | _nameTxt = HzUI.Label("Name", _col, "", 32, WhiteSoft, TextAnchor.MiddleCenter, false); _nameTxt.fontStyle = FontStyle.Bold; |
| Scripts/TileClearGame.Hud.cs:57 / void BuildHud() | _comboTxt = HzUI.Label("Combo", _col, "", 40, Gold); |
| Scripts/TileClearGame.Hud.cs:74 / void BuildHud() | var btn = HzUI.Button("Booster" + b, _col, null, Navy, Color.white, () => OnBooster(bb), 40, (int)(size * 0.5f)); |
| Scripts/TileClearGame.Hud.cs:98 / void BuildHud() | v.BadgeText = HzUI.Label("N", bd.transform, "", (int)(size * 0.24f), White); v.BadgeText.rectTransform.Stretch(); |
| Scripts/TileClearGame.Hud.cs:101 / void BuildHud() | v.Caption = HzUI.Label("Cap", v.Root, "", 32, White); |
| Scripts/TileClearGame.Hud.cs:112 / void RefreshHud() | _levelTxt.text = "LEVEL " + Num(_playLevel); |
| Scripts/TileClearGame.Hud.cs:113 / void RefreshHud() | _nameTxt.text = D.name + (D.breather ? " - relax level" : ""); |
| Scripts/TileClearGame.Hud.cs:127 / void RefreshBoosters() | v.BadgeText.text = _guide == b ? "1" : c > 0 ? Num(c) : "+"; |
| Scripts/TileClearGame.Hud.cs:129 / void RefreshBoosters() | v.Caption.text = un ? BoostName[b] : "LV " + Num(BoostUnlock[b]); |
| Scripts/TileClearGame.Hud.cs:139 / void ComboPop(int n) | _comboTxt.text = n >= 5 ? "SERENE FLOW x" + Num(n) : "FLOW x" + Num(n); |
| Scripts/TileClearGame.Hud.cs:199 / HzPopup TcPopupFull(string title, string message, Color accent, Sprite art, string subtitle, int stars, (string label, Color color, Action action)[] buttons) | var t = HzUI.Label("Title", card.transform, title, 76, Ink); |
| Scripts/TileClearGame.Hud.cs:204 / HzPopup TcPopupFull(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, 38, InkSoft); st.rectTransform.Place(new Vector2(0.5f, 1), new Vector2(cw - 80, 50), new Vector2(0, y - 25)); |
| Scripts/TileClearGame.Hud.cs:209 / HzPopup TcPopupFull(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, 40, Ink, TextAnchor.MiddleCenter, false); |
| Scripts/TileClearGame.Hud.cs:242 / void UnlockPopup(int b, Action done) | TcPopup("NEW: " + BoostName[b].ToUpperInvariant() + "!", BoostDesc[b] + "\nYou get " + BoostStart[b] + " free!", HzUI.Hex(BoostColor[b]), TcArt.Get(BoostArt[b]), null, |
| Scripts/TileClearGame.Hud.cs:250 / void ShowSettingsPopup() | var p = TcPopup("SETTINGS", "", Green, null, null, |
| Scripts/TileClearGame.Hud.cs:264 / static string SoundLabel() => HzAudio.Muted ? "SOUND: OFF" : "SOUND: ON"; | static string SoundLabel() => HzAudio.Muted ? "SOUND: OFF" : "SOUND: ON"; |
| Scripts/TileClearGame.Hud.cs:265 / static string MusicLabel() => HzAudio.MusicMuted ? "MUSIC: OFF" : "MUSIC: ON"; | static string MusicLabel() => HzAudio.MusicMuted ? "MUSIC: OFF" : "MUSIC: ON"; |
| Scripts/TileClearGame.Hud.cs:278 / void HelpPage(int i) | TcPopup("HOW TO PLAY " + (i + 1) + "/" + HelpPages.Length, HelpPages[i], HzUI.Hex("#5B7BEA"), i == 0 ? TcArt.Icon(0) : null, null, |
| Scripts/TileClearGame.Hud.cs:293 / void ShowTip(string text, float seconds = 0) | _tipText = HzUI.Label("T", tip.transform, text, 44, Ink, TextAnchor.MiddleCenter, false); |
| Scripts/TileClearGame.Hud.cs:368 / void RefreshTutorial() | ShowTip(have == 0 ? "Tap the " + word + " tile to move it into the tray below" : |
| Scripts/TileClearGame.Hud.cs:370 / void RefreshTutorial() | else ShowTip(have == 2 ? "One more " + word + "!" : "Great! Clear every tile. Tap the " + word); |
| Scripts/TileClearGame.Hud.cs:406 / void RefreshGuide() | ShowTip("New booster! Tap " + BoostName[_guide] + " below. This one is free!"); |
| Scripts/TileClearGame.View.cs:132 / void BuildSides(float W, float H) | var title = HzUI.Label("SideTitle", _layer, "TILE CLEAR\nZEN", 100, White); |
| Scripts/TileClearGame.View.cs:137 / void BuildSides(float W, float H) | var sub = HzUI.Label("SideSub", _layer, "Match three.\nClear the garden.", 40, WhiteSoft, TextAnchor.MiddleCenter, false); |
| Scripts/TileClearGame.View.cs:144 / void BuildSides(float W, float H) | var pt = HzUI.Label("T", prog.transform, "GARDEN STARS", 32, WhiteSoft); |
| Scripts/TileClearGame.View.cs:148 / void BuildSides(float W, float H) | _sideStars = HzUI.Label("V", prog.transform, "", 46, White); |
| Scripts/TileClearGame.View.cs:155 / void BuildSides(float W, float H) | var ht = HzUI.Label("T", help.transform, "HOW TO PLAY", 42, Gold); |
| Scripts/TileClearGame.View.cs:157 / void BuildSides(float W, float H) | var body = HzUI.Label("B", help.transform, "Tap a bright tile to send it to the tray.\n\nThree of the same clear.\n\nClear every tile before the tray fills up.", 31, White, TextAnchor.UpperCenter, false); |
| Scripts/TileClearGame.View.cs:172 / void RefreshSideStars() | _sideStars.text = Num(stars) + " / " + Num(n * 3); |
| Scripts/TileClearGame.View.cs:276 / static void ScaleTo(RectTransform rt, float s, float d, float delay = 0) | v.glyph = HzUI.Label("Glyph", v.face.transform, "", (int)(isz * 0.55f), White); |
| Scripts/TileClearGame.View.cs:284 / static void ScaleTo(RectTransform rt, float s, float d, float delay = 0) | else { var q = HzUI.Label("Q", v.mist.transform, "?", (int)(s * 0.45f), new Color(0.45f, 0.5f, 0.78f, 0.9f)); q.rectTransform.Stretch(); } |
| Scripts/TileClearGame.View.cs:290 / static void ScaleTo(RectTransform rt, float s, float d, float delay = 0) | v.frostTxt = HzUI.Label("N", v.frost.transform, "", (int)(s * 0.42f), FrostInk); v.frostTxt.rectTransform.Stretch(); |
| Scripts/TileClearGame.cs:24 / declarations | public override string Title => "Tile Clear Zen"; |
| Scripts/TileClearGame.cs:31 / declarations | public static readonly string[] BoostName = { "Undo", "Shuffle", "Bloom", "Lily Pad" }; |
| Scripts/TileClearGame.cs:132 / void ShowPreLevel() | var p = TcPopup("LEVEL " + Num(Level), msg, Green, Level == 1 ? art : null, D.name + (D.breather ? " (relax level)" : ""), ("PLAY", Green, (Action)Begin)); |
| Scripts/TileClearGame.cs:225 / void Fail() | HzTween.Delay(0.6f, () => { if (gen == _gen) TcPopup("TRAY FULL", msg + (_rescued ? "" : "\nRescue puts 3 tiles back on the board."), Coral, null, null, buttons.ToArray()); }); |
| Scripts/TileClearGame.cs:246 / void Rescue() | ShowTip("Three tiles went back to the board. Breathe and try again!", 3f); |
| Scripts/TileClearGame.cs:273 / void Blocked(int i, int block) | if (_tutorial) { ShowTip("That tile is covered. Tap the tile under the hand!", 2.5f); return; } |
| Scripts/TileClearGame.cs:277 / void Blocked(int i, int block) | ShowTip(Seen("covered") ? "Covered: clear the tiles on top first" : "Dark tiles are covered. Clear the bright tiles on top of them first.", Seen("covered") ? 1.6f : 3.5f); |
| Scripts/TileClearGame.cs:283 / void Blocked(int i, int block) | ShowTip("Frozen: clear " + Num(left) + " more triple" + (left == 1 ? "" : "s") + " to melt it", 2.4f); |
| Scripts/TileClearGame.cs:290 / void Blocked(int i, int block) | ShowTip("Tied with a ribbon: free its partner first", 2.4f); |
| Scripts/TileClearGame.cs:315 / void AfterPick(TcPickResult r, bool bloom) | if (!Seen("lastslot")) { MarkSeen("lastslot"); ShowTip("Careful: one slot left! Pick a tile that makes a triple.", 3.5f); } |
| Scripts/TileClearGame.cs:328 / void OnClear(int count) | if (_tutorial && !B.Won) ShowTip("Lovely! Three of a kind clear. Now clear every tile.", 3f); |
| Scripts/TileClearGame.cs:338 / void OnBooster(int b) | ShowTip(BoostName[b] + " unlocks at level " + BoostUnlock[b], 2f); HzAudio.Play(Sfx.Cancel, 0.4f); |
| Scripts/TileClearGame.cs:348 / void OnBooster(int b) | if (!UndoLast()) { HzAudio.Play(Sfx.Cancel, 0.4f); ShowTip("Nothing to undo: the tray has no tile you can take back", 2f); return; } |
| Scripts/TileClearGame.cs:352 / void OnBooster(int b) | if (B.BoardCount < 2) { HzAudio.Play(Sfx.Cancel, 0.4f); ShowTip("Too few tiles to shuffle", 1.6f); return; } |
| Scripts/TileClearGame.cs:358 / void OnBooster(int b) | ShowTip("Shuffle: the pictures on the board got mixed", 2f); |
| Scripts/TileClearGame.cs:363 / void OnBooster(int b) | if (ty < 0) { HzAudio.Play(Sfx.Cancel, 0.4f); ShowTip("Nothing to bloom", 1.6f); return; } |
| Scripts/TileClearGame.cs:367 / void OnBooster(int b) | ShowTip("Bloom: a whole triple of " + IconWords[ty % IconWords.Length] + " cleared", 2.2f); |
| Scripts/TileClearGame.cs:372 / void OnBooster(int b) | if (B.Capacity >= 8) { HzAudio.Play(Sfx.Cancel, 0.4f); ShowTip("The lily pad slot is already open for this level", 2f); return; } |
| Scripts/TileClearGame.cs:380 / void OnBooster(int b) | ShowTip("Lily Pad: an 8th tray slot for this level", 2.2f); |
| Scripts/TileClearGame.cs:415 / void OfferCharge(int b) | TcPopup("+1 " + BoostName[b].ToUpperInvariant(), "Out of " + BoostName[b] + ".\nWatch a short ad for one more?", HzUI.Hex(BoostColor[b]), TcArt.Get(BoostArt[b]), null, |
| Scripts/TileClearGame.cs:558 / string PopupTitle() | return t ? t.GetComponent<Text>().text.Replace(' ', '_') : "popup"; |