| Scripts/WordStacksGame.Debug.cs:60 / public override string DebugCommand(string cmd) | case "clickbtn": return ClickPopupButton(p.Length > 1 ? int.Parse(p[1]) : 0); |
| Scripts/WordStacksGame.Ui.cs:31 / void BuildHud() | _levelText = HzUI.Label("Level", lp.transform, "LEVEL 1", 52, Color.white); |
| Scripts/WordStacksGame.Ui.cs:34 / void BuildHud() | _levelName = HzUI.Label("Name", lp.transform, "", 28, WsTheme.Sky, TextAnchor.MiddleCenter, false); |
| Scripts/WordStacksGame.Ui.cs:40 / void BuildHud() | _movesCaption = HzUI.Label("Cap", mp.transform, "MOVES", 24, new Color(1, 1, 1, 0.7f)); |
| Scripts/WordStacksGame.Ui.cs:42 / void BuildHud() | _movesText = HzUI.Label("N", mp.transform, "0", 56, Color.white); |
| Scripts/WordStacksGame.Ui.cs:49 / void BuildHud() | _progressText = HzUI.Label("N", pp.transform, "0/0", 44, Color.white, TextAnchor.MiddleLeft); |
| Scripts/WordStacksGame.Ui.cs:67 / void BuildHud() | _tutText = HzUI.Label("T", box.transform, "", 38, Color.white, TextAnchor.MiddleLeft, false); |
| Scripts/WordStacksGame.Ui.cs:80 / void BuildHud() | _coachText = HzUI.Label("T", cb.transform, "", 36, Color.white, TextAnchor.MiddleLeft, false); |
| Scripts/WordStacksGame.Ui.cs:101 / void BuildBoosterBar() | v.Btn = HzUI.Button("Booster" + d.Name, _bar, null, d.Color, Color.white, () => OnBooster(b), 40, 38); |
| Scripts/WordStacksGame.Ui.cs:116 / void BuildBoosterBar() | v.BadgeText = HzUI.Label("N", badge.transform, "0", 34, WsTheme.Ink); v.BadgeText.rectTransform.Stretch(); |
| Scripts/WordStacksGame.Ui.cs:117 / void BuildBoosterBar() | v.Caption = HzUI.Label("Caption", v.Root, d.Name, 30, Color.white); |
| Scripts/WordStacksGame.Ui.cs:125 / void BuildBoosterBar() | v.LockText = HzUI.Label("Lv", lk.transform, "LV " + d.Unlock, 30, WsTheme.Gold); |
| Scripts/WordStacksGame.Ui.cs:203 / void UpdateHud(bool counted) | _levelText.text = _tutorial ? "TUTORIAL" : "LEVEL " + S.Level; |
| Scripts/WordStacksGame.Ui.cs:214 / void UpdateProgress(bool punch) | _progressText.text = S.DoneCount + "/" + S.Cats.Count; |
| Scripts/WordStacksGame.Ui.cs:228 / void RefreshBoosters() | v.BadgeText.text = n > 0 ? n.ToString() : "+"; |
| Scripts/WordStacksGame.Ui.cs:365 / void HideTut() { if (_tutBox) _tutBox.gameObject.SetActive(false); } | var t = HzUI.Label("Title", ribbon.transform, title, 70, Color.white); t.rectTransform.Stretch(6); |
| Scripts/WordStacksGame.Ui.cs:390 / void HideTut() { if (_tutBox) _tutBox.gameObject.SetActive(false); } | d.Body = HzUI.Label("Body", card.transform, body, 40, HzUI.Hex("#4A3F6B"), TextAnchor.MiddleCenter, false); |
| Scripts/WordStacksGame.Ui.cs:487 / void Refresh() | text.text = label + (on ? " ON" : " OFF"); |
| Scripts/WordStacksGame.Ui.cs:493 / void Refresh() | text = HzUI.Label("L", b.transform, label, 34, Color.white); |
| Scripts/WordStacksGame.Ui.cs:513 / void BuildLobby() | var l = HzUI.Label("L", c.transform, tiles[i], 110, WsTheme.Ink); l.rectTransform.Stretch(); |
| Scripts/WordStacksGame.Ui.cs:515 / void BuildLobby() | var t = HzUI.Label("Title", _lobby, "DEAL SOLITAIRE", 92, Color.white); |
| Scripts/WordStacksGame.Ui.cs:518 / void BuildLobby() | var sub = HzUI.Label("Sub", _lobby, "Sort the words under the stars", 40, WsTheme.Sky, TextAnchor.MiddleCenter, false); |
| Scripts/WordStacksGame.Ui.cs:521 / void BuildLobby() | var play = HzUI.Button("Play", _lobby, "PLAY", WsTheme.Mint, Color.white, () => { HideLobby(); StartLevel(Level, false); }, 64, 40); |
| Scripts/WordStacksGame.Ui.cs:535 / void ShowLobby() | if (lbl) lbl.text = Level <= 1 ? "PLAY TUTORIAL" : "PLAY LEVEL " + Level; |
| Scripts/WordStacksGame.cs:21 / declarations | public override string Title => "Word Deal Solitaire"; |
| Scripts/WordStacksGame.cs:51 / protected override void Build() | var lib = WsContent.Parse(ta ? ta.text : ""); |
| Scripts/WordStacksGame.cs:54 / protected override void Build() | try { file = lv ? JsonUtility.FromJson<WsLevelFile>(lv.text) : null; } catch (System.Exception e) { Debug.LogError("[WordStacks] levels.json: " + e.Message); } |
| Scripts/WordStacksGame.cs:197 / void BuildHolders() | _deckRestore = HzUI.Label("Restore", _deckBase.transform, "RESTORE", 24, new Color(1, 1, 1, 0.75f)); |
| Scripts/WordStacksGame.cs:208 / void BuildHolders() | _deckCount = HzUI.Label("N", _deckBadge.transform, "0", 30, Color.white); _deckCount.rectTransform.Stretch(); |
| Scripts/WordStacksGame.cs:327 / void FrozenNudge(int id) | Toast("Frozen! Complete a stack to thaw it.", WsTheme.Ice, 1.8f); |
| Scripts/WordStacksGame.cs:488 / void AnimateComplete(WsResult r) | var lbl = HzUI.Label("Done", _fx, name.ToUpperInvariant() + "!", 64, WsTheme.Gold); |
| Scripts/WordStacksGame.cs:595 / void OutOfMoves() | Toast($"+{bonus} moves!", WsTheme.Mint); |
| Scripts/WordStacksGame.cs:639 / void OnBooster(WsBooster b) | Toast($"{d.Name} unlocks at level {d.Unlock}", Color.white, 1.4f); |
| Scripts/WordStacksGame.cs:652 / void OnBooster(WsBooster b) | Toast("+1 " + d.Name, d.Color); |
| Scripts/WordStacksGame.cs:677 / void UseHint() | if (m == null) { HzAudio.Play(WsSfx.Invalid, 0.4f); Toast("No moves to suggest"); return; } |
| Scripts/WordStacksGame.cs:689 / void UseUndo() | Toast("Undo works right after a deck draw or a move to an empty column", Color.white, 2f); |
| Scripts/WordStacksGame.cs:704 / void UseWild() | if (S.JokerPlaced) { HzAudio.Play(WsSfx.Invalid, 0.4f); Toast("Only one Wild card per level"); ShakeBooster(WsBooster.Wild); return; } |
| Scripts/WordStacksGame.cs:714 / void UseMoves(bool fromPopup) | if (S.Limit <= 0) { HzAudio.Play(WsSfx.Invalid, 0.4f); Toast("This level has no move limit"); return; } |
| Scripts/WordStacksGame.cs:718 / void UseMoves(bool fromPopup) | Toast($"+{WsBoosters.MovesBonus} moves!", WsTheme.Mint); |
| Scripts/WsCardView.cs:46 / declarations | var name = HzUI.Label("Name", face.transform, card.Text.ToUpperInvariant(), 34, ink); |
| Scripts/WsCardView.cs:53 / declarations | var sub = HzUI.Label("Sub", face.transform, "CATEGORY", 20, new Color(0.13f, 0.15f, 0.29f, 0.55f), TextAnchor.MiddleCenter, false); |
| Scripts/WsCardView.cs:60 / declarations | v.Counter = HzUI.Label("N", badge.transform, "0/" + catSize, 26, WsTheme.Gold); v.Counter.rectTransform.Stretch(); |
| Scripts/WsCardView.cs:64 / declarations | var name = HzUI.Label("Name", face.transform, "WILD", 44, ink); |
| Scripts/WsCardView.cs:72 / declarations | var w = HzUI.Label("Word", face.transform, card.Text, 42, ink); |
| Scripts/WsCardView.cs:78 / declarations | var big = HzUI.Label("Big", face.transform, card.Text, 40, new Color(0.13f, 0.15f, 0.29f, 0.85f), TextAnchor.MiddleCenter, false); |
| Scripts/WsCardView.cs:84 / declarations | v.SideLabel = HzUI.Label("Side", face.transform, card.Text, 26, ink); |
| Scripts/WsCardView.cs:103 / declarations | v.IceText = HzUI.Label("N", badge.transform, "1", 34, Color.white); v.IceText.rectTransform.Stretch(); |
| Scripts/WsCardView.cs:174 / public void SetCounter(int n, int size) { if (Counter) Counter.text = n + "/" + size; } | public void SetCounter(int n, int size) { if (Counter) Counter.text = n + "/" + size; } |