23 lines
578 B
Plaintext
23 lines
578 B
Plaintext
[gd_scene load_steps=2 format=2]
|
|
|
|
[ext_resource path="res://portals/OreSpawner.gd" type="Script" id=1]
|
|
|
|
[node name="OreSpawner" type="Node2D"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
wait_time = 4.0
|
|
autostart = true
|
|
|
|
[node name="DumpZone" type="Area2D" parent="."]
|
|
__meta__ = {
|
|
"_edit_lock_": true
|
|
}
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="DumpZone"]
|
|
polygon = PoolVector2Array( -3, 3, -3, -3, 3, -3, 3, 3 )
|
|
__meta__ = {
|
|
"_edit_lock_": true
|
|
}
|
|
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|