Begin 0.7.0-dev, small upgrade to behavior params

I'm not happy with the flocking behavior so I fiddled with the program
to find these new behavior parameters. It's annoying to constantly
rebuild the program, though, and I'd like for the end-user to be able to
fiddle with it at runtime. To that end, v0.7.0 shall be the UI update.
This commit is contained in:
2025-12-21 15:31:08 -06:00
parent 5ef91ec88c
commit 0828518963
3 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View File

@@ -142,7 +142,7 @@ dependencies = [
[[package]]
name = "another-boids-in-rust"
version = "0.6.0"
version = "0.7.0-dev1"
dependencies = [
"bevy",
"bevy_spatial",

View File

@@ -1,6 +1,6 @@
[package]
name = "another-boids-in-rust"
version = "0.6.0"
version = "0.7.0-dev1"
edition = "2024"
license = "AGPL-3.0-only"

View File

@@ -12,8 +12,8 @@ const PLAYERBOID_COLOR: Color = Color::srgb(1.0, 0.0, 0.0);
const TURN_FACTOR: f32 = 1.0;
const BOID_VIEW_RANGE: f32 = 15.0;
const COHESION_FACTOR: f32 = 1.0;
const SEPARATION_FACTOR: f32 = 10.0;
const ALIGNMENT_FACTOR: f32 = 1.0;
const SEPARATION_FACTOR: f32 = 5.0;
const ALIGNMENT_FACTOR: f32 = 2.0;
const SPACEBRAKES_COEFFICIENT: f32 = 0.5;
const LOW_SPEED_THRESHOLD: f32 = 50.0;
const HIGH_SPEED_THRESHOLD: f32 = 200.0;