diff options
| author | realtradam <[email protected]> | 2021-12-26 21:42:56 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2021-12-26 21:42:56 -0500 |
| commit | 5f8a4b6b17d6ada0097412b13605717dd5a310df (patch) | |
| tree | cd3646042537e6c9e69ff2c31c99b816607acce7 /app/factories/ships | |
| parent | 70b2499a8753331b68fb7a61a8882c9ff0b017d8 (diff) | |
| download | SteelWings-5f8a4b6b17d6ada0097412b13605717dd5a310df.tar.gz SteelWings-5f8a4b6b17d6ada0097412b13605717dd5a310df.zip | |
added rate of fire, tweaked ai
Diffstat (limited to 'app/factories/ships')
| -rw-r--r-- | app/factories/ships/sample_enemy.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/factories/ships/sample_enemy.rb b/app/factories/ships/sample_enemy.rb index af8c4ca..9355c2f 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.001, + 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) |
