gdrust_utils
Utility tools for Rust Godot development.
Features
Simple fuzzy system
calcualte from a fuzzy input type (Game difficulty -> f32 from 0.0 to 10.0) to an exact output type (Game parameters):
Normal membership: 0.50
Hard membership: 0.50
Resulting settings:
EnemyHealth: 1.200
EnemyDamage: 1.150
EnemySpeed: 1.100
CheckpointFrequency: 0.450
ResourceScarcity: 0.650
Usage
Fuzzy system
Run example with:
Or from gdrust_kit crate with:
Installation
# Via gdrust_kit
= { = "0.1.0", = ["utils"] }
# Or standalone
= "0.1.0"