top of page

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.

Screenshot 2026-09-25 at 2.12.40 AM.png
Screenshot 2026-09-25 at 2.33.22 AM.png
Screenshot 2026-09-25 at 2.30.38 AM.png
Screenshot 2026-09-25 at 2.39.01 AM.png

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.

Screenshot 2026-09-25 at 2.31.17 AM.png
Screenshot 2026-09-25 at 2.39.45 AM.png

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.

Screenshot 2026-09-25 at 2.40.00 AM.png
Screenshot 2026-09-25 at 2.34.33 AM.png

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.

bottom of page