mirror of
https://github.com/SleepingInsomniac/asteroids
synced 2024-12-25 21:59:23 +01:00
Increase center no-spawn area
This commit is contained in:
parent
b72ae89980
commit
c3e21426e7
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class Asteroids < Game
|
|||
end
|
||||
|
||||
def generate_asteroids
|
||||
center_size = Vector2.new(20.0, 20.0)
|
||||
center_size = Vector2.new(50.0, 50.0)
|
||||
center_pos = Vector2.new((width.to_f / 2.0) - (center_size.x / 2.0), (height.to_f / 2.0) - (center_size.y / 2.0))
|
||||
|
||||
@asteroid_count.times do
|
||||
|
|
Loading…
Reference in a new issue