|
@@ -3,7 +3,6 @@ extends Node2D
|
|
|
var BallScene: PackedScene = preload("res://slides/204/physics_demo/Ball.tscn")
|
|
|
|
|
|
@export var dispersion_scale : Vector2 = Vector2.ONE
|
|
|
-@export var delay := 1.0
|
|
|
|
|
|
|
|
|
func _ready():
|
|
@@ -17,8 +16,6 @@ func spawn():
|
|
|
|
|
|
add_child(ball)
|
|
|
|
|
|
- get_tree().create_timer(delay).connect("timeout", _on_delay_time_out)
|
|
|
-
|
|
|
|
|
|
func _on_delay_time_out():
|
|
|
spawn()
|