gdrust_utils 0.1.0

Utility tools for Rust Godot development
Documentation
  • Coverage
  • 6.52%
    3 out of 46 items documented0 out of 20 items with examples
  • Size
  • Source code size: 29.6 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 602.4 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • robotnik-dev/gdrust_kit
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • robotnik-dev

gdrust_utils

Crates.io MIT/Apache 2.0 Docs

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):

--- 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

Usage

Fuzzy system

Run example with:

cargo run --example fuzzy

Or from gdrust_kit crate with:

cargo run --example fuzzy -p gdrust_utils

Installation

# Via gdrust_kit

gdrust_kit = { version = "0.1.0", features = ["utils"] }



# Or standalone

gdrust_utils = "0.1.0"

Documentation | GitHub