top of page

Abstract

Fastival is a circus-themed local multiple-player party racing game.
  • Game Genre:  Local Multiple-Player Party Racing
  • Role:               NPC System Designer, AI System Programmer and Tools Programmer
  • ​Team Size:      47 People
  • Language:      Blueprint
  • Engine:           Unreal Engine 5
Anchor 1

Free to play on Steam!

This game has already been finished developing, and it is free to download and play locally with your friends!

Please check out the link below.

StatusMachine.png

AI State
Machine

In order to simplify AI logic and make it manageable for all the states and their tasks, We use a hierarchical state machine to update the AI driver every frame, and after updating the state, we use an Unreal behavior tree to carry out the tasks AI should do for its current state. This decision makes it super easy and straightforward to debug states and tasks for our AI system.

AI Behavior
Tree

Unreal's Behavior Tree editor allows AI tasks and their corresponding execution order under different states to be organized from a more holistic perspective compared to Blueprints.

 

Encapsulated tasks can also be duplicated and distributed to the sequences of other states as needed when the logic changes, reducing repetitive work and allowing quick identification of insertion points and execution order.

BehaviorTree.png
TGP2

turning
perception

Turn Perception is a system I set up in AI to analyze information about splines placed by Level Designers.

 

By scanning and collecting tangent data from the splines, the system determines entry, mid-turn, and exit points of a curve. Based on the vehicle's orientation and the curve's information, AI drivers will decelerate and move to the outer line when approaching a turn, gradually move to the inner line during the turn, and accelerate when exiting the turn.

 

This analysis logic helps the AI reduce the time spent turning and enhances its competitiveness against players.

turnPerception.png
T_Track3_LoadingArt
HighresScreenshot00003
HighresScreenshot00004
T_Track2_LoadingArt
car 1 three views
car 2 back view
bottom of page