The Priest AI Spawning Bug


Author: Trayvion Coats

Date: 05/10/2024

Part 1: The Problem

This week, I encountered a frustrating bug in our game project. I had developed an AI system for a priest character that was supposed to spawn other enemy AIs during gameplay. However, despite the priest AI moving around as intended, it failed to spawn any enemy AIs as programmed. This bug posed a significant issue for the game as it hindered the intended gameplay mechanics and disrupted the player experience.

Part 2: Problem Solution

I collaborated with a fellow teammate to rewrite the code responsible for the priest AI's spawning behavior. Through careful debugging and code analysis, we identified several logical errors and inefficiencies in the original code implementation. We then ensured that it properly instantiated and controlled the behavior of the spawned enemy AIs.

By rewriting the code and resolving the underlying issues, we successfully rectified the bug and restored the intended functionality of the priest AI's spawning behavior. This collaborative effort not only resolved the immediate issue but also strengthened our teamwork and problem-solving skills, contributing to the overall progress and success of our game project.

Leave a comment

Log in with itch.io to leave a comment.