added game states

This commit is contained in:
Nikolai Fesenko
2025-08-28 23:37:44 +02:00
parent 972c785007
commit 4e810f8fc0
7 changed files with 60 additions and 9 deletions

View File

@@ -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