抓药游戏入口 closeup
This commit is contained in:
parent
6a37b02f50
commit
8b0795c7cc
@ -1,5 +1,6 @@
|
||||
~ EventStage_c00
|
||||
release_stage: 0:demo 1:release
|
||||
current_chapter_stage: 1:序章 2:第一章 3:第二章 4:第三章 5:第四章 6:尾声
|
||||
=> END
|
||||
|
||||
~ EventStage_c02
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=82 format=3 uid="uid://djc2uaefhmu7"]
|
||||
[gd_scene load_steps=83 format=3 uid="uid://djc2uaefhmu7"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_0dylx"]
|
||||
[ext_resource type="Script" uid="uid://dsp5plrdkrsd7" path="res://scene/ground/scene/c02/s03_院子.gd" id="2_dt5aj"]
|
||||
@ -55,6 +55,7 @@
|
||||
[ext_resource type="PackedScene" uid="uid://0sofmhrl358m" path="res://scene/entity/npc.tscn" id="35_plfv5"]
|
||||
[ext_resource type="Texture2D" uid="uid://3hruwr03tox1" path="res://asset/art/gif/c02_一楼火灾/7-最左木箱 烧痕.png" id="36_rnk1v"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://b0icyhxpj16tv" path="res://asset/art/gif/c02_谢幕演出/c02_谢幕演出_frames.tres" id="39_rnk1v"]
|
||||
[ext_resource type="PackedScene" uid="uid://cpxt082my5yac" path="res://scene/ground/script/c02/s03_closeup抓药游戏.tscn" id="45_fxne6"]
|
||||
[ext_resource type="AudioStream" uid="uid://dxoj6vg0wrj0j" path="res://asset/audio/peiyin_new/c02/c02_8小男孩童谣.wav" id="46_qqdxs"]
|
||||
[ext_resource type="Script" uid="uid://cnt01hiw52bmn" path="res://scene/entity/ux/sign_snapper.gd" id="51_vddfx"]
|
||||
[ext_resource type="AudioStream" uid="uid://bxp3f263aaqkp" path="res://asset/audio/sfx/脚步/02_室外_1.wav" id="52_qqdxs"]
|
||||
@ -664,40 +665,54 @@ z_index = 10
|
||||
position = Vector2(2062, 60)
|
||||
texture = ExtResource("21_4n8vm")
|
||||
|
||||
[node name="药车" type="Sprite2D" parent="Ground/DeployLayer" index="24"]
|
||||
[node name="Closeup敲门游戏" parent="Ground/DeployLayer" index="24" instance=ExtResource("23_81juy")]
|
||||
position = Vector2(466, 3)
|
||||
packed_scene = ExtResource("24_0o4rt")
|
||||
collision_width_and_x = Vector2(40, 0)
|
||||
|
||||
[node name="药车" type="Sprite2D" parent="Ground/DeployLayer" index="25"]
|
||||
light_mask = 5
|
||||
z_index = 10
|
||||
position = Vector2(1025, 27)
|
||||
texture = ExtResource("22_3y5s5")
|
||||
|
||||
[node name="Closeup敲门游戏" parent="Ground/DeployLayer" index="25" instance=ExtResource("23_81juy")]
|
||||
position = Vector2(466, 3)
|
||||
packed_scene = ExtResource("24_0o4rt")
|
||||
[node name="Closeup抓药游戏" parent="Ground/DeployLayer" index="26" instance=ExtResource("23_81juy")]
|
||||
position = Vector2(1058, 33)
|
||||
packed_scene = ExtResource("45_fxne6")
|
||||
quit_closeup_on_cancel = false
|
||||
collision_width_and_x = Vector2(40, 0)
|
||||
|
||||
[node name="Ambush惊悚闪电" parent="Ground/DeployLayer" index="26" instance=ExtResource("25_iyaiw")]
|
||||
[node name="EventBinder" type="Node" parent="Ground/DeployLayer/Closeup抓药游戏"]
|
||||
script = ExtResource("12_2b6vx")
|
||||
memo = "current_chapter_stage=[3:第二章|4:第三章|5:第四章|6:尾声] 时,启用: [抓药游戏]
|
||||
"
|
||||
updater_event = &"current_chapter_stage"
|
||||
updater_stages = Array[int]([3, 4, 5, 6])
|
||||
metadata/_custom_type_script = "uid://0wjaho6qkg6s"
|
||||
|
||||
[node name="Ambush惊悚闪电" parent="Ground/DeployLayer" index="27" instance=ExtResource("25_iyaiw")]
|
||||
position = Vector2(1319, 40)
|
||||
hook_method = "shocking_lighting"
|
||||
|
||||
[node name="Ambush偷听对话" parent="Ground/DeployLayer" index="27" instance=ExtResource("25_iyaiw")]
|
||||
[node name="Ambush偷听对话" parent="Ground/DeployLayer" index="28" instance=ExtResource("25_iyaiw")]
|
||||
position = Vector2(1836, 7)
|
||||
trigger_mode = "interact"
|
||||
one_shot = false
|
||||
hook_method = "eavesdrop"
|
||||
|
||||
[node name="李氏赖子房间人影" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="28"]
|
||||
[node name="李氏赖子房间人影" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="29"]
|
||||
position = Vector2(1835, -16)
|
||||
sprite_frames = SubResource("SpriteFrames_0o4rt")
|
||||
autoplay = "default"
|
||||
frame_progress = 0.643855
|
||||
|
||||
[node name="Closeup井" parent="Ground/DeployLayer" index="29" instance=ExtResource("23_81juy")]
|
||||
[node name="Closeup井" parent="Ground/DeployLayer" index="30" instance=ExtResource("23_81juy")]
|
||||
z_index = 6
|
||||
position = Vector2(2063, 50)
|
||||
packed_scene = ExtResource("26_yy4fp")
|
||||
action_key = 3
|
||||
|
||||
[node name="Npc井边疯子" parent="Ground/DeployLayer" index="30" instance=ExtResource("35_plfv5")]
|
||||
[node name="Npc井边疯子" parent="Ground/DeployLayer" index="31" instance=ExtResource("35_plfv5")]
|
||||
z_index = 10
|
||||
position = Vector2(2037, 67)
|
||||
sprite_frames = ExtResource("4_gd6xp")
|
||||
@ -711,7 +726,7 @@ sign_x_offset = -2.0
|
||||
collision_width_and_x = Vector2(37.08, 0)
|
||||
dialogue_title = "c02_井边疯子对话"
|
||||
|
||||
[node name="霸凌" type="Node2D" parent="Ground/DeployLayer" index="31"]
|
||||
[node name="霸凌" type="Node2D" parent="Ground/DeployLayer" index="32"]
|
||||
visible = false
|
||||
position = Vector2(2154, 60)
|
||||
|
||||
@ -774,7 +789,7 @@ collision_mask = 0
|
||||
shape = SubResource("RectangleShape2D_d7h4s")
|
||||
disabled = true
|
||||
|
||||
[node name="火灾" type="Node2D" parent="Ground/DeployLayer" index="32"]
|
||||
[node name="火灾" type="Node2D" parent="Ground/DeployLayer" index="33"]
|
||||
visible = false
|
||||
|
||||
[node name="右窗" type="AnimatedSprite2D" parent="Ground/DeployLayer/火灾"]
|
||||
@ -1016,7 +1031,7 @@ script = ExtResource("54_o1qbs")
|
||||
loop = true
|
||||
metadata/_custom_type_script = "uid://wapo47a1oddf"
|
||||
|
||||
[node name="Interactable柜子" parent="Ground/DeployLayer" index="33" instance=ExtResource("8_xt8j0")]
|
||||
[node name="Interactable柜子" parent="Ground/DeployLayer" index="34" instance=ExtResource("8_xt8j0")]
|
||||
visible = false
|
||||
position = Vector2(1772, 48)
|
||||
texture = ExtResource("32_cpifc")
|
||||
@ -1032,7 +1047,7 @@ animation = &"箱子着火"
|
||||
autoplay = "箱子着火"
|
||||
frame_progress = 0.453645
|
||||
|
||||
[node name="Note柜子可放置区域" parent="Ground/DeployLayer" index="34" instance=ExtResource("6_t48d1")]
|
||||
[node name="Note柜子可放置区域" parent="Ground/DeployLayer" index="35" instance=ExtResource("6_t48d1")]
|
||||
position = Vector2(1771, 39)
|
||||
title_filter = "c02"
|
||||
note_key = "c02_柜子可放置区域"
|
||||
|
8
scene/ground/script/c02/s03_closeup抓药游戏.gd
Normal file
8
scene/ground/script/c02/s03_closeup抓药游戏.gd
Normal file
@ -0,0 +1,8 @@
|
||||
extends CanvasLayer
|
||||
|
||||
signal exit(arg)
|
||||
|
||||
@onready var bg = $BG as TextureRect
|
||||
|
||||
func _ready() -> void:
|
||||
layer = GlobalConfig.CANVAS_LAYER_LITTLE_GAME
|
1
scene/ground/script/c02/s03_closeup抓药游戏.gd.uid
Normal file
1
scene/ground/script/c02/s03_closeup抓药游戏.gd.uid
Normal file
@ -0,0 +1 @@
|
||||
uid://dj2b4f3soxki5
|
60
scene/ground/script/c02/s03_closeup抓药游戏.tscn
Normal file
60
scene/ground/script/c02/s03_closeup抓药游戏.tscn
Normal file
@ -0,0 +1,60 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://cpxt082my5yac"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dj2b4f3soxki5" path="res://scene/ground/script/c02/s03_closeup抓药游戏.gd" id="1_0wbm3"]
|
||||
[ext_resource type="Texture2D" uid="uid://ce8euf2e6amwf" path="res://asset/art/scene/c03/s07_屠宰间/肉袋.png" id="2_0wbm3"]
|
||||
[ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/遮罩/inspect特写通用遮罩.png" id="2_wtw10"]
|
||||
[ext_resource type="PackedScene" uid="uid://dmysq4sxx8iqh" path="res://scene/entity/ux/content_inspector.tscn" id="3_h2dug"]
|
||||
[ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/遮罩/inspect背景遮罩.png" id="5_qafag"]
|
||||
[ext_resource type="Script" uid="uid://dpocj5al0rvai" path="res://ui/text_helper.gd" id="6_y0m4i"]
|
||||
|
||||
[node name="Closeup抓药游戏" type="CanvasLayer"]
|
||||
script = ExtResource("1_0wbm3")
|
||||
|
||||
[node name="BG" type="TextureRect" parent="."]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 0
|
||||
texture = ExtResource("2_0wbm3")
|
||||
|
||||
[node name="遮罩" type="TextureRect" parent="."]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
texture = ExtResource("2_wtw10")
|
||||
|
||||
[node name="ContentInspector" parent="." instance=ExtResource("3_h2dug")]
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="遮罩" type="TextureRect" parent="ContentInspector"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
texture = ExtResource("5_qafag")
|
||||
|
||||
[node name="Label" type="Label" parent="ContentInspector/遮罩"]
|
||||
custom_minimum_size = Vector2(180, 0)
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -60.0
|
||||
offset_top = -15.5
|
||||
offset_right = 60.0
|
||||
offset_bottom = 15.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 3
|
||||
script = ExtResource("6_y0m4i")
|
Loading…
Reference in New Issue
Block a user