RapidGameFramework
Reusable Godot managers for data-driven small games
Loading...
Searching...
No Matches
ai_controller.gd File Reference

Reusable data-first AI decision helpers for arcade, grid, platformer, board, and card games. More...

Go to the source code of this file.

Namespaces

namespace  ai_controller
 

Variables

 ai_controller.DataCacheManager
 
 ai_controller.Dictionary
 Return cache diagnostics for file-based convenience loads.
 
 ai_controller.data_cache_manager
 
 ai_controller.data
 Load AI profiles from JSON containing profiles: [].
 
 ai_controller.String
 Configure AI profiles directly from dictionaries.
 
 ai_controller.Vector2
 
 ai_controller.float
 
 ai_controller.best_distance = distance
 
 ai_controller.best = target
 
 ai_controller.bool
 
 ai_controller.Array
 
 ai_controller.candidates = balls.duplicate(true)
 
 ai_controller.int
 
int ai_controller.direction = -1
 
 ai_controller.low_error = float(profile.get("easy_tracking_error_low", -44.0))
 
 ai_controller.high_error = float(profile.get("easy_tracking_error_high", 10.0))
 
 ai_controller.target_y = ball_position.y + velocity.y * lead_time + tracking_error
 
 ai_controller.update_delay = lerpf(float(profile.get("approach_update_delay_slow", 0.24)), float(profile.get("approach_update_delay_fast", 0.11)), difficulty)
 
 ai_controller.Vector2i
 
 ai_controller.patrol
 
 ai_controller.bounds
 
float ai_controller.approaching_penalty = 9999.0
 
 ai_controller.best_score = score
 

Detailed Description

Reusable data-first AI decision helpers for arcade, grid, platformer, board, and card games.

Definition in file ai_controller.gd.