Path of Magic: Engineering Under Senior Leadership
The Professional Dev Workflow
Path of Magic (POM) was a deep dive into collaborative game engineering. Unlike solo projects, this was a high-discipline environment where I worked alongside developer Thorn Hall under the guidance of a Senior Engineer.
Over 40 intensive hours, I operated within a modern software development lifecycle (SDLC): managing tasks via Linear, utilizing feature branching, and undergoing rigorous code reviews before commits were merged into the main codebase.
State Management & Bug Resolution
In a complex RPG like POM, state synchronization is the primary challenge. I was responsible for resolving critical bugs in the equipment and quest systems, such as POM-15, where identical spells in different slots caused tag-manager desynchronization.
I also implemented UI/UX quality-of-life improvements, such as the automatic opening of quest windows upon receipt and visual "Equipped" indicators, ensuring the frontend state accurately mirrored the backend inventory data.
AI & Status Effect Systems
A significant portion of my contribution involved expanding the combat AI and status effect engine. I implemented complex FSM (Finite State Machine) behaviors, including:
- Aggro Roam: Dynamic wandering with autonomous player detection.
- Call for Help: A social AI state that triggers nearby entity aggro.
- Fear State: Reactive pathfinding where enemies flee from the player.
To make these states scalable, I refactored the combat logic to use an
EntityFactory pattern, significantly reducing code repetition and
improving maintainability across different mob types.
Systems & Tooling
Beyond gameplay, I worked on core infrastructure, including an Inventory Event Bus API. By enforcing strict typing on the event bus, I reduced "silent" errors during item transfers and fusions, a critical step in a project with real economic and progression stakes.
I also developed the Quest Reward System, integrating it with the crafting engine to require specific player interactions, creating a cohesive loop between exploration and character growth.
Lessons from the Senior Review
The most valuable part of this project was the feedback loop. Working under a Senior Developer taught me to prioritize Code Readability and System Scalability. Every feature, from the "DustBarrier" fusion spell to the navigation beam system, was built to meet production standards, teaching me how to contribute effectively to a shared, evolving codebase.
Engineering Context:
- Luau
- Linear (Project Management)
- Git/GitHub
- FSM AI
- Typed Event Bus
- Code Review