Conversation
3185980 to
2342d04
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📄 Step 25-1 規格書(初始遊戲故事、新手教學引導、寵物系統引導)
1. 階段目標
2. 功能需求
2.1 教學流程控制
tutorial_step狀態機管理(存於存檔)。focusTarget(UI 元件 ID)overlay(深色遮罩+高亮 focus 範圍)instruction_key(多語文字)action(觸發條件:點擊/領取/完成條件等)tutorial_step = nextStep→ 觸發下一步。tutorial_completed=true,不再重複。2.2 教學步驟(完整 13 步)
manga01~04,翻頁效果(點擊螢幕跳下一頁)。tap_hippo。open_mainline。mainline_story。claim_first_mainline。upgrade_youtube。back_home。explain_idle_vs_tap。daily_quests。daily_checkin_entry。daily_checkin_detail。back_home_again。tutorial_completed=true。2.3 UI/UX
assets/images/manga/manga01.png~manga04.png2.4 狀態儲存
{ "tutorial": { "step": 0, "completed": false } }step=0:未開始;完成第 N 步 → 記錄step=N。completed=true:完成全部流程,App 重啟後不再顯示。2.5 i18n(示例)
{ "tutorial.tap_hippo": {"zh":"點擊角色可以獲得迷因點數","en":"Tap the Hippo to earn Meme Points"}, "tutorial.open_mainline": {"zh":"點擊主線任務首頁","en":"Open the Mainline Quest"}, "tutorial.mainline_story": {"zh":"隨著主線任務發展,河馬寶寶可以成為迷因王","en":"Follow the Mainline to help Hippo become the Meme King"}, "tutorial.claim_first_mainline": {"zh":"開啟成為迷因王的第一步吧","en":"Claim the first step towards becoming Meme King"}, "tutorial.upgrade_youtube": {"zh":"升級 YouTube 裝備一次","en":"Upgrade the YouTube equipment once"}, "tutorial.back_home": {"zh":"返回首頁","en":"Return to Home"}, "tutorial.explain_idle_vs_tap": {"zh":"被動累積離線獎勵上限為 6 小時","en":"Idle accumulation has a 6-hour offline cap"}, "tutorial.daily_quests": {"zh":"除了主線任務以外還有每日任務可以解","en":"Complete Daily Quests for extra rewards"}, "tutorial.daily_checkin_entry": {"zh":"此外還有每日打卡任務","en":"You also have a Daily Check-in task"}, "tutorial.daily_checkin_detail": {"zh":"連續打卡七日可獲得半日放置收益","en":"Check in 7 days to earn half a day's idle rewards"}, "tutorial.back_home_again": {"zh":"返回首頁","en":"Back to Home"}, "tutorial.epilogue": {"zh":"接下來是河馬寶寶成為傳說的開始","en":"This is the beginning of Hippo's legend"} }3. 驗收標準
tutorial.completed=true,App 重啟不再觸發。4. 實例化需求測試案例
測試案例 1:完整流程
tutorial.completed=true測試案例 2:中途退出
測試案例 3:重置存檔
測試案例 4:語言切換
測試案例 5:Focus 正確性