2020-09-03 23:05:18 +08:00
|
|
|
[gd_scene load_steps=29 format=2]
|
2020-08-21 10:16:32 +08:00
|
|
|
|
|
|
|
[ext_resource path="res://src/levels/Level1.tscn" type="PackedScene" id=1]
|
2020-09-03 23:05:18 +08:00
|
|
|
[ext_resource path="res://src/utils/TouchScrollContainer.gd" type="Script" id=2]
|
2020-08-21 10:16:32 +08:00
|
|
|
[ext_resource path="res://assets/sounds/bgm.ogg" type="AudioStream" id=5]
|
|
|
|
[ext_resource path="res://assets/images/ground.png" type="Texture" id=6]
|
|
|
|
[ext_resource path="res://assets/images/icons_old.png" type="Texture" id=7]
|
|
|
|
[ext_resource path="res://assets/fonts/Droid Sans Fallback.tres" type="DynamicFont" id=8]
|
|
|
|
[ext_resource path="res://src/level/LevelsManager.gd" type="Script" id=10]
|
|
|
|
[ext_resource path="res://src/hud/HUD.gd" type="Script" id=11]
|
|
|
|
[ext_resource path="res://Main.gd" type="Script" id=12]
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=1]
|
|
|
|
atlas = ExtResource( 7 )
|
|
|
|
region = Rect2( 0, 0, 32, 32 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=2]
|
|
|
|
atlas = ExtResource( 7 )
|
|
|
|
region = Rect2( 0, 96, 32, 32 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=3]
|
|
|
|
atlas = ExtResource( 7 )
|
|
|
|
region = Rect2( 0, 128, 32, 32 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=4]
|
|
|
|
atlas = ExtResource( 7 )
|
|
|
|
region = Rect2( 0, 160, 32, 32 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=5]
|
|
|
|
atlas = ExtResource( 7 )
|
2020-09-05 13:33:18 +08:00
|
|
|
region = Rect2( 0, 224, 32, 32 )
|
2020-08-21 10:16:32 +08:00
|
|
|
|
|
|
|
[sub_resource type="StreamTexture" id=6]
|
|
|
|
load_path = "res://.import/icons_old.png-15488db7964fa7b4e69cdc7d96c7bd7f.stex"
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=7]
|
|
|
|
atlas = SubResource( 6 )
|
|
|
|
region = Rect2( 0, 320, 32, 32 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=8]
|
|
|
|
atlas = SubResource( 6 )
|
|
|
|
region = Rect2( 0, 352, 32, 32 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=9]
|
|
|
|
atlas = SubResource( 6 )
|
|
|
|
region = Rect2( 0, 384, 32, 32 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=10]
|
|
|
|
atlas = SubResource( 6 )
|
|
|
|
region = Rect2( 0, 544, 32, 32 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=11]
|
|
|
|
atlas = SubResource( 6 )
|
|
|
|
region = Rect2( 0, 448, 32, 32 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=12]
|
|
|
|
atlas = SubResource( 6 )
|
|
|
|
region = Rect2( 0, 480, 32, 32 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=13]
|
|
|
|
atlas = SubResource( 6 )
|
|
|
|
region = Rect2( 0, 512, 32, 32 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=14]
|
|
|
|
atlas = SubResource( 6 )
|
|
|
|
region = Rect2( 0, 544, 32, 32 )
|
|
|
|
|
2020-09-03 22:30:49 +08:00
|
|
|
[sub_resource type="StyleBoxEmpty" id=15]
|
|
|
|
|
|
|
|
[sub_resource type="StyleBoxEmpty" id=16]
|
|
|
|
|
|
|
|
[sub_resource type="StyleBoxEmpty" id=17]
|
|
|
|
|
|
|
|
[sub_resource type="StyleBoxEmpty" id=18]
|
|
|
|
|
|
|
|
[sub_resource type="StyleBoxEmpty" id=19]
|
|
|
|
|
2020-08-21 10:16:32 +08:00
|
|
|
[node name="Main" type="Node2D"]
|
|
|
|
script = ExtResource( 12 )
|
|
|
|
|
|
|
|
[node name="HUD" type="CanvasLayer" parent="."]
|
|
|
|
script = ExtResource( 11 )
|
|
|
|
|
|
|
|
[node name="HeaderBackground" type="TextureRect" parent="HUD"]
|
2020-08-22 16:55:03 +08:00
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
margin_left = -207.0
|
|
|
|
margin_right = 207.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_bottom = 96.0
|
|
|
|
texture = ExtResource( 6 )
|
|
|
|
stretch_mode = 2
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="HUD/HeaderBackground"]
|
|
|
|
margin_left = 16.0
|
2020-08-22 14:49:34 +08:00
|
|
|
margin_top = 14.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_right = 398.0
|
2020-08-22 14:49:34 +08:00
|
|
|
margin_bottom = 46.0
|
2020-08-21 10:16:32 +08:00
|
|
|
columns = 6
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Location" type="TextureRect" parent="HUD/HeaderBackground/GridContainer"]
|
|
|
|
margin_right = 32.0
|
|
|
|
margin_bottom = 32.0
|
|
|
|
texture = SubResource( 1 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="LevelLabel" type="Label" parent="HUD/HeaderBackground/GridContainer"]
|
2020-09-03 12:13:21 +08:00
|
|
|
margin_left = 40.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_top = 5.0
|
2020-09-03 12:13:21 +08:00
|
|
|
margin_right = 122.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_bottom = 27.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
custom_fonts/font = ExtResource( 8 )
|
|
|
|
text = "1层"
|
|
|
|
valign = 1
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Location2" type="TextureRect" parent="HUD/HeaderBackground/GridContainer"]
|
2020-09-03 12:13:21 +08:00
|
|
|
margin_left = 130.0
|
|
|
|
margin_right = 162.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_bottom = 32.0
|
|
|
|
texture = SubResource( 2 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="HpLabel" type="Label" parent="HUD/HeaderBackground/GridContainer"]
|
2020-09-03 12:13:21 +08:00
|
|
|
margin_left = 170.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_top = 5.0
|
|
|
|
margin_right = 252.0
|
|
|
|
margin_bottom = 27.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
custom_fonts/font = ExtResource( 8 )
|
|
|
|
text = "1000"
|
|
|
|
valign = 1
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Location3" type="TextureRect" parent="HUD/HeaderBackground/GridContainer"]
|
2020-09-03 12:13:21 +08:00
|
|
|
margin_left = 260.0
|
|
|
|
margin_right = 292.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_bottom = 32.0
|
|
|
|
texture = SubResource( 3 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="AtkLabel" type="Label" parent="HUD/HeaderBackground/GridContainer"]
|
2020-09-03 12:13:21 +08:00
|
|
|
margin_left = 300.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_top = 5.0
|
2020-09-03 12:13:21 +08:00
|
|
|
margin_right = 382.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_bottom = 27.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
custom_fonts/font = ExtResource( 8 )
|
2020-09-03 15:43:19 +08:00
|
|
|
text = "100"
|
2020-08-21 10:16:32 +08:00
|
|
|
valign = 1
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="GridContainer2" type="GridContainer" parent="HUD/HeaderBackground"]
|
|
|
|
margin_left = 16.0
|
2020-08-22 14:49:34 +08:00
|
|
|
margin_top = 54.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_right = 268.0
|
2020-08-22 14:49:34 +08:00
|
|
|
margin_bottom = 86.0
|
2020-08-21 10:16:32 +08:00
|
|
|
columns = 4
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Location" type="TextureRect" parent="HUD/HeaderBackground/GridContainer2"]
|
|
|
|
margin_right = 32.0
|
|
|
|
margin_bottom = 32.0
|
|
|
|
texture = SubResource( 4 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="DefLabel" type="Label" parent="HUD/HeaderBackground/GridContainer2"]
|
2020-09-03 12:13:21 +08:00
|
|
|
margin_left = 40.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_top = 5.0
|
2020-09-03 12:13:21 +08:00
|
|
|
margin_right = 122.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_bottom = 27.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
custom_fonts/font = ExtResource( 8 )
|
2020-09-03 15:43:19 +08:00
|
|
|
text = "100"
|
2020-08-21 10:16:32 +08:00
|
|
|
valign = 1
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Location2" type="TextureRect" parent="HUD/HeaderBackground/GridContainer2"]
|
2020-09-03 12:13:21 +08:00
|
|
|
margin_left = 130.0
|
|
|
|
margin_right = 162.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_bottom = 32.0
|
|
|
|
texture = SubResource( 5 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-09-05 09:59:10 +08:00
|
|
|
[node name="MoneyLabel" type="Label" parent="HUD/HeaderBackground/GridContainer2"]
|
2020-09-03 12:13:21 +08:00
|
|
|
margin_left = 170.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_top = 5.0
|
|
|
|
margin_right = 252.0
|
|
|
|
margin_bottom = 27.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
custom_fonts/font = ExtResource( 8 )
|
|
|
|
text = "0"
|
|
|
|
valign = 1
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="GridContainer3" type="GridContainer" parent="HUD/HeaderBackground"]
|
|
|
|
margin_left = 268.0
|
2020-08-22 14:49:34 +08:00
|
|
|
margin_top = 54.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_right = 360.0
|
2020-08-22 14:49:34 +08:00
|
|
|
margin_bottom = 86.0
|
2020-08-21 10:16:32 +08:00
|
|
|
columns = 3
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="YellowKeyCount" type="Label" parent="HUD/HeaderBackground/GridContainer3"]
|
2020-09-03 12:13:21 +08:00
|
|
|
margin_right = 25.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_bottom = 32.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 7
|
|
|
|
custom_fonts/font = ExtResource( 8 )
|
2020-09-05 14:14:04 +08:00
|
|
|
custom_colors/font_color = Color( 0.866667, 0.666667, 0.533333, 1 )
|
2020-08-21 10:16:32 +08:00
|
|
|
text = "00"
|
|
|
|
align = 1
|
|
|
|
valign = 1
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="BlueKeyCount" type="Label" parent="HUD/HeaderBackground/GridContainer3"]
|
2020-09-03 12:13:21 +08:00
|
|
|
margin_left = 33.0
|
|
|
|
margin_right = 58.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_bottom = 32.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 7
|
|
|
|
custom_fonts/font = ExtResource( 8 )
|
2020-09-05 14:14:04 +08:00
|
|
|
custom_colors/font_color = Color( 0.533333, 0.533333, 0.733333, 1 )
|
2020-08-21 10:16:32 +08:00
|
|
|
text = "00"
|
|
|
|
align = 1
|
|
|
|
valign = 1
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="RedKeyCount" type="Label" parent="HUD/HeaderBackground/GridContainer3"]
|
2020-09-03 12:13:21 +08:00
|
|
|
margin_left = 66.0
|
|
|
|
margin_right = 91.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_bottom = 32.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 7
|
|
|
|
custom_fonts/font = ExtResource( 8 )
|
2020-09-05 14:14:04 +08:00
|
|
|
custom_colors/font_color = Color( 1, 0.533333, 0.533333, 1 )
|
2020-08-21 10:16:32 +08:00
|
|
|
text = "00"
|
|
|
|
align = 1
|
|
|
|
valign = 1
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="BottomBackground" type="TextureRect" parent="HUD"]
|
2020-08-22 16:55:03 +08:00
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_left = -207.0
|
|
|
|
margin_top = -32.0
|
|
|
|
margin_right = 207.0
|
2020-08-21 10:16:32 +08:00
|
|
|
texture = ExtResource( 6 )
|
|
|
|
stretch_mode = 2
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="GridContainer" parent="HUD/BottomBackground"]
|
|
|
|
anchor_left = 0.231
|
|
|
|
anchor_top = 0.238
|
|
|
|
anchor_right = 0.329
|
|
|
|
anchor_bottom = 0.238
|
|
|
|
margin_left = -87.634
|
|
|
|
margin_top = -4.616
|
|
|
|
margin_right = 221.598
|
|
|
|
margin_bottom = 27.384
|
|
|
|
rect_scale = Vector2( 0.8, 0.8 )
|
|
|
|
columns = 8
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-08-22 16:55:03 +08:00
|
|
|
[node name="BookButton" type="TextureButton" parent="HUD/BottomBackground/VBoxContainer"]
|
2020-09-05 13:25:45 +08:00
|
|
|
visible = false
|
2020-09-03 12:13:21 +08:00
|
|
|
margin_right = 36.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_bottom = 32.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
texture_normal = SubResource( 7 )
|
|
|
|
|
|
|
|
[node name="TextureButton2" type="TextureButton" parent="HUD/BottomBackground/VBoxContainer"]
|
2020-08-22 16:55:03 +08:00
|
|
|
visible = false
|
|
|
|
margin_right = 40.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_bottom = 32.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
texture_normal = SubResource( 8 )
|
|
|
|
|
|
|
|
[node name="TextureButton3" type="TextureButton" parent="HUD/BottomBackground/VBoxContainer"]
|
2020-08-22 16:55:03 +08:00
|
|
|
visible = false
|
|
|
|
margin_right = 40.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_bottom = 32.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
texture_normal = SubResource( 9 )
|
|
|
|
|
|
|
|
[node name="TextureButton4" type="TextureButton" parent="HUD/BottomBackground/VBoxContainer"]
|
2020-08-22 16:55:03 +08:00
|
|
|
visible = false
|
|
|
|
margin_right = 40.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_bottom = 32.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
texture_normal = SubResource( 10 )
|
|
|
|
|
|
|
|
[node name="TextureButton5" type="TextureButton" parent="HUD/BottomBackground/VBoxContainer"]
|
2020-08-22 16:55:03 +08:00
|
|
|
visible = false
|
|
|
|
margin_right = 40.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_bottom = 32.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
texture_normal = SubResource( 11 )
|
|
|
|
|
|
|
|
[node name="SaveButton" type="TextureButton" parent="HUD/BottomBackground/VBoxContainer"]
|
2020-09-05 13:25:45 +08:00
|
|
|
margin_right = 36.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_bottom = 32.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
texture_normal = SubResource( 12 )
|
|
|
|
|
|
|
|
[node name="LoadButton" type="TextureButton" parent="HUD/BottomBackground/VBoxContainer"]
|
2020-09-05 13:25:45 +08:00
|
|
|
margin_left = 44.0
|
|
|
|
margin_right = 80.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_bottom = 32.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
texture_normal = SubResource( 13 )
|
|
|
|
|
|
|
|
[node name="TextureButton8" type="TextureButton" parent="HUD/BottomBackground/VBoxContainer"]
|
2020-08-22 16:55:03 +08:00
|
|
|
visible = false
|
|
|
|
margin_left = 88.0
|
|
|
|
margin_right = 128.0
|
2020-08-21 10:16:32 +08:00
|
|
|
margin_bottom = 32.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
texture_normal = SubResource( 14 )
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="HUD/BottomBackground"]
|
|
|
|
margin_left = 288.0
|
|
|
|
margin_right = 414.0
|
|
|
|
margin_bottom = 32.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
custom_fonts/font = ExtResource( 8 )
|
|
|
|
custom_colors/font_color = Color( 1, 0.0313726, 0.0313726, 1 )
|
|
|
|
custom_colors/font_outline_modulate = Color( 0, 0, 0, 1 )
|
|
|
|
text = "Normal"
|
|
|
|
align = 1
|
|
|
|
valign = 1
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="MessageDialog" type="PopupDialog" parent="HUD"]
|
|
|
|
margin_top = 96.0
|
|
|
|
margin_right = 414.0
|
|
|
|
margin_bottom = 224.0
|
2020-09-04 21:54:46 +08:00
|
|
|
popup_exclusive = true
|
2020-08-21 10:16:32 +08:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_group_": true,
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="ContentLabel" type="Label" parent="HUD/MessageDialog"]
|
|
|
|
anchor_left = 0.022
|
|
|
|
anchor_top = 0.02
|
|
|
|
anchor_right = 0.044
|
|
|
|
anchor_bottom = 0.02
|
|
|
|
margin_left = -1.108
|
|
|
|
margin_top = 5.44
|
|
|
|
margin_right = 386.784
|
|
|
|
margin_bottom = 93.44
|
|
|
|
custom_fonts/font = ExtResource( 8 )
|
|
|
|
text = "测试"
|
|
|
|
autowrap = true
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="ClickLabel" type="Label" parent="HUD/MessageDialog"]
|
|
|
|
margin_left = 328.0
|
|
|
|
margin_top = 96.0
|
|
|
|
margin_right = 404.0
|
|
|
|
margin_bottom = 118.0
|
|
|
|
custom_fonts/font = ExtResource( 8 )
|
|
|
|
text = "点击继续..."
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-08-22 16:55:03 +08:00
|
|
|
[node name="BookDialog" type="PopupDialog" parent="HUD"]
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = -208.0
|
|
|
|
margin_top = -176.0
|
|
|
|
margin_right = 208.0
|
|
|
|
margin_bottom = 240.0
|
2020-09-04 21:54:46 +08:00
|
|
|
popup_exclusive = true
|
2020-08-22 16:55:03 +08:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="HUD/BookDialog"]
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
2020-09-03 23:05:18 +08:00
|
|
|
margin_left = -200.0
|
2020-09-03 22:30:49 +08:00
|
|
|
margin_top = -200.0
|
2020-09-03 23:05:18 +08:00
|
|
|
margin_right = 197.0
|
2020-09-03 22:30:49 +08:00
|
|
|
margin_bottom = 152.0
|
2020-09-03 23:05:18 +08:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
2020-09-03 22:30:49 +08:00
|
|
|
scroll_horizontal_enabled = false
|
2020-09-03 23:05:18 +08:00
|
|
|
script = ExtResource( 2 )
|
2020-08-22 16:55:03 +08:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="HUD/BookDialog/ScrollContainer"]
|
2020-09-03 23:05:18 +08:00
|
|
|
margin_right = 397.0
|
|
|
|
margin_bottom = 352.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
2020-09-03 22:30:49 +08:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-08-22 16:55:03 +08:00
|
|
|
|
2020-09-03 22:30:49 +08:00
|
|
|
[node name="CloseBook" type="Button" parent="HUD/BookDialog"]
|
2020-08-22 16:55:03 +08:00
|
|
|
anchor_left = 1.0
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2020-09-03 22:30:49 +08:00
|
|
|
margin_left = -103.0
|
|
|
|
margin_top = -49.1
|
|
|
|
margin_right = -15.0
|
|
|
|
margin_bottom = -15.1
|
|
|
|
custom_styles/hover = SubResource( 15 )
|
|
|
|
custom_styles/pressed = SubResource( 16 )
|
|
|
|
custom_styles/focus = SubResource( 17 )
|
|
|
|
custom_styles/disabled = SubResource( 18 )
|
|
|
|
custom_styles/normal = SubResource( 19 )
|
2020-08-22 16:55:03 +08:00
|
|
|
custom_fonts/font = ExtResource( 8 )
|
|
|
|
text = "返回游戏"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-08-21 10:16:32 +08:00
|
|
|
[node name="Level" type="Node2D" parent="."]
|
|
|
|
script = ExtResource( 10 )
|
|
|
|
|
|
|
|
[node name="Level1" parent="Level" instance=ExtResource( 1 )]
|
|
|
|
|
|
|
|
[node name="BgmSound" type="AudioStreamPlayer2D" parent="."]
|
|
|
|
stream = ExtResource( 5 )
|
|
|
|
volume_db = -10.0
|
2020-09-04 12:13:48 +08:00
|
|
|
[connection signal="popup_hide" from="HUD/BookDialog" to="HUD/BookDialog/ScrollContainer" method="_on_BookDialog_popup_hide"]
|