1- [gd_scene load_steps =35 format =3 uid ="uid://djaltvt06unu0" ]
1+ [gd_scene load_steps =20 format =3 uid ="uid://djaltvt06unu0" ]
22
33[ext_resource type ="PackedScene" uid ="uid://bjhjupefmfgqs" path ="res://scenes/tiles.tscn" id ="1_d6p3j" ]
4- [ext_resource type ="Script" path ="res://scripts/character_body_2d.gd" id ="2_v3nol" ]
5- [ext_resource type ="Texture2D" uid ="uid://deo0js5p0gxx7" path ="res://assets/Factions/Knights/Troops/Warrior/Blue/Warrior_Blue.png" id ="2_w4gtl" ]
64[ext_resource type ="PackedScene" uid ="uid://c7jm2yuaacdqh" path ="res://scenes/hud.tscn" id ="3_617g2" ]
7- [ext_resource type ="Script" path ="res://scripts/follow_camera.gd " id ="4_tcs51 " ]
5+ [ext_resource type ="PackedScene" uid = "uid://7lsouk5v2cwt" path ="res://scenes/player.tscn " id ="3_el764 " ]
86[ext_resource type ="PackedScene" uid ="uid://dsb8p4ysfqkdi" path ="res://prefabs/meat.tscn" id ="5_w7uh3" ]
97[ext_resource type ="Script" path ="res://scripts/gold_entity.gd" id ="6_jgvlv" ]
108[ext_resource type ="PackedScene" uid ="uid://buky2dgx2kia3" path ="res://prefabs/gold.tscn" id ="6_mytpp" ]
119[ext_resource type ="Texture2D" uid ="uid://bunj2btgrwyu3" path ="res://assets/Resources/Resources/G_Idle.png" id ="7_52rrg" ]
1210[ext_resource type ="PackedScene" uid ="uid://br5nrp3rtcimi" path ="res://prefabs/wood.tscn" id ="7_m1s7h" ]
1311[ext_resource type ="Texture2D" uid ="uid://cco37rio8rbnf" path ="res://assets/Resources/Resources/G_Spawn.png" id ="8_xnn5u" ]
14-
15- [sub_resource type ="AtlasTexture" id ="AtlasTexture_q0c52" ]
16- atlas = ExtResource ("2_w4gtl" )
17- region = Rect2 (0 , 0 , 192 , 192 )
18-
19- [sub_resource type ="AtlasTexture" id ="AtlasTexture_j6wva" ]
20- atlas = ExtResource ("2_w4gtl" )
21- region = Rect2 (192 , 0 , 192 , 192 )
22-
23- [sub_resource type ="AtlasTexture" id ="AtlasTexture_jivnv" ]
24- atlas = ExtResource ("2_w4gtl" )
25- region = Rect2 (384 , 0 , 192 , 192 )
26-
27- [sub_resource type ="AtlasTexture" id ="AtlasTexture_euptx" ]
28- atlas = ExtResource ("2_w4gtl" )
29- region = Rect2 (576 , 0 , 192 , 192 )
30-
31- [sub_resource type ="AtlasTexture" id ="AtlasTexture_ndmye" ]
32- atlas = ExtResource ("2_w4gtl" )
33- region = Rect2 (768 , 0 , 192 , 192 )
34-
35- [sub_resource type ="AtlasTexture" id ="AtlasTexture_g4vkm" ]
36- atlas = ExtResource ("2_w4gtl" )
37- region = Rect2 (960 , 0 , 192 , 192 )
38-
39- [sub_resource type ="AtlasTexture" id ="AtlasTexture_rb4no" ]
40- atlas = ExtResource ("2_w4gtl" )
41- region = Rect2 (0 , 192 , 192 , 192 )
42-
43- [sub_resource type ="AtlasTexture" id ="AtlasTexture_k54yu" ]
44- atlas = ExtResource ("2_w4gtl" )
45- region = Rect2 (192 , 192 , 192 , 192 )
46-
47- [sub_resource type ="AtlasTexture" id ="AtlasTexture_rui1o" ]
48- atlas = ExtResource ("2_w4gtl" )
49- region = Rect2 (384 , 192 , 192 , 192 )
50-
51- [sub_resource type ="AtlasTexture" id ="AtlasTexture_anl6s" ]
52- atlas = ExtResource ("2_w4gtl" )
53- region = Rect2 (576 , 192 , 192 , 192 )
54-
55- [sub_resource type ="AtlasTexture" id ="AtlasTexture_t7npc" ]
56- atlas = ExtResource ("2_w4gtl" )
57- region = Rect2 (768 , 192 , 192 , 192 )
58-
59- [sub_resource type ="AtlasTexture" id ="AtlasTexture_anj4k" ]
60- atlas = ExtResource ("2_w4gtl" )
61- region = Rect2 (960 , 192 , 192 , 192 )
62-
63- [sub_resource type ="SpriteFrames" id ="SpriteFrames_lh52o" ]
64- animations = [{
65- "frames" : [{
66- "duration" : 1.0 ,
67- "texture" : SubResource ("AtlasTexture_q0c52" )
68- }, {
69- "duration" : 1.0 ,
70- "texture" : SubResource ("AtlasTexture_j6wva" )
71- }, {
72- "duration" : 1.0 ,
73- "texture" : SubResource ("AtlasTexture_jivnv" )
74- }, {
75- "duration" : 1.0 ,
76- "texture" : SubResource ("AtlasTexture_euptx" )
77- }, {
78- "duration" : 1.0 ,
79- "texture" : SubResource ("AtlasTexture_ndmye" )
80- }, {
81- "duration" : 1.0 ,
82- "texture" : SubResource ("AtlasTexture_g4vkm" )
83- }],
84- "loop" : true ,
85- "name" : &"idle" ,
86- "speed" : 12.0
87- }, {
88- "frames" : [{
89- "duration" : 1.0 ,
90- "texture" : SubResource ("AtlasTexture_rb4no" )
91- }, {
92- "duration" : 1.0 ,
93- "texture" : SubResource ("AtlasTexture_k54yu" )
94- }, {
95- "duration" : 1.0 ,
96- "texture" : SubResource ("AtlasTexture_rui1o" )
97- }, {
98- "duration" : 1.0 ,
99- "texture" : SubResource ("AtlasTexture_anl6s" )
100- }, {
101- "duration" : 1.0 ,
102- "texture" : SubResource ("AtlasTexture_t7npc" )
103- }, {
104- "duration" : 1.0 ,
105- "texture" : SubResource ("AtlasTexture_anj4k" )
106- }],
107- "loop" : true ,
108- "name" : &"walking" ,
109- "speed" : 12.0
110- }]
111-
112- [sub_resource type ="CapsuleShape2D" id ="CapsuleShape2D_xesxe" ]
113- radius = 18.0
114- height = 44.0
12+ [ext_resource type ="PackedScene" uid ="uid://bm5i5qwn085kf" path ="res://prefabs/tree.tscn" id ="12_53pmu" ]
11513
11614[sub_resource type ="CircleShape2D" id ="CircleShape2D_uk4ba" ]
11715radius = 25.0
@@ -182,34 +80,15 @@ animations = [{
18280}]
18381
18482[node name ="main" type ="Node2D" ]
83+ y_sort_enabled = true
18584
18685[node name ="World" parent ="." instance =ExtResource ("1_d6p3j" )]
18786
18887[node name ="CanvasLayer" type ="CanvasLayer" parent ="." ]
18988
19089[node name ="Hud" parent ="CanvasLayer" instance =ExtResource ("3_617g2" )]
19190
192- [node name ="player" type ="Node2D" parent ="." ]
193- position = Vector2 (371 , 465 )
194-
195- [node name ="CharacterBody2D" type ="CharacterBody2D" parent ="player" ]
196- collision_mask = 3
197- script = ExtResource ("2_v3nol" )
198-
199- [node name ="followCamera" type ="Camera2D" parent ="player/CharacterBody2D" ]
200- process_callback = 0
201- limit_left = 0
202- limit_top = 0
203- limit_right = 2000
204- script = ExtResource ("4_tcs51" )
205-
206- [node name ="AnimatedSprite2D" type ="AnimatedSprite2D" parent ="player/CharacterBody2D" ]
207- sprite_frames = SubResource ("SpriteFrames_lh52o" )
208- animation = &"idle"
209-
210- [node name ="CollisionShape2D" type ="CollisionShape2D" parent ="player/CharacterBody2D" ]
211- position = Vector2 (0 , 12 )
212- shape = SubResource ("CapsuleShape2D_xesxe" )
91+ [node name ="player" parent ="." instance =ExtResource ("3_el764" )]
21392
21493[node name ="resources" type ="Node2D" parent ="." ]
21594
@@ -235,3 +114,6 @@ sprite_frames = SubResource("SpriteFrames_ouhmi")
235114animation = &"spawn"
236115frame = 6
237116frame_progress = 1.0
117+
118+ [node name ="Tree" parent ="." instance =ExtResource ("12_53pmu" )]
119+ position = Vector2 (969 , 943 )
0 commit comments