-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbedroom.tscn
127 lines (103 loc) · 8.27 KB
/
bedroom.tscn
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=18 format=3 uid="uid://bchnngednr14u"]
[ext_resource type="PackedScene" uid="uid://do027h1kv333v" path="res://test-level.tscn" id="1_2of21"]
[ext_resource type="Script" path="res://bedroom.gd" id="1_u8etj"]
[ext_resource type="Texture2D" uid="uid://hh53uuw21m0u" path="res://graphics/Cane.png" id="2_tpmay"]
[ext_resource type="PackedScene" uid="uid://ccwb7bmjph5un" path="res://player.tscn" id="3_3g3ab"]
[ext_resource type="Script" path="res://interactable-area.gd" id="3_han3g"]
[ext_resource type="Shader" path="res://world.gdshader" id="4_0b5m2"]
[ext_resource type="Script" path="res://exitDoor.gd" id="6_2xevs"]
[ext_resource type="Texture2D" uid="uid://cl260755i1om2" path="res://letterBlank.png" id="7_rympj"]
[ext_resource type="Script" path="res://interactable-area-clickable.gd" id="8_3j0sf"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_10gp6"]
shader = ExtResource("4_0b5m2")
shader_parameter/outline_color = Color(1, 1, 1, 1)
shader_parameter/outline_enabled = false
[sub_resource type="CircleShape2D" id="CircleShape2D_1rmcf"]
[sub_resource type="CircleShape2D" id="CircleShape2D_ci2m0"]
[sub_resource type="CircleShape2D" id="CircleShape2D_birbv"]
radius = 11.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_6yqql"]
shader = ExtResource("4_0b5m2")
shader_parameter/outline_color = Color(1, 1, 1, 1)
shader_parameter/outline_enabled = false
[sub_resource type="ShaderMaterial" id="ShaderMaterial_7tapc"]
shader = ExtResource("4_0b5m2")
shader_parameter/outline_color = Color(1, 1, 1, 1)
shader_parameter/outline_enabled = false
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_51pfp"]
load_path = "res://.godot/imported/Crystals.png-dac98c5c88a6baa6b6ab965f07e223c4.ctex"
[sub_resource type="CircleShape2D" id="CircleShape2D_701cl"]
radius = 29.4404
[node name="Node2D" type="Node2D"]
position = Vector2(488, 39)
script = ExtResource("1_u8etj")
[node name="Cottage Foundation" parent="." instance=ExtResource("1_2of21")]
layer_0/tile_data = PackedInt32Array(0, 1, 0, 1, 1, 0, 2, 1, 0, 3, 1, 0, 4, 1, 0, 5, 1, 0, 6, 1, 0, 7, 1, 0, 8, 1, 0, 9, 1, 0, 10, 1, 0, 11, 1, 0, 12, 1, 0, 65536, 1, 0, 65537, 1, 0, 65538, 1, 0, 65539, 1, 0, 65540, 1, 0, 65541, 1, 0, 65542, 1, 0, 65543, 1, 0, 65544, 1, 0, 65545, 1, 0, 65546, 1, 0, 65547, 1, 0, 65548, 1, 0, 131072, 1, 0, 131073, 1, 0, 131074, 1, 0, 131075, 1, 0, 131076, 1, 0, 131077, 1, 0, 131078, 1, 0, 131079, 1, 0, 131080, 1, 0, 131081, 1, 0, 131082, 1, 0, 131083, 1, 0, 131084, 1, 0, 196608, 1, 0, 196609, 1, 0, 196610, 1, 0, 196611, 1, 0, 196612, 1, 0, 196613, 1, 0, 196614, 1, 0, 196615, 1, 0, 196616, 1, 0, 196617, 1, 0, 196618, 1, 0, 196619, 1, 0, 196620, 1, 0, 262144, 1, 0, 262145, 2, 0, 262146, 2, 0, 262147, 2, 0, 262148, 2, 0, 262149, 2, 0, 262150, 2, 0, 262151, 2, 0, 262152, 2, 0, 262153, 2, 0, 262154, 2, 0, 262155, 2, 0, 262156, 1, 0, 327680, 1, 0, 327681, 2, 0, 327682, 2, 0, 327683, 2, 0, 327684, 2, 0, 327685, 2, 0, 327686, 2, 0, 327687, 2, 0, 327688, 2, 0, 327689, 2, 0, 327690, 2, 0, 327691, 2, 0, 327692, 1, 0, 393216, 1, 0, 393217, 2, 0, 393218, 2, 0, 393219, 2, 0, 393220, 2, 0, 393221, 2, 0, 393222, 2, 0, 393223, 2, 0, 393224, 2, 0, 393225, 2, 0, 393226, 2, 0, 393227, 2, 0, 393228, 1, 0, 458752, 1, 0, 458753, 2, 0, 458754, 2, 0, 458755, 2, 0, 458756, 2, 0, 458757, 2, 0, 458758, 2, 0, 458759, 2, 0, 458760, 2, 0, 458761, 2, 0, 458762, 2, 0, 458763, 2, 0, 458764, 1, 0, 524288, 1, 0, 524289, 2, 0, 524290, 2, 0, 524291, 2, 0, 524292, 2, 0, 524293, 2, 0, 524294, 2, 0, 524295, 2, 0, 524296, 2, 0, 524297, 2, 0, 524298, 2, 0, 524299, 2, 0, 524300, 1, 0, 589824, 1, 0, 589825, 1, 0, 589826, 327680, 0, 589827, 327680, 0, 589828, 1, 0, 589829, 1, 0, 589830, 1, 0, 589831, 1, 0, 589832, 1, 0, 589833, 1, 0, 589834, 1, 0, 589835, 1, 0, 589836, 1, 0)
layer_1/tile_data = PackedInt32Array(65537, 131076, 1, 131073, 131076, 2, 196609, 131076, 3, 65538, 196612, 1, 131074, 196612, 2, 196610, 196612, 3, 65539, 131076, 1, 131075, 131076, 2, 196611, 131076, 3, 65540, 131076, 1, 131076, 131076, 2, 196612, 131076, 3, 65541, 131076, 1, 131077, 131076, 2, 196613, 131076, 3, 65542, 196612, 1, 131078, 196612, 2, 196614, 196612, 3, 65543, 131076, 1, 131079, 131076, 2, 196615, 131076, 3, 65544, 196612, 1, 131080, 196612, 2, 196616, 196612, 3, 65545, 131076, 1, 131081, 131076, 2, 196617, 131076, 3, 65546, 131076, 1, 131082, 131076, 2, 196618, 131076, 3, 65547, 131076, 1, 131083, 131076, 2, 196619, 131076, 3, 262145, 131076, 4, 262146, 196612, 4, 262147, 131076, 4, 262148, 131076, 4, 262149, 131076, 4, 262150, 196612, 4, 262151, 131076, 4, 262152, 196612, 4, 262153, 131076, 4, 262154, 131076, 4, 262155, 131076, 4)
layer_2/tile_data = PackedInt32Array(196613, 5, 7, 262149, 5, 8, 327685, 5, 9, 196614, 65541, 7, 262150, 65541, 8, 327686, 65541, 9, 393222, 655366, 2, 458758, 655366, 3, 196615, 5, 7, 262151, 5, 8, 327687, 5, 9, 393223, 720902, 2, 458759, 720902, 3, 196616, 65541, 7, 262152, 65541, 8, 327688, 65541, 9, 393224, 786438, 2, 458760, 786438, 3, 262153, 196614, 2, 327689, 196614, 3, 262154, 262150, 2, 327690, 262150, 3)
layer_3/name = "added"
layer_3/tile_data = PackedInt32Array(196610, 458758, 7, 262146, 458758, 8, 327682, 458758, 9, 196611, 524294, 7, 262147, 524294, 8, 327683, 524294, 9, 131076, 7, 1, 65541, 393219, 8, 131077, 393219, 9, 196613, 131079, 3, 65542, 458755, 8, 131078, 458755, 9, 196614, 131079, 3, 131080, 65543, 1, 196616, 393223, 1, 393224, 6, 2, 458760, 6, 3, 393225, 65542, 2, 458761, 65542, 3, 196618, 6, 16, 262154, 6, 17, 393226, 131078, 2, 458762, 131078, 3)
[node name="Cane" type="Area2D" parent="." node_paths=PackedStringArray("sprite")]
position = Vector2(45, 218)
script = ExtResource("3_han3g")
sprite = NodePath("Cane")
obj_type = 2
dialogue_file = "res://dialogues/cane.json"
[node name="Cane" type="Sprite2D" parent="Cane"]
z_index = 1
material = SubResource("ShaderMaterial_10gp6")
position = Vector2(33, -144)
rotation = 0.259168
scale = Vector2(0.499215, 0.499215)
texture = ExtResource("2_tpmay")
[node name="CollisionCane" type="CollisionShape2D" parent="Cane"]
position = Vector2(35, -139)
scale = Vector2(2, 2)
shape = SubResource("CircleShape2D_1rmcf")
[node name="Crow" parent="." instance=ExtResource("3_3g3ab")]
z_index = 1
position = Vector2(50, 133)
[node name="exitDoor" type="Area2D" parent="."]
script = ExtResource("6_2xevs")
[node name="CollisionDoor" type="CollisionShape2D" parent="exitDoor"]
position = Vector2(48, 148)
scale = Vector2(2, 2)
shape = SubResource("CircleShape2D_ci2m0")
[node name="Area2D" type="Area2D" parent="." node_paths=PackedStringArray("sprite")]
position = Vector2(166, 125)
script = ExtResource("3_han3g")
sprite = NodePath("LetterBlank")
transition_scene = "res://letterReveal.tscn"
interactable_area_name = "note"
reposition = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2(0, 1)
shape = SubResource("CircleShape2D_birbv")
[node name="LetterBlank" type="Sprite2D" parent="Area2D"]
material = SubResource("ShaderMaterial_6yqql")
position = Vector2(-0.999991, 2)
scale = Vector2(0.359043, 0.337766)
texture = ExtResource("7_rympj")
[node name="Area2D2" type="Area2D" parent="." node_paths=PackedStringArray("sprite")]
position = Vector2(131, 100)
scale = Vector2(0.135869, 0.116667)
script = ExtResource("8_3j0sf")
sprite = NodePath("Crystals")
obj_type = 2
interactable_area_name = "crystal"
[node name="Crystals" type="Sprite2D" parent="Area2D2"]
material = SubResource("ShaderMaterial_7tapc")
position = Vector2(5.28979, 9.64282)
scale = Vector2(1.45998, 1.64285)
texture = SubResource("CompressedTexture2D_51pfp")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D2"]
position = Vector2(7.36001, 8.57143)
shape = SubResource("CircleShape2D_701cl")
[connection signal="body_entered" from="Cane" to="Cane" method="_on_body_entered"]
[connection signal="body_exited" from="Cane" to="Cane" method="_on_body_exited"]
[connection signal="body_entered" from="exitDoor" to="exitDoor" method="_on_body_entered"]
[connection signal="body_exited" from="exitDoor" to="exitDoor" method="_on_body_exited"]
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]
[connection signal="body_exited" from="Area2D" to="Area2D" method="_on_body_exited"]
[connection signal="mouse_entered" from="Area2D2" to="Area2D2" method="_on_mouse_entered"]
[connection signal="mouse_exited" from="Area2D2" to="Area2D2" method="_on_mouse_exited"]