1
0
Fork 0
space-capture/main.tscn

83 lines
3.4 KiB
Text
Raw Normal View History

2024-08-15 11:18:54 +02:00
[gd_scene load_steps=21 format=3 uid="uid://cdaf4bh0jaa45"]
2024-08-06 22:46:05 +02:00
2024-08-15 11:18:54 +02:00
[ext_resource type="Script" path="res://scripts/game_logic.gd" id="1_uj8ti"]
[ext_resource type="Resource" uid="uid://cp0dudi0f5r62" path="res://scenes/templates/templates.tres" id="2_1lypt"]
[ext_resource type="Script" path="res://scripts/player.gd" id="2_plgh6"]
2024-08-06 22:46:05 +02:00
[ext_resource type="Texture2D" uid="uid://bydmcc5d53ldx" path="res://icons/paw_print.svg" id="3_mxakn"]
[ext_resource type="Texture2D" uid="uid://1xh0qil16bkh" path="res://icons/character.svg" id="3_qxmev"]
2024-08-15 11:18:54 +02:00
[ext_resource type="Script" path="res://scripts/player_local.gd" id="4_7rlmh"]
2024-08-06 22:46:05 +02:00
[ext_resource type="Texture2D" uid="uid://dx1wjviioa8u5" path="res://icons/chip.svg" id="4_pgo63"]
2024-08-15 11:18:54 +02:00
[ext_resource type="Script" path="res://scripts/ui/planets_ui.gd" id="7_khbdl"]
[ext_resource type="PackedScene" uid="uid://dtlatmtuggp6x" path="res://scenes/background_nebula/background_nebula.tscn" id="7_sv4lv"]
[ext_resource type="Script" path="res://scripts/player_ai.gd" id="7_v73fw"]
[ext_resource type="Script" path="res://scripts/planet.gd" id="8_ve3b1"]
2024-08-06 22:46:05 +02:00
[ext_resource type="PackedScene" uid="uid://cpffyaoh8x5bp" path="res://scenes/ships_fleet/ships_fleet.tscn" id="9_be18b"]
[ext_resource type="PackedScene" uid="uid://ckfk1xgxfk1c3" path="res://scenes/trail/trail.tscn" id="10_b5ql7"]
2024-08-15 11:18:54 +02:00
[sub_resource type="Resource" id="Resource_mxp7y"]
2024-08-06 22:46:05 +02:00
script = ExtResource("2_plgh6")
color = Color(0.745, 0.745, 0.745, 1)
icon = ExtResource("3_mxakn")
2024-08-15 11:18:54 +02:00
[sub_resource type="Resource" id="Resource_1dtpf"]
2024-08-06 22:46:05 +02:00
script = ExtResource("4_7rlmh")
2024-08-15 11:18:54 +02:00
color = Color(0.236993, 0.373968, 1, 1)
2024-08-06 22:46:05 +02:00
icon = ExtResource("3_qxmev")
2024-08-15 11:18:54 +02:00
[sub_resource type="Resource" id="Resource_7wtc7"]
script = ExtResource("7_v73fw")
2024-08-06 22:46:05 +02:00
color = Color(0.835294, 0.160784, 0, 1)
icon = ExtResource("4_pgo63")
2024-08-15 11:18:54 +02:00
[sub_resource type="Resource" id="Resource_50eg2"]
script = ExtResource("8_ve3b1")
location = Vector2(200, 200)
type = 0
[sub_resource type="Resource" id="Resource_2525o"]
script = ExtResource("8_ve3b1")
location = Vector2(952, 448)
type = 0
2024-08-10 08:54:21 +02:00
2024-08-15 11:18:54 +02:00
[sub_resource type="Resource" id="Resource_irtww"]
script = ExtResource("8_ve3b1")
location = Vector2(450, 234)
type = 0
2024-08-06 22:46:05 +02:00
2024-08-15 11:18:54 +02:00
[sub_resource type="Resource" id="Resource_wdycy"]
script = ExtResource("8_ve3b1")
location = Vector2(702, 414)
type = 0
2024-08-06 22:46:05 +02:00
2024-08-15 11:18:54 +02:00
[node name="Main" type="Node"]
2024-08-06 22:46:05 +02:00
2024-08-15 11:18:54 +02:00
[node name="GameLogic" type="Node" parent="." node_paths=PackedStringArray("planets_container", "planets_ui")]
script = ExtResource("1_uj8ti")
templates = ExtResource("2_1lypt")
planets_container = NodePath("../Planets")
planets_ui = NodePath("../PlanetsUI")
players = Array[ExtResource("2_plgh6")]([SubResource("Resource_mxp7y"), SubResource("Resource_1dtpf"), SubResource("Resource_7wtc7")])
planets = Array[ExtResource("8_ve3b1")]([SubResource("Resource_50eg2"), SubResource("Resource_2525o"), SubResource("Resource_irtww"), SubResource("Resource_wdycy")])
2024-08-06 22:46:05 +02:00
2024-08-15 11:18:54 +02:00
[node name="BackgroundNebula" parent="." instance=ExtResource("7_sv4lv")]
2024-08-06 22:46:05 +02:00
2024-08-15 11:18:54 +02:00
[node name="Planets" type="Node2D" parent="."]
2024-08-06 22:46:05 +02:00
[node name="ShipsFleet" parent="." instance=ExtResource("9_be18b")]
position = Vector2(246, 394)
count = 29
2024-08-15 11:18:54 +02:00
[node name="PlanetsUI" type="Control" parent="." node_paths=PackedStringArray("trail")]
2024-08-06 22:46:05 +02:00
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
script = ExtResource("7_khbdl")
2024-08-07 19:56:30 +02:00
trail = NodePath("Trail")
2024-08-06 22:46:05 +02:00
2024-08-15 11:18:54 +02:00
[node name="Trail" parent="PlanetsUI" instance=ExtResource("10_b5ql7")]
2024-08-07 19:56:30 +02:00
visible = false