| Scripts/ArrowEscapeGame.Hud.cs:43 / void BuildHud() | _levelTxt = HzUI.Label("Level", _col, "", 66, Accent); |
| Scripts/ArrowEscapeGame.Hud.cs:46 / void BuildHud() | _nameTxt = HzUI.Label("Name", _col, "", 30, InkSoft, TextAnchor.MiddleCenter, false); _nameTxt.fontStyle = FontStyle.Bold; |
| Scripts/ArrowEscapeGame.Hud.cs:59 / void BuildHud() | _leftTxt = HzUI.Label("Left", leftPill.transform, "", 44, Color.white); |
| Scripts/ArrowEscapeGame.Hud.cs:66 / void BuildHud() | _flowTxt = HzUI.Label("Flow", _col, "", 44, Accent, TextAnchor.MiddleRight); |
| Scripts/ArrowEscapeGame.Hud.cs:107 / void BuildHearts() | var btn = HzUI.Button("Booster" + b, _col, null, Color.white, Color.white, () => OnBooster(bb), 40, (int)(size / 2)); |
| Scripts/ArrowEscapeGame.Hud.cs:131 / void BuildHearts() | v.BadgeText = HzUI.Label("N", bd.transform, "", (int)(size * 0.22f), Color.white); v.BadgeText.rectTransform.Stretch(); |
| Scripts/ArrowEscapeGame.Hud.cs:134 / void BuildHearts() | v.Caption = HzUI.Label("Cap", v.Root, "", 32, Ink); |
| Scripts/ArrowEscapeGame.Hud.cs:143 / void RefreshHud() | _levelTxt.text = "Level " + _playLevel.ToString(CultureInfo.InvariantCulture); |
| Scripts/ArrowEscapeGame.Hud.cs:144 / void RefreshHud() | _nameTxt.text = D.name + (D.breather ? " - relax level" : ""); |
| Scripts/ArrowEscapeGame.Hud.cs:173 / void RefreshFlow() | _flowTxt.text = _flow >= 2 ? "Flow x" + _flow.ToString(CultureInfo.InvariantCulture) : ""; |
| Scripts/ArrowEscapeGame.Hud.cs:185 / void RefreshBoosters() | v.BadgeText.text = c > 0 ? c.ToString(CultureInfo.InvariantCulture) : "+"; |
| Scripts/ArrowEscapeGame.Hud.cs:187 / void RefreshBoosters() | v.Caption.text = un ? BoostName[b] : "Lv " + BoostUnlock[b]; |
| Scripts/ArrowEscapeGame.Hud.cs:254 / HzPopup AePopupFull(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, 68, Color.white); t.rectTransform.Stretch(6); |
| Scripts/ArrowEscapeGame.Hud.cs:259 / HzPopup AePopupFull(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, Accent); st.rectTransform.Place(new Vector2(0.5f, 1), new Vector2(cw - 80, 50), new Vector2(0, y - 25)); |
| Scripts/ArrowEscapeGame.Hud.cs:264 / HzPopup AePopupFull(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, 42, PopupInk, TextAnchor.MiddleCenter, false); |
| Scripts/ArrowEscapeGame.Hud.cs:295 / void UnlockPopup(int b, Action done) | AePopup("New: " + BoostName[b] + "!", BoostDesc[b] + "\nYou get " + BoostStart[b] + " free!", HzUI.Hex(BoostColor[b]), AeArt.Get(BoostArt[b]), null, |
| Scripts/ArrowEscapeGame.Hud.cs:303 / void ShowSettingsPopup() | var p = AePopup("Settings", "", Ink, null, null, |
| Scripts/ArrowEscapeGame.Hud.cs:317 / static string SoundLabel() => HzAudio.Muted ? "Sound: OFF" : "Sound: ON"; | static string SoundLabel() => HzAudio.Muted ? "Sound: OFF" : "Sound: ON"; |
| Scripts/ArrowEscapeGame.Hud.cs:318 / static string MusicLabel() => HzAudio.MusicMuted ? "Music: OFF" : "Music: ON"; | static string MusicLabel() => HzAudio.MusicMuted ? "Music: OFF" : "Music: ON"; |
| Scripts/ArrowEscapeGame.Hud.cs:331 / void HelpPage(int i) | AePopup($"How to Play {i + 1}/{HelpPages.Length}", HelpPages[i], Sky, null, null, |
| Scripts/ArrowEscapeGame.Hud.cs:345 / void ShowTip(string text, float seconds = 0) | _tipText = HzUI.Label("T", tip.transform, text, 36, Color.white, TextAnchor.MiddleCenter, false); |
| Scripts/ArrowEscapeGame.Hud.cs:404 / void StartTutorial() | if (_tutStep == 0) ShowTip("Tap the arrow whose path is clear"); |
| Scripts/ArrowEscapeGame.Hud.cs:405 / void StartTutorial() | else ShowTip("Blocked arrows must wait. Find the next clear one!"); |
| Scripts/ArrowEscapeGame.Hud.cs:436 / void RefreshGuide() | ShowTip($"New booster! Tap {n} below. This one is free!"); |
| Scripts/ArrowEscapeGame.Hud.cs:442 / void RefreshGuide() | ShowTip("Now tap any arrow to snip it off the board"); |
| Scripts/ArrowEscapeGame.Hud.cs:470 / void CompleteGuide(int b) | Toast("Nice! " + BoostName[b] + " is yours", Gold, 1.3f, 0.62f); |
| Scripts/ArrowEscapeGame.View.cs:120 / void BuildSides(float W, float H) | var title = HzUI.Label("SideTitle", _layer, "Arrow\nEscape", 108, Accent); |
| Scripts/ArrowEscapeGame.View.cs:124 / void BuildSides(float W, float H) | var sub = HzUI.Label("SideSub", _layer, "Clear every arrow\noff the paper", 40, Ink, TextAnchor.MiddleCenter, false); |
| Scripts/ArrowEscapeGame.View.cs:131 / void BuildSides(float W, float H) | var ht = HzUI.Label("T", card.transform, "HOW TO PLAY", 40, Accent); |
| Scripts/ArrowEscapeGame.View.cs:133 / void BuildSides(float W, float H) | var body = HzUI.Label("B", card.transform, "Tap an arrow with a clear path: it flies away.\n\nBlocked arrows bounce back, turn red and cost a heart.\n\nHold an arrow to peek at its path.", 30, Ink, TextAnchor.UpperCenter, false); |
| Scripts/ArrowEscapeGame.View.cs:191 / void Decorations(RectTransform parent, float W, float H, int count, bool portrait) | v.badgeText = HzUI.Label("N", bg.transform, a.Kind == AeKind.Sleeper ? "" : a.Kind == AeKind.Key ? "" : "", (int)(s * 0.62f), bc); |
| Scripts/ArrowEscapeGame.View.cs:199 / void Decorations(RectTransform parent, float W, float H, int count, bool portrait) | if (!v.badgeText) { v.badgeText = HzUI.Label("N", bg.transform, "", (int)(s * 0.62f), Color.white); v.badgeText.rectTransform.Stretch(); } |
| Scripts/ArrowEscapeGame.View.cs:398 / void ShowPeek(int id) | if (!B.Tappable(a)) Toast(B.Locked(a) ? "Locked: its key arrow must fly first" : "Asleep: wakes after " + B.SleepLeft(a) + " more", B.Locked(a) ? Gold : Lavender, 1.2f, 0.62f); |
| Scripts/ArrowEscapeGame.View.cs:438 / void Sparks(Vector2 at, Color c, int n) | var nt = HzUI.Label("Float", _fxLayer, "", 48, Accent); |
| Scripts/ArrowEscapeGame.cs:24 / declarations | public override string Title => "Arrow Escape"; |
| Scripts/ArrowEscapeGame.cs:31 / declarations | public static readonly string[] BoostName = { "Hint", "Shield", "Scissors", "Lantern" }; |
| Scripts/ArrowEscapeGame.cs:116 / void ShowPreLevel() | var p = AePopup($"Level {Level}", msg, Accent, PreLevelArt(), D.name + (D.breather ? " (relax level)" : ""), ("Play", Mint, (Action)Begin)); |
| Scripts/ArrowEscapeGame.cs:148 / void FirstTimeTips() | if (D.Count(AeKind.Lock) > 0 && !Seen("keys")) { MarkSeen("keys"); ShowTip("Padlocked arrows wait for their gold key arrow to fly", 5f); return; } |
| Scripts/ArrowEscapeGame.cs:149 / void FirstTimeTips() | if (D.Count(AeKind.Sleeper) > 0 && !Seen("sleep")) { MarkSeen("sleep"); ShowTip("Lavender arrows sleep: each fly-off counts their number down to 0", 5f); return; } |
| Scripts/ArrowEscapeGame.cs:150 / void FirstTimeTips() | if (Level >= 4 && !Seen("peek")) { MarkSeen("peek"); ShowTip("Tip: hold any arrow to peek at its flight line", 4.5f); return; } |
| Scripts/ArrowEscapeGame.cs:151 / void FirstTimeTips() | if (D.breather && !Seen("picture")) { MarkSeen("picture"); ShowTip("Picture board! Big but airy: an easy one to relax", 4f); return; } |
| Scripts/ArrowEscapeGame.cs:195 / void Fail() | HzTween.Delay(0.6f, () => { if (gen == _gen) AePopup("Out of Hearts", msg, Wrong, AeArt.Get("heart"), null, buttons.ToArray()); }); |
| Scripts/ArrowEscapeGame.cs:204 / void Rescue() | Toast($"+{RescueHearts} hearts!", HeartC); |
| Scripts/ArrowEscapeGame.cs:284 / void TapArrow(int id) | Toast("Locked! Its gold key arrow must fly first", Gold, 1.4f); |
| Scripts/ArrowEscapeGame.cs:293 / void TapArrow(int id) | Toast($"Sleeping: wakes after {left} more arrow{(left == 1 ? "" : "s")} fl{(left == 1 ? "ies" : "y")}", Lavender, 1.4f); |
| Scripts/ArrowEscapeGame.cs:315 / void Fly(AeArrow a) | Toast(_flow == 5 ? "In the flow!" : _flow == 10 ? "Unstoppable flow!" : "Pure ink magic!", Accent, 1.3f, 0.62f); |
| Scripts/ArrowEscapeGame.cs:320 / void Fly(AeArrow a) | if (_tutStep == 0) { _tutStep = 1; ShowTip("Blocked arrows must wait. Find the next clear one!"); } |
| Scripts/ArrowEscapeGame.cs:332 / void Blocked(AeArrow a, int blocker, int steps) | ShowTip("Blocked! Tap the arrow under the hand: its path is clear"); |
| Scripts/ArrowEscapeGame.cs:338 / void Blocked(AeArrow a, int blocker, int steps) | Toast("Still blocked (no heart lost)", InkSoft, 1.1f, 0.62f); |
| Scripts/ArrowEscapeGame.cs:345 / void Blocked(AeArrow a, int blocker, int steps) | Toast("Shield saved a heart!", Mint, 1.3f, 0.62f); |
| Scripts/ArrowEscapeGame.cs:354 / void Blocked(AeArrow a, int blocker, int steps) | if (!Seen("wrong")) { MarkSeen("wrong"); ShowTip("That one is blocked: it cost a heart. Red arrows re-tap for free", 4.5f); } |
| Scripts/ArrowEscapeGame.cs:355 / void Blocked(AeArrow a, int blocker, int steps) | else if (_hearts == 1) Toast("Last heart: careful!", HeartC, 1.4f, 0.62f); |
| Scripts/ArrowEscapeGame.cs:390 / void OnBooster(int b) | Toast(BoostName[b] + " unlocks at level " + BoostUnlock[b]); HzAudio.Play(Sfx.Cancel, 0.4f); |
| Scripts/ArrowEscapeGame.cs:401 / void OnBooster(int b) | if (_shield) { Toast("Your shield is already up", Mint, 1.2f); return; } |
| Scripts/ArrowEscapeGame.cs:405 / void OnBooster(int b) | Toast("Shield up: your next wrong tap is free", Mint, 1.5f); |
| Scripts/ArrowEscapeGame.cs:413 / void OnBooster(int b) | else ShowTip("Tap any arrow to snip it off the board", 3f); |
| Scripts/ArrowEscapeGame.cs:421 / void OnBooster(int b) | Toast($"{_tmp.Count} arrow{(_tmp.Count == 1 ? "" : "s")} can fly right now", Gold, 1.6f, 0.4f); |
| Scripts/ArrowEscapeGame.cs:447 / void OfferCharge(int b) | AePopup("+1 " + BoostName[b], "Out of " + BoostName[b] + ".\nWatch a short ad for one more?", HzUI.Hex(BoostColor[b]), AeArt.Get(BoostArt[b]), null, |
| Scripts/ArrowEscapeGame.cs:448 / void OfferCharge(int b) | ("Watch ad", Accent, () => HzPlatform.Rewarded(GameId, "booster_" + BoostName[b].ToLowerInvariant(), ok => |
| Scripts/ArrowEscapeGame.cs:619 / string PopupTitle() | return t ? t.GetComponent<Text>().text.Replace(' ', '_') : "popup"; |