← Back to Projects
// CASE STUDY
Rail Sweeper
AI For Game Programming — UCF Fall 2024
UnityC#BlenderUnity Version Control
01Situation
Course project for AI For Game Programming at UCF requiring integration of game AI systems with an original game concept, complete with a full gameplay loop.
02Task
Design and build a polished 3D rhythm game featuring MIDI-driven note spawning, AI-based difficulty scaling, and player progression tracking.
03Actions
- ▸Implemented MIDI-driven note spawning using the Melanchall DryWetMIDI library — reading note positions from a custom MIDI file, with BPM-based beat tracking for frame-perfect accuracy without manual note placement.
- ▸Built an object pool for note GameObjects to minimize active scene object count and maintain consistent performance.
- ▸Integrated game AI that tracks player combo score — higher combos increase note travel distance and speed for dynamic difficulty.
- ▸Generated note patterns from a graph structure of predefined patterns (spirals, diagonals, zigzags) for varied, playable challenge.
- ▸Designed and scripted all UI including level select with per-difficulty completion stars and end-of-song stat display.
- ▸Modeled and integrated all visual assets and audio elements.
04Results
- ★Complete gameplay loop with scoring, dynamic difficulty, and persistent player statistics.
- ★Beat synchronization accurate to 1/16 note resolution.
- ★Available for download on itch.io.