1
0
Fork 0
space-capture/main.tscn

81 lines
3.2 KiB
Text
Raw Normal View History

2024-08-24 18:00:26 +02:00
[gd_scene load_steps=19 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="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"]
2024-08-24 18:00:26 +02:00
[ext_resource type="PackedScene" uid="uid://dtlatmtuggp6x" path="res://scenes/backgrounds/nebula.tscn" id="7_sv4lv"]
2024-08-15 11:18:54 +02:00
[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-24 18:00:26 +02:00
[ext_resource type="PackedScene" uid="uid://b0ec8jbenscpp" path="res://scenes/backgrounds/stars.tscn" id="9_lum1l"]
2024-08-06 22:46:05 +02:00
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 21:45:07 +02:00
[node name="GameLogic" type="Node" parent="." node_paths=PackedStringArray("planets_container", "trails_container", "fleets_container", "planets_ui")]
2024-08-15 11:18:54 +02:00
script = ExtResource("1_uj8ti")
planets_container = NodePath("../Planets")
2024-08-15 21:45:07 +02:00
trails_container = NodePath("../Trails")
fleets_container = NodePath("../Fleets")
2024-08-15 11:18:54 +02:00
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-24 18:00:26 +02:00
[node name="Stars" parent="." instance=ExtResource("9_lum1l")]
[node name="Nebula" 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
2024-08-15 21:45:07 +02:00
[node name="Trails" type="Node2D" parent="."]
2024-08-06 22:46:05 +02:00
2024-08-15 21:45:07 +02:00
[node name="Fleets" type="Node2D" parent="."]
[node name="PlanetsUI" type="Control" parent="." node_paths=PackedStringArray("trails_container")]
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-15 21:45:07 +02:00
trails_container = NodePath("../Trails")