added game states
This commit is contained in:
@@ -10,7 +10,7 @@ var v_offset: float = 0.1
|
||||
|
||||
func _ready() -> void:
|
||||
GameManager.set_bullet_stack(self)
|
||||
generate_bullet_stack()
|
||||
#generate_bullet_stack()
|
||||
|
||||
func generate_bullet_stack():
|
||||
for i in range(1, 22, 1):
|
||||
@@ -18,3 +18,6 @@ func generate_bullet_stack():
|
||||
newBullet.position = Vector3(i*h_offset,0,0)
|
||||
bullets.append(newBullet)
|
||||
add_child(newBullet)
|
||||
|
||||
func add_bullets():
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user