summaryrefslogtreecommitdiffhomepage
path: root/app/factories/ships/sample_enemy.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/factories/ships/sample_enemy.rb')
-rw-r--r--app/factories/ships/sample_enemy.rb13
1 files changed, 7 insertions, 6 deletions
diff --git a/app/factories/ships/sample_enemy.rb b/app/factories/ships/sample_enemy.rb
index a2a3a21..6ebaef3 100644
--- a/app/factories/ships/sample_enemy.rb
+++ b/app/factories/ships/sample_enemy.rb
@@ -3,15 +3,15 @@ class Factory
def self.defaults
@defaults ||= {
boid_bounds_strength: 0.6,
- boids_alignment_strength: 0.005,
- boids_seperation_strength: 0.005,
- boids_seperation_distance: 50,
- boids_cohesion_strength: 0.003,
+ boids_alignment_strength: 0.002,
+ boids_seperation_strength: 0.0005,
+ boids_seperation_distance: 150,
+ boids_cohesion_strength: 0.0005,
hp_health: 100,
collision_damage_damage: 100,
hitcircle_r: 12,
- boid_minimum_speed_speed: 5,
- decay_speed_multiplier: 0.9,
+ boid_minimum_speed_speed: 7,
+ decay_speed_multiplier: 0.8,
}
end
def self.new(x: 0, y: 0, vx: -3, vy: -3)
@@ -41,6 +41,7 @@ class Factory
FF::Cmp::Team.new,
FF::Cmp::SingletonDebugVectorArrow[0],
FF::Cmp::SingletonCamera[0],
+ FF::Cmp::SingletonEnemyTeam[0],
)
end
end