Make branching phone-chat stories: a complete smartphone UI with Messages, Feed and Gallery, driven by a simple story script.Pocketline is a template for story games told through a smartphone. Write your story in a simple text script, press Play, and it unfolds as texts, group chats, photos, social posts and unlocks on a fully working phone: lock screen, home screen and apps, with choices, variables, conditions and save/load.THE PHONE- First-launch setup wizard (player name, theme, wallpaper), lock screen with slide to unlock and notification cards, home screen with dock and badges, notification banners, story clock, photo viewer- Messages: 1:1 and group chats, unknown contacts ("?????") revealed later, typing indicator with realistic delays, 2–4 choices (including silent and conditional ones), photos, stickers, emoji, fast-forward and pause, full history- Feed: posts, likes and comments that appear as the story progresses, profile strip and profile pages- Gallery: unlockable images, locked placeholders, progress counter, full-screen viewer with swipe- Notes, Achievements and Settings (themes, wallpapers, text speed, sound, vibration, 4 save slots)- Add your own apps: derive from one class, make a prefab, add it to the config (a Weather app is included as an example)- Frame modes: framed device on a backdrop, frameless full-height phone screen (9:19.5 or 9:16), or edge-to-edge for mobileTHE STORY SYSTEM- Plain-text .plstory scripts: "@lena: Hi!" for messages, "* Who is this? -> who" for choices, "~ unlock gallery:park" for commands- Variables, conditions ({friendship >= 3}), interpolation, visited/revealed/unlocked/liked checks, 19 built-in commands plus your own- Story Editor window: branch graph, problem list with line numbers and "did you mean" hints, scene list, play from any scene with preset variables- Live validation on save: broken links, unknown characters, images and commands, unset variables, unreachable scenes, missing emoji- Save/load of the whole phone (autosave + 3 slots), and "wait for the reader" so no message is missed- Optional Ink support: run an inkle ink story on the phone insteadART & LOOK- 4 themes (Light, Dark, Blush, Tide); recolour the whole phone by swapping one asset- UI sprites with 9-slice borders, 52 icons, 8 app icons, 73 3D emoji as a TextMeshPro sprite asset with a one-click rebuild, 12 stickers, 6 wallpapers, 7 sound effects- Demo story "New Number" with 4 characters (5 avatars), 17 photos and two endings- uGUI + TextMeshPro, all scripts in the Pocketline namespace, separate runtime, editor and demo assemblies- The story core is plain C# without UnityEngine (unit-tested)- Works with the Input System package or the legacy Input Manager; mouse, touch, keyboard shortcuts and gamepad- Works with Fast Enter Play Mode (domain reload off)- 1 demo scene, 8 prefabs, PDF guide- Unity 2022.3 LTS and later (tested in 2022.3.62f3 and Unity 6.3); Built-in and URPThis package was made with the help of generative AI. The C# scripts, the UI sprites, icons, app icons, stickers and wallpapers (drawn by generated Python code), the sound effects (synthesised by generated code), the documentation and the demo story were generated with Anthropic's Claude, then reviewed, tested in Unity 2022.3 and 6.3 and revised by Succubi/mods. The 3D emoji, the character avatars and the story photos were created by Succubi/mods with the help of AI image generation. All characters are fictional adults. Marketing images are captured from the demo scene in the Unity Editor; titles were added afterwards.Asset uses Plus Jakarta Sans under SIL Open Font License 1.1; see Third-Party Notices.txt file in package for details.




