51 lines
1.5 KiB
Plaintext
51 lines
1.5 KiB
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://Entities/SimpleEntity.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://Game.gd" type="Script" id=6]
|
|
|
|
[node name="Game" type="Node2D"]
|
|
script = ExtResource( 6 )
|
|
|
|
[node name="Control" type="HBoxContainer" parent="."]
|
|
margin_left = 30.0
|
|
margin_top = 30.0
|
|
margin_right = 40.0
|
|
margin_bottom = 40.0
|
|
|
|
[node name="AddEntityButton" type="Button" parent="Control"]
|
|
margin_right = 77.0
|
|
margin_bottom = 20.0
|
|
text = "Add Entity"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="AddWanderingEntity" type="Button" parent="Control"]
|
|
margin_left = 81.0
|
|
margin_right = 190.0
|
|
margin_bottom = 20.0
|
|
text = "Add Wandering"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Entities" type="Node2D" parent="."]
|
|
|
|
[node name="SimpleEntity" parent="Entities" instance=ExtResource( 1 )]
|
|
position = Vector2( 360, 118 )
|
|
|
|
[node name="Color" parent="Entities/SimpleEntity/Components" index="3"]
|
|
color = Color( 0.298039, 0.745098, 0.368627, 1 )
|
|
|
|
[node name="SimpleEntity2" parent="Entities" instance=ExtResource( 1 )]
|
|
position = Vector2( 157, 306 )
|
|
|
|
[node name="Color" parent="Entities/SimpleEntity2/Components" index="3"]
|
|
color = Color( 0, 0.0156863, 1, 1 )
|
|
|
|
[connection signal="pressed" from="Control/AddEntityButton" to="." method="_on_AddEntityButton_pressed"]
|
|
[connection signal="pressed" from="Control/AddWanderingEntity" to="." method="_on_AddWanderingEntity_pressed"]
|
|
|
|
[editable path="Entities/SimpleEntity"]
|
|
[editable path="Entities/SimpleEntity2"]
|