Repository navigation
feat: Complete core scene flow (closes #2) - #53
Conversation
- Add End Run button to Game.tscn HUD for placeholder run ending - Refactor Game.gd to use RunState/GameState singletons instead of local vars - Emit EventBus.run_ended and record run stats via GameState.record_run - Populate RunSummary labels from RunState singleton data - Full flow: MainMenu → Game (Start Run) → RunSummary (End Run) → MainMenu
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 40 minutes and 16 seconds.Comment |
Summary
Completes Issue #2 — Add Core Scene Flow by filling the missing link between the Game scene and RunSummary scene.
Problem
The initial scaffold had all three scenes (MainMenu, Game, RunSummary) but the Game scene had no way to transition to RunSummary. Players would be stuck in the Game scene indefinitely with no game-over trigger or exit button. Additionally, the Game scene used local variables instead of the
RunStatesingleton, and RunSummary displayed static placeholder text instead of actual run data.Changes
scenes/Game.tscnscripts/ui/Game.gdRunStatesingleton; added_end_run()that emitsEventBus.run_ended, records stats viaGameState.record_run, and transitions to RunSummaryscripts/ui/RunSummary.gd_populate_stats()to read run data fromRunStateand populate all labels dynamicallyscripts/ui/MainMenu.gdAcceptance Criteria Verification
Scene Flow
Closes #2