23 lines
678 B
Text
23 lines
678 B
Text
|
[gd_scene load_steps=4 format=2]
|
||
|
|
||
|
[ext_resource path="res://objects/ships/Disky.tscn" type="PackedScene" id=1]
|
||
|
[ext_resource path="res://objects/ships/Quills.tscn" type="PackedScene" id=2]
|
||
|
|
||
|
[sub_resource type="GDScript" id=1]
|
||
|
script/source = "extends Node2D
|
||
|
|
||
|
func _process(delta):
|
||
|
if Input.is_action_just_pressed(\"debug_reset\"):
|
||
|
get_tree().change_scene(\"res://scenes/TestScene.tscn\")
|
||
|
"
|
||
|
|
||
|
[node name="TestScene" type="Node2D"]
|
||
|
script = SubResource( 1 )
|
||
|
|
||
|
[node name="Quills" parent="." instance=ExtResource( 2 )]
|
||
|
position = Vector2( 106.783, 173.39 )
|
||
|
player_number = "player_2"
|
||
|
|
||
|
[node name="Disky" parent="." instance=ExtResource( 1 )]
|
||
|
position = Vector2( 210.244, 143.66 )
|