82 lines
3.4 KiB
Plaintext
82 lines
3.4 KiB
Plaintext
[gd_scene format=3 uid="uid://dy355015qgab6"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cy4xfx762bxgb" path="res://assets/sprites/BG.png" id="1_8trdl"]
|
|
[ext_resource type="Script" uid="uid://3v66wxbdeto5" path="res://scenes/arena/arena.gd" id="1_asdgj"]
|
|
[ext_resource type="Texture2D" uid="uid://ov4fmsbglo55" path="res://assets/sprites/Map.png" id="2_5tue2"]
|
|
[ext_resource type="PackedScene" uid="uid://cgljr7wcstmyp" path="res://scenes/unit/players/player_well_rounded.tscn" id="3_5tue2"]
|
|
[ext_resource type="Script" uid="uid://cegcsi6n6r4gv" path="res://scenes/arena/camera_2d.gd" id="4_aj7ud"]
|
|
[ext_resource type="PackedScene" uid="uid://cp1haphh1gj8t" path="res://scenes/ui/stats_container/stats_container.tscn" id="9_6w4xk"]
|
|
[ext_resource type="Script" uid="uid://bd5bscq0u8wld" path="res://scenes/arena/spawner.gd" id="17_rhjlh"]
|
|
[ext_resource type="Script" uid="uid://dqhoumuppl4bx" path="res://resources/waves/wave_data.gd" id="18_8kk48"]
|
|
[ext_resource type="Resource" uid="uid://cer6rdmxrnenh" path="res://resources/waves/data/wave_1_to_5.tres" id="18_tp84n"]
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_8kk48"]
|
|
font_size = 64
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_wqbss"]
|
|
font_size = 64
|
|
|
|
[node name="Arena" type="Node2D" unique_id=1021720471 node_paths=PackedStringArray("player")]
|
|
script = ExtResource("1_asdgj")
|
|
player = NodePath("PlayerWellRounded")
|
|
normal_color = Color(1, 1, 1, 1)
|
|
bloacked_color = Color(1, 0.2901961, 0.45490196, 1)
|
|
critical_color = Color(0.99607843, 0.78039217, 0.38039216, 1)
|
|
hp_color = Color(0, 0.627451, 0.48235294, 1)
|
|
|
|
[node name="BlackBG" type="Sprite2D" parent="." unique_id=29383651]
|
|
scale = Vector2(2, 2)
|
|
texture = ExtResource("1_8trdl")
|
|
|
|
[node name="GrassBG" type="Sprite2D" parent="." unique_id=1846603042]
|
|
scale = Vector2(2, 2)
|
|
texture = ExtResource("2_5tue2")
|
|
|
|
[node name="PlayerWellRounded" parent="." unique_id=2022554550 instance=ExtResource("3_5tue2")]
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="." unique_id=758039070]
|
|
script = ExtResource("4_aj7ud")
|
|
|
|
[node name="Spawner" type="Node2D" parent="." unique_id=831614176]
|
|
script = ExtResource("17_rhjlh")
|
|
waves_data = Array[ExtResource("18_8kk48")]([ExtResource("18_tp84n")])
|
|
|
|
[node name="SpawnTimer" type="Timer" parent="Spawner" unique_id=1696770444]
|
|
one_shot = true
|
|
|
|
[node name="WaveTimer" type="Timer" parent="Spawner" unique_id=2083072683]
|
|
one_shot = true
|
|
|
|
[node name="GameUI" type="CanvasLayer" parent="." unique_id=1475247101]
|
|
|
|
[node name="WaveIndexLabel" type="Label" parent="GameUI" unique_id=1301397499]
|
|
unique_name_in_owner = true
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -110.0
|
|
offset_top = 20.0
|
|
offset_right = 110.0
|
|
offset_bottom = 97.333336
|
|
grow_horizontal = 2
|
|
text = "Wave 1"
|
|
label_settings = SubResource("LabelSettings_8kk48")
|
|
|
|
[node name="WaveTimeLabel" type="Label" parent="GameUI" unique_id=1566213532]
|
|
unique_name_in_owner = true
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -34.0
|
|
offset_top = 100.0
|
|
offset_right = 34.0
|
|
offset_bottom = 177.33334
|
|
grow_horizontal = 2
|
|
text = "10"
|
|
label_settings = SubResource("LabelSettings_wqbss")
|
|
|
|
[node name="StatsContainer" parent="GameUI" unique_id=827713059 instance=ExtResource("9_6w4xk")]
|
|
|
|
[connection signal="timeout" from="Spawner/SpawnTimer" to="Spawner" method="_on_spawn_timer_timeout"]
|
|
[connection signal="timeout" from="Spawner/WaveTimer" to="Spawner" method="_on_wave_timer_timeout"]
|