Devlog06: UI cleanup


πŸ”₯ Critical Path: GameManager β†’ Main Menu β†’ Game UI β†’ Script Cleanup β†’ Testing

  • Each phase depends on the previous one being stable
  • September 8 is the MVP delivery target

⏱️ Time Breakdown:

  • Days 1-2: Foundation (GameManager, ProgressTracker)
    • I saved scene 211 as MVP2 and added these scripts
    • Working with Claude using console logs. 
      Claude has added in extra features and tends to add complexity I do not want.
      Even when I say β€œkeep it simple” and β€œask me questions”.
      It does force me to be clear in my thinking or I get garbage with my prompts.
    • UI needs fixing but console logs are encouraging. We have basic functionality. 
    • Build and upload demo for itch.io
      • UI needs fixing
        • Text boxes not set up well
        • buttons not pressable - pressing esc needed when using the editor - this doesn't work in the build.
        • fix how to end the game - currently need to tab out and lose window from task bar.  
  • Days 3-4: Main Menu (Dashboard, granular selection)
    • Main Menu scene added without major issues.
      • Buttons for Missions and Tutorials highlighted some problems.
        • MinimalModeUI added to enable game play after button clicking
        • Legacy systems caused problems and extensive debug logs to solve problems
        • The fix was simple (but time consuming) - journey tracker component had been disabled but not removed 
          • resulting in multiple instances of journey tracker
            • resulting in it not working correctly. 
      • This resulted in completed some of days 5-8 early
  • Days 5-6: Game Scene UI (Coordination, SharedGameUI)
    • Instructions needed for tutorials. 
  • Days 7-8: Cleanup & Testing (Remove UI from logic, integrate)
    • Test missions: 

🎯 Milestones:

  • M1: Cross-scene GameManager working
  • M2: Complete main menu with progress dashboard
  • M3: Game UI coordination functional
  • MVP: Fully integrated and tested system

Architecture Overview


GameManager (Master Controller) 
β”œβ”€β”€ ProgressTracker (Session data) 
β”œβ”€β”€ GameEventManager (Communication hub) 
└── Scene Management  
Main Menu Scene 
└── MainMenuUI β†’ Shows progress dashboard & launches systems  
Game Scene   
β”œβ”€β”€ GameUIController (Coordinates UI systems) 
β”‚   β”œβ”€β”€ SharedGameUI (Common elements) 
β”‚   β”œβ”€β”€ TutorialUIManager (Tutorial-specific) 
β”‚   └── MissionUIManager (Mission-specific) 
β”œβ”€β”€ UIAnimationController (Smooth transitions) 
β”œβ”€β”€ UINotificationManager (Queued messages) 
└── Game Logic (Cleaned - no UI dependencies) 
    β”œβ”€β”€ JourneyTracker (Pure logic + events)
    └── LearningMissionsManager (Pure logic + events)










Event Flow Examples

Tutorial Completion Flow

JourneyTracker β†’ OnMissionStatusChanged(true)     
     ↓ 
GameEventManager β†’ BroadcastTutorialCompleted(type)
     ↓ 
GameManager β†’ CompleteTutorial(type)
     ↓ 
ProgressTracker β†’ SetTutorialComplete(type, true)
     ↓ 
UIAnimationController β†’ ShowCompletion()
     ↓ 
SharedGameUI β†’ ShowCompletionMessage()










Scene Transition Flow


<strong class="inline-flex items-center justify-center relative shrink-0 can-focus select-none disabled:pointer-events-none disabled:opacity-50 disabled:shadow-none disabled:drop-shadow-none text-text-300 border-transparent transition font-ui tracking-tight duration-300 ease-[cubic-bezier(0.165,0.85,0.45,1)] hover:bg-bg-300 aria-checked:bg-bg-400 aria-expanded:bg-bg-400 hover:text-text-100 aria-pressed:text-text-100 aria-checked:text-text-100 aria-expanded:text-text-100 h-8 w-8 rounded-md active:scale-95 backdrop-blur-md" type="button" aria-label="Copy to clipboard" data-state="closed">MainMenuUI β†’ StartTutorial(JourneyType.Walk)
     ↓ 
GameManager β†’ CurrentMode = Tutorial, CurrentTarget = Walk
     ↓ 
SceneManager β†’ LoadScene("GameScene")
     ↓ 
GameUIController β†’ SetupForCurrentMode()
     ↓ 
TutorialUIManager β†’ Initialize(Walk)
     ↓ 
TutorialFactory β†’ CreateTutorial(Walk, gameObject)</strong>




Get 7Bridges

Leave a comment

Log in with itch.io to leave a comment.