diff options
| author | _Tradam <[email protected]> | 2021-12-19 23:15:39 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-12-19 23:15:39 -0500 |
| commit | 51fa40d59c7face1a7bf21ebc83e8df0f18ac09b (patch) | |
| tree | ffd358def9a9786b6ab6580dae8e56b1b834d511 /app/systems | |
| parent | b9ae6e7fc8c770db21f88a92c674d6618ba502e1 (diff) | |
| download | SteelWings-51fa40d59c7face1a7bf21ebc83e8df0f18ac09b.tar.gz SteelWings-51fa40d59c7face1a7bf21ebc83e8df0f18ac09b.zip | |
cleanup and polish of sprites (#7)
Diffstat (limited to 'app/systems')
| -rw-r--r-- | app/systems/start_game.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/app/systems/start_game.rb b/app/systems/start_game.rb index e329d1d..96332a2 100644 --- a/app/systems/start_game.rb +++ b/app/systems/start_game.rb @@ -33,9 +33,14 @@ FF::Sys.new('StartGame', priority: 50 ) do end sprite = FF::Cmp::Sprite.new - sprite.props[:path] = 'sprites/kenny/Ships/ship_0011.png' + sprite.props[:path] = [ + 'sprites/kenny/Ships/Pintail.png', + 'sprites/kenny/Ships/Osprey.png', + 'sprites/kenny/Ships/Falcon.png', + 'sprites/kenny/Ships/Grosbeak.png', + ].sample FF::Ent.new( - FF::Cmp::Boid.new(x: position_range.sample, y: position_range.sample, vx: 25, vy: 25, w: sprite.props[:w], h: sprite.props[:h]), + FF::Cmp::Boid.new(x: position_range.sample, y: position_range.sample, vx: 25, vy: 25, w: 32, h: 32), sprite, debug_arrow, FF::Cmp::SingletonCamera[0], |
