added locks to the scenes

This commit is contained in:
2023-02-10 20:13:10 +01:00
parent e1318d657e
commit c49a89eada
3 changed files with 22 additions and 3 deletions

View File

@@ -28,6 +28,7 @@ offset_bottom = 19.6479
grow_horizontal = 2 grow_horizontal = 2
grow_vertical = 0 grow_vertical = 0
color = Color(0.0705882, 0.0705882, 0.0705882, 1) color = Color(0.0705882, 0.0705882, 0.0705882, 1)
metadata/_edit_lock_ = true
[node name="rich_text_label" type="RichTextLabel" parent="box"] [node name="rich_text_label" type="RichTextLabel" parent="box"]
layout_mode = 1 layout_mode = 1
@@ -47,6 +48,7 @@ theme_override_fonts/normal_font = ExtResource("2_qrihj")
theme_override_font_sizes/normal_font_size = 32 theme_override_font_sizes/normal_font_size = 32
bbcode_enabled = true bbcode_enabled = true
scroll_active = false scroll_active = false
metadata/_edit_lock_ = true
[node name="name_label" type="Label" parent="box"] [node name="name_label" type="Label" parent="box"]
layout_mode = 1 layout_mode = 1
@@ -63,6 +65,7 @@ theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_fonts/font = ExtResource("2_qrihj") theme_override_fonts/font = ExtResource("2_qrihj")
theme_override_font_sizes/font_size = 36 theme_override_font_sizes/font_size = 36
text = "???" text = "???"
metadata/_edit_lock_ = true
[node name="panel_container" type="PanelContainer" parent="box"] [node name="panel_container" type="PanelContainer" parent="box"]
visible = false visible = false
@@ -81,6 +84,7 @@ grow_vertical = 0
size_flags_horizontal = 8 size_flags_horizontal = 8
size_flags_vertical = 8 size_flags_vertical = 8
theme_override_styles/panel = SubResource("StyleBoxEmpty_5w2xu") theme_override_styles/panel = SubResource("StyleBoxEmpty_5w2xu")
metadata/_edit_lock_ = true
[node name="nine_patch_rect" type="NinePatchRect" parent="box/panel_container"] [node name="nine_patch_rect" type="NinePatchRect" parent="box/panel_container"]
layout_mode = 2 layout_mode = 2
@@ -89,6 +93,7 @@ patch_margin_left = 50
patch_margin_top = 50 patch_margin_top = 50
patch_margin_right = 50 patch_margin_right = 50
patch_margin_bottom = 50 patch_margin_bottom = 50
metadata/_edit_lock_ = true
[node name="margin_container" type="MarginContainer" parent="box/panel_container"] [node name="margin_container" type="MarginContainer" parent="box/panel_container"]
layout_mode = 2 layout_mode = 2
@@ -96,3 +101,4 @@ theme_override_constants/margin_left = 40
theme_override_constants/margin_top = 30 theme_override_constants/margin_top = 30
theme_override_constants/margin_right = 60 theme_override_constants/margin_right = 60
theme_override_constants/margin_bottom = 30 theme_override_constants/margin_bottom = 30
metadata/_edit_lock_ = true

View File

@@ -93,8 +93,10 @@ process_mode = 1
position = Vector2(-1, 0) position = Vector2(-1, 0)
floor_stop_on_slope = false floor_stop_on_slope = false
script = ExtResource("1_qehox") script = ExtResource("1_qehox")
metadata/_edit_lock_ = true
[node name="rotation_center" type="Marker2D" parent="."] [node name="rotation_center" type="Marker2D" parent="."]
metadata/_edit_lock_ = true
[node name="ray_cast_2d" type="RayCast2D" parent="rotation_center"] [node name="ray_cast_2d" type="RayCast2D" parent="rotation_center"]
rotation = 3.14159 rotation = 3.14159
@@ -103,17 +105,20 @@ collision_mask = 2
hit_from_inside = true hit_from_inside = true
collide_with_areas = true collide_with_areas = true
collide_with_bodies = false collide_with_bodies = false
metadata/_edit_lock_ = true
[node name="animated_sprite_2d" type="AnimatedSprite2D" parent="."] [node name="animated_sprite_2d" type="AnimatedSprite2D" parent="."]
texture_filter = 1 texture_filter = 1
scale = Vector2(0.733398, 0.733398) scale = Vector2(0.733398, 0.733398)
sprite_frames = SubResource("SpriteFrames_2x1cy") sprite_frames = SubResource("SpriteFrames_2x1cy")
animation = &"move_down" animation = &"move_down"
metadata/_edit_lock_ = true
[node name="collision_shape" type="CollisionShape2D" parent="."] [node name="collision_shape" type="CollisionShape2D" parent="."]
position = Vector2(0, 31) position = Vector2(0, 31)
rotation = 1.57345 rotation = 1.57345
shape = SubResource("CapsuleShape2D_38v5o") shape = SubResource("CapsuleShape2D_38v5o")
metadata/_edit_lock_ = true
[node name="camera_2d" type="Camera2D" parent="."] [node name="camera_2d" type="Camera2D" parent="."]
zoom = Vector2(0.8, 0.8) zoom = Vector2(0.8, 0.8)
@@ -127,9 +132,11 @@ drag_top_margin = 0.15
drag_right_margin = 0.15 drag_right_margin = 0.15
drag_bottom_margin = 0.15 drag_bottom_margin = 0.15
editor_draw_drag_margin = true editor_draw_drag_margin = true
metadata/_edit_lock_ = true
[node name="audio_listener_2d" type="AudioListener2D" parent="."] [node name="audio_listener_2d" type="AudioListener2D" parent="."]
current = true current = true
metadata/_edit_lock_ = true
[node name="dialog_bubble" parent="." instance=ExtResource("3_8f573")] [node name="dialog_bubble" parent="." instance=ExtResource("3_8f573")]
visible = false visible = false

View File

@@ -4,25 +4,31 @@
[ext_resource type="PackedScene" path="res://scenes/dialog_trigger_area.tscn" id="2_blpmd"] [ext_resource type="PackedScene" path="res://scenes/dialog_trigger_area.tscn" id="2_blpmd"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_pchpi"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_pchpi"]
size = Vector2(64, 17.25) size = Vector2(64, 14.625)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_d78tr"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_d78tr"]
size = Vector2(64, 64) size = Vector2(64, 58)
[node name="dialogdebug_cupcake" type="StaticBody2D"] [node name="dialogdebug_cupcake" type="StaticBody2D"]
metadata/_edit_lock_ = true
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_imilm") texture = ExtResource("1_imilm")
metadata/_edit_lock_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, 23) position = Vector2(0, 21.6875)
shape = SubResource("RectangleShape2D_pchpi") shape = SubResource("RectangleShape2D_pchpi")
metadata/_edit_lock_ = true
[node name="dialog_trigger_area" parent="." instance=ExtResource("2_blpmd")] [node name="dialog_trigger_area" parent="." instance=ExtResource("2_blpmd")]
file = "res://assets/lang/en/dialogue/npcs/villager_normal.json" file = "res://assets/lang/en/dialogue/npcs/villager_normal.json"
title = "Debug cupcake" title = "Debug cupcake"
metadata/_edit_lock_ = true
[node name="collision_shape_2d" parent="dialog_trigger_area" index="0"] [node name="collision_shape_2d" parent="dialog_trigger_area" index="0"]
position = Vector2(0, -1)
shape = SubResource("RectangleShape2D_d78tr") shape = SubResource("RectangleShape2D_d78tr")
metadata/_edit_lock_ = true
[editable path="dialog_trigger_area"] [editable path="dialog_trigger_area"]