Project info

Game name: Extreme zorbing

Role: AI Programmer

Team size: 15

Time frame: 4 weeks

Engine: Unity

Itch URL: Extreme Zorbing

Introduction

The second project I worked on at Futuregames had a four-week deadline before "Jury Day." Our team comprised 5 artists, 4 designers, 4 programmers, 1 UX designer, and 1 QA specialist. I was tasked with developing the AI for the game. This included creating AI opponents for racing down the track and designing the behavior of characters on the slope that players could interact with to gain speed boosts or experience slowdowns...

AI Opponents

For both AI opponents and AI-controlled characters, I utilized Unity's NavMesh Agent system to handle navigation and movement. The AI opponents are programmed to pursue the goal of reaching the end of the level. To add an additional layer of interaction, I implemented a bounce effect that pushes away any opponent it contacts, creating a dynamic gameplay experience.

Additionally, for the zorb balls and the characters within them, I developed a randomizer system. This feature randomly assigns different balls and characters to the AI, ensuring varied and unpredictable encounters throughout the game.

AI People

The AI people are designed similarly to the opponents, utilizing Unity’s NavMesh system to navigate towards their goals. They spawn at various points across the track, with a randomizer assigning different colors (teams) to each character. This system also includes settings to control the maximum number of AI people that can appear at each spawn point simultaneously.


For movement, I implemented a zig-zag pattern as requested by the designers. This approach not only reduces their speed but also prevents them from forming a straight line, enhancing the visual appeal and realism of their movement. Additionally, the AI people interact with players and other AI characters by providing speed boosts or slowdowns based on team alignment. If a player or AI character rolls over a person from the same team, they receive a speed boost; otherwise, they experience a slowdown.