Files
nodewars/main.tscn
2026-05-31 19:14:19 +02:00

70 lines
3.2 KiB
Plaintext

[gd_scene format=3 uid="uid://bf7croj2rk4q6"]
[ext_resource type="Script" uid="uid://cmcnly8kwwjia" path="res://Main.cs" id="1_trn2v"]
[ext_resource type="Script" uid="uid://c2ufhsf60fl83" path="res://BuildManager.cs" id="2_03owx"]
[ext_resource type="PackedScene" uid="uid://b1a13w4ckxnub" path="res://Scripts/Gui/Gui.tscn" id="3_wkp8b"]
[ext_resource type="Script" uid="uid://de3jpss66xjfh" path="res://addons/curved_lines_2d/scalable_vector_shape_2d.gd" id="4_20pc6"]
[ext_resource type="Script" uid="uid://dlbv4pit17dnu" path="res://addons/curved_lines_2d/scalable_arc.gd" id="5_5vvyt"]
[ext_resource type="Script" uid="uid://dl1t88tthmwts" path="res://addons/curved_lines_2d/scalable_arc_list.gd" id="6_c6i3y"]
[ext_resource type="Script" uid="uid://rirna2vebukw" path="res://addons/strategy_cam/strategy_camera.gd" id="7_c2ibq"]
[ext_resource type="PackedScene" uid="uid://cb07jvtr8x7i1" path="res://Nodule.tscn" id="8_j4qnp"]
[ext_resource type="PackedScene" uid="uid://b0vhqymerr5mx" path="res://EnergyProducer.tscn" id="9_03owx"]
[sub_resource type="Curve2D" id="Curve2D_5vw27"]
resource_local_to_scene = true
_data = {
"points": PackedVector2Array(0, 0, 0, 0, -13.812602, -13.812602, 0, 0, 0, 0, 13.812602, -13.812602, 0, 0, 0, 0, 13.812602, 13.812602, 0, 0, 0, 0, -13.812602, 13.812602, 0, 0, 0, 0, -13.812602, -13.812602)
}
point_count = 5
[sub_resource type="Resource" id="Resource_kek77"]
resource_local_to_scene = true
script = ExtResource("6_c6i3y")
[node name="Main" type="Node2D" unique_id=866253780]
script = ExtResource("1_trn2v")
[node name="BuildManager" type="Node" parent="." unique_id=582061924]
script = ExtResource("2_03owx")
[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=1010925224]
[node name="GUI" parent="CanvasLayer" unique_id=1209092314 instance=ExtResource("3_wkp8b")]
mouse_filter = 1
[node name="Stuff" type="Node" parent="." unique_id=1050239390]
[node name="Rectangle" type="Node2D" parent="Stuff" unique_id=742624159 node_paths=PackedStringArray("polygon", "line")]
visible = false
script = ExtResource("4_20pc6")
polygon = NodePath("Polygon2D")
line = NodePath("Stroke")
curve = SubResource("Curve2D_5vw27")
update_curve_at_runtime = true
arc_list = SubResource("Resource_kek77")
shape_type = 1
size = Vector2(27.625204, 27.625204)
[node name="Stroke" type="Line2D" parent="Stuff/Rectangle" unique_id=290597343]
points = PackedVector2Array(-13.812602, -13.812602, 13.812602, -13.812602, 13.812602, 13.812602, -13.812602, 13.812602)
closed = true
sharp_limit = 90.0
metadata/_edit_lock_ = true
[node name="Polygon2D" type="Polygon2D" parent="Stuff/Rectangle" unique_id=228038856]
color = Color(0.48828125, 0.48828125, 0.48828125, 1)
polygon = PackedVector2Array(-13.812602, -13.812602, 13.812602, -13.812602, 13.812602, 13.812602, -13.812602, 13.812602)
metadata/_edit_lock_ = true
[node name="StrategyCamera" type="Camera2D" parent="." unique_id=706618209]
zoom = Vector2(0.205, 0.205)
limit_enabled = false
script = ExtResource("7_c2ibq")
translation_speed = 300.0
metadata/_custom_type_script = "uid://rirna2vebukw"
[node name="Base" parent="." unique_id=698496795 instance=ExtResource("8_j4qnp")]
_noduleType = 0
[node name="EnergyProducer" parent="Base" unique_id=30257502 instance=ExtResource("9_03owx")]