summaryrefslogtreecommitdiffhomepage
path: root/app/factories/ships/osprey.rb
diff options
context:
space:
mode:
author_Tradam <[email protected]>2021-12-19 21:45:57 -0500
committerGitHub <[email protected]>2021-12-19 21:45:57 -0500
commit154030e74b007b6fc65e45e50107b69b717c7b1f (patch)
tree6637be53e3a095bbac8d62d4c1c433c443be7bd9 /app/factories/ships/osprey.rb
parent1016853319aa9e5ebbe23a940fe53054e05aa6e2 (diff)
parent9d840260e873ee914a97eb37ab7aeaab54c098bf (diff)
downloadSteelWings-154030e74b007b6fc65e45e50107b69b717c7b1f.tar.gz
SteelWings-154030e74b007b6fc65e45e50107b69b717c7b1f.zip
Merge pull request #4 from realtradam/pshoot-dev
Finished player shooting bullet system
Diffstat (limited to 'app/factories/ships/osprey.rb')
-rw-r--r--app/factories/ships/osprey.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/factories/ships/osprey.rb b/app/factories/ships/osprey.rb
index 4dd5874..ff8cd19 100644
--- a/app/factories/ships/osprey.rb
+++ b/app/factories/ships/osprey.rb
@@ -4,7 +4,7 @@ class Factory
sprite = FF::Cmp::Sprite.new
sprite.props[:path] = 'sprites/kenny/Ships/Osprey.png'
FF::Ent.new(
- FF::Cmp::Boid.new(x: x, y: y, vx: 25, vy: 25, w: 32, h: 32),
+ FF::Cmp::Boid.new(x: x, y: y, vx: 0, vy: 0, w: 32, h: 32),
sprite,
FF::Cmp::BoidBounds.new(strength: 0.6),
FF::Cmp::BoidsAlignment.new(strength: 1),
@@ -13,6 +13,7 @@ class Factory
FF::Cmp::Hp.new(health: 100),
FF::Cmp::CollisionDamage.new(damage: 100),
FF::Cmp::Hitcircle.new(r: 12),
+ FF::Cmp::Team.new,
FF::Cmp::SingletonDebugVectorArrow[0],
FF::Cmp::SingletonCamera[0],
)