summaryrefslogtreecommitdiffhomepage
path: root/app/factories/ships
diff options
context:
space:
mode:
authorArnold <[email protected]>2021-12-26 23:09:29 -0500
committerGitHub <[email protected]>2021-12-26 23:09:29 -0500
commit0a611afcb8474afe01a451b20fa5608be334053b (patch)
tree6af89bbdab20d6f9ded6c711aefd450ca12e7350 /app/factories/ships
parentb7dea8016b5b1328808e28b76cc12343907de63e (diff)
parent20da68139878d9286cb642c9bcb5e20c28077ba7 (diff)
downloadSteelWings-0a611afcb8474afe01a451b20fa5608be334053b.tar.gz
SteelWings-0a611afcb8474afe01a451b20fa5608be334053b.zip
Merge pull request #12 from realtradam/development
version 1.0
Diffstat (limited to 'app/factories/ships')
-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