-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathworld.tscn
More file actions
127 lines (92 loc) · 6.26 KB
/
world.tscn
File metadata and controls
127 lines (92 loc) · 6.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[gd_scene load_steps=10 format=3 uid="uid://clyc1tdpklcpk"]
[ext_resource type="Texture2D" uid="uid://b5llt1iog0ao3" path="res://World/GrassBackground.png" id="1_j4xmo"]
[ext_resource type="PackedScene" uid="uid://bd1fssvnrd6b0" path="res://World/bush.tscn" id="2_6ai52"]
[ext_resource type="TileSet" uid="uid://ej567u5bvarj" path="res://World/dirt.tres" id="2_d5xl3"]
[ext_resource type="PackedScene" uid="uid://coh3ja7jio4ww" path="res://Player/player.tscn" id="2_pabgv"]
[ext_resource type="TileSet" uid="uid://cr047cdtxv4tf" path="res://World/clifs.tres" id="3_1g4lv"]
[ext_resource type="PackedScene" uid="uid://cejtlqw50con6" path="res://World/grass.tscn" id="6_ykj37"]
[ext_resource type="PackedScene" uid="uid://c3xa2l0ln7bh5" path="res://World/tree.tscn" id="7_en7lx"]
[ext_resource type="PackedScene" uid="uid://401gpxrnh46q" path="res://Enemies/bat.tscn" id="7_xdxxi"]
[ext_resource type="PackedScene" uid="uid://b85nlfjmb6ooc" path="res://UI/health_ui.tscn" id="8_ls2f5"]
[node name="World" type="Node2D"]
[node name="Background" type="Sprite2D" parent="."]
position = Vector2(160, 90)
texture = ExtResource("1_j4xmo")
region_enabled = true
region_rect = Rect2(0, 0, 3200, 1800)
[node name="DirtTileMap" type="TileMap" parent="."]
tile_set = ExtResource("2_d5xl3")
format = 2
layer_0/tile_data = PackedInt32Array(262144, 65537, 0, 327679, 1, 0, 393215, 1, 2, 327680, 65537, 2, 262145, 65537, 0, 262146, 65537, 0, 327682, 65537, 2, 327681, 65537, 2, 327683, 393217, 1, 327684, 131073, 1, 393220, 131073, 2, 393219, 1, 2, 720904, 131073, 3, 720903, 1, 3, 720908, 1, 3, 720909, 65537, 3, 720910, 393217, 3, 720911, 65537, 2, 720912, 65537, 2, 720913, 327681, 3, 720914, 131073, 3, 655377, 131073, 0, 655376, 65537, 0, 655375, 65537, 0, 655374, 1, 0, 262164, 131073, 0, 327700, 131073, 2, 327699, 65537, 2, 327698, 65537, 2, 327697, 65537, 2, 327696, 65537, 2, 327695, 65537, 2, 327694, 65537, 2, 327693, 65537, 2, 327692, 1, 2, 262156, 393217, 1, 262157, 327681, 2, 262158, 65537, 0, 262159, 65537, 0, 262160, 65537, 0, 262161, 65537, 0, 262162, 65537, 0, 262163, 65537, 0, 196621, 131073, 1, 131085, 131073, 1, 65549, 131073, 0, 131084, 65537, 1, 65548, 65537, 0, 196620, 65537, 1, 131083, 65537, 1, 131082, 65537, 1, 131081, 1, 1, 65545, 589825, 0, 65546, 65537, 0, 65547, 65537, 0, 65544, 1, 2, 8, 1, 1, -65528, 1, 0, -65527, 131073, 0, 9, 131073, 1, 262147, 65537, 0, 262148, 327681, 0, 262149, 65537, 3, 262150, 393217, 3, 196614, 1, 0, 196615, 65537, 0, 262151, 65537, 2, 262152, 65537, 2, 262153, 65537, 2, 262154, 65537, 2, 262155, 65537, 2, 196616, 65537, 0, 196617, 393217, 2, 196618, 65537, 1, 196619, 65537, 1)
[node name="CliffTileMap" type="TileMap" parent="."]
tile_set = ExtResource("3_1g4lv")
cell_quadrant_size = 32
format = 2
layer_0/tile_data = PackedInt32Array(3, 131073, 2, -65533, 131073, 0, -65534, 65537, 0, -65535, 65537, 0, -65536, 65537, 0, -1, 1, 0, 65535, 1, 1, 131071, 1, 2, 65536, 131073, 2, 0, 327681, 1, 1, 65537, 2, 2, 65537, 2, -65528, 1, 0, -65527, 65537, 0, -65526, 131073, 0, 10, 131073, 2, 9, 524289, 1, 65545, 196609, 2, 8, 1, 2, 196619, 131073, 3, 196618, 327681, 0, 196617, 1, 0, 262152, 1, 3, 262153, 589825, 3, 262154, 131073, 2, 327689, 196609, 2, 196612, 196609, 0, 262148, 458753, 2, 327684, 131073, 2, 327683, 65537, 2, 327682, 393217, 3, 327681, 65537, 3, 327680, 65537, 3, 393215, 1, 3, 262146, 1, 0, 262147, 65537, 0)
[node name="Camera2D" type="Camera2D" parent="." groups=["camera"]]
position = Vector2(168, 80)
limit_left = -30
limit_top = -30
limit_right = 385
limit_bottom = 190
editor_draw_limits = true
[node name="YSort" type="Node2D" parent="."]
y_sort_enabled = true
[node name="Player" parent="YSort" instance=ExtResource("2_pabgv")]
position = Vector2(168, 80)
[node name="Bushes" type="Node2D" parent="YSort"]
y_sort_enabled = true
[node name="Bush" parent="YSort/Bushes" instance=ExtResource("2_6ai52")]
position = Vector2(104, 104)
[node name="Bush2" parent="YSort/Bushes" instance=ExtResource("2_6ai52")]
position = Vector2(240, 144)
[node name="Bush3" parent="YSort/Bushes" instance=ExtResource("2_6ai52")]
position = Vector2(72, 56)
[node name="Bush4" parent="YSort/Bushes" instance=ExtResource("2_6ai52")]
position = Vector2(264, 56)
[node name="Bush5" parent="YSort/Bushes" instance=ExtResource("2_6ai52")]
position = Vector2(176, 152)
[node name="Bush6" parent="YSort/Bushes" instance=ExtResource("2_6ai52")]
position = Vector2(216, 120)
[node name="Grass" type="Node2D" parent="YSort"]
y_sort_enabled = true
[node name="Grass" parent="YSort/Grass" instance=ExtResource("6_ykj37")]
position = Vector2(48, 144)
[node name="Grass2" parent="YSort/Grass" instance=ExtResource("6_ykj37")]
position = Vector2(48, 128)
[node name="Grass3" parent="YSort/Grass" instance=ExtResource("6_ykj37")]
position = Vector2(32, 144)
[node name="Grass4" parent="YSort/Grass" instance=ExtResource("6_ykj37")]
position = Vector2(16, 144)
[node name="Grass5" parent="YSort/Grass" instance=ExtResource("6_ykj37")]
position = Vector2(32, 32)
[node name="Grass6" parent="YSort/Grass" instance=ExtResource("6_ykj37")]
position = Vector2(240, 0)
[node name="Grass7" parent="YSort/Grass" instance=ExtResource("6_ykj37")]
position = Vector2(224, 0)
[node name="Grass8" parent="YSort/Grass" instance=ExtResource("6_ykj37")]
position = Vector2(160, 112)
[node name="Grass9" parent="YSort/Grass" instance=ExtResource("6_ykj37")]
position = Vector2(272, 112)
[node name="Grass10" parent="YSort/Grass" instance=ExtResource("6_ykj37")]
position = Vector2(256, 112)
[node name="Grass11" parent="YSort/Grass" instance=ExtResource("6_ykj37")]
position = Vector2(272, 96)
[node name="Trees" type="Node2D" parent="YSort"]
y_sort_enabled = true
[node name="Tree" parent="YSort/Trees" instance=ExtResource("7_en7lx")]
position = Vector2(104, 160)
[node name="Tree2" parent="YSort/Trees" instance=ExtResource("7_en7lx")]
position = Vector2(232, 32)
[node name="Bat" parent="YSort" instance=ExtResource("7_xdxxi")]
position = Vector2(192, 24)
[node name="Bat2" parent="YSort" instance=ExtResource("7_xdxxi")]
position = Vector2(216, 160)
[node name="Bat3" parent="YSort" instance=ExtResource("7_xdxxi")]
position = Vector2(64, 96)
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="HealthUI" parent="CanvasLayer" instance=ExtResource("8_ls2f5")]
offset_left = 2.0
offset_top = 2.0
offset_right = 62.0
offset_bottom = 13.0