
Problem:
Building a clean and organized multi-scene interactive simulation with animated sprites, clickable objects, dialogue choices, and audio control that's easy to navigate.
Solution:
Built several organized systems:
1. SceneManager
2. Procedural Employee Generator
3. Branching Dialogue System
4. Interactive Audio System
SceneManager : Separates the experience into individual scenes such as the office, laptop, phone, employee files, city view, and music player. Each scene has its own setup(), enter(), draw(), and input logic, while showScene() handles navigation between them.




Procedural Employee Generator : mc_play() randomly combines first names, last names, ages, coolness ratings, and work-ethic ratings whenever the scene starts, allowing the same system to continuously generate different employee profiles.


Branching Dialogue System : mc_phone() randomly selects a caller, tracks the user's selected response, and uses that state to display different dialogue outcomes. Variables such as activeName, selectedOption, and showButtons control which conversation and response are active.


Interactive Audio System : The JBL scene allows the user to choose between multiple music tracks while automatically pausing the others, using currentSong to track and display the active selection.