| Crates.io | gdrust_utils |
| lib.rs | gdrust_utils |
| version | 0.1.0 |
| created_at | 2025-06-13 08:19:47.819777+00 |
| updated_at | 2025-06-13 08:19:47.819777+00 |
| description | Utility tools for Rust Godot development |
| homepage | |
| repository | https://github.com/robotnik-dev/gdrust_kit |
| max_upload_size | |
| id | 1711205 |
| size | 29,643 |
Utility tools for Rust Godot development.
calcualte from a fuzzy input type (Game difficulty -> f32 from 0.0 to 10.0) to an exact output type (Game parameters):
--- Difficulty Level: 6.0 ---
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
Run example with:
cargo run --example fuzzy
Or from gdrust_kit crate with:
cargo run --example fuzzy -p gdrust_utils
# Via gdrust_kit
gdrust_kit = { version = "0.1.0", features = ["utils"] }
# Or standalone
gdrust_utils = "0.1.0"