diff options
| author | arngo <[email protected]> | 2021-12-23 01:04:59 -0500 |
|---|---|---|
| committer | arngo <[email protected]> | 2021-12-23 01:04:59 -0500 |
| commit | 8116ce1f56aaf5344596ca16177c7abff11b1496 (patch) | |
| tree | ac0b5e048f6b056129b01439fb20b89861efeee5 /app/factories/ships/osprey.rb | |
| parent | b567c7ceb887a8da73a8e2c1015a7638ca1f8fad (diff) | |
| download | SteelWings-8116ce1f56aaf5344596ca16177c7abff11b1496.tar.gz SteelWings-8116ce1f56aaf5344596ca16177c7abff11b1496.zip | |
implement ai components/systems
Diffstat (limited to 'app/factories/ships/osprey.rb')
| -rw-r--r-- | app/factories/ships/osprey.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/factories/ships/osprey.rb b/app/factories/ships/osprey.rb index 1e76b17..e371e60 100644 --- a/app/factories/ships/osprey.rb +++ b/app/factories/ships/osprey.rb @@ -16,15 +16,16 @@ class Factory FF::Cmp::Boid.new(x: x, y: y, vx: -3, vy: -3, w: 32, h: 32), sprite, FF::Cmp::BoidBounds.new(strength: 0.6), - FF::Cmp::BoidsAlignment.new(strength: 1), + FF::Cmp::BoidsAlignment.new(strength: 10), FF::Cmp::BoidsSeparation.new(distance: 150, strength: 0.001), - FF::Cmp::BoidsCohesion.new(strength: 10000), + FF::Cmp::BoidsCohesion.new(strength: 1000), FF::Cmp::Hp.new(health: 100), FF::Cmp::CollisionDamage.new(damage: 100), FF::Cmp::Hitcircle.new(r: 12), FF::Cmp::BoidMinimumSpeed.new(speed: 3), + FF::Cmp::DecaySpeed.new(strength: 0.9), FF::Cmp::Team.new, - FF::Cmp::SingletonDebugVectorArrow[0], + #FF::Cmp::SingletonDebugVectorArrow[0], FF::Cmp::SingletonCamera[0], ) end |
