第二章优化
This commit is contained in:
parent
30b581fbd5
commit
f0fb0a1e4b
BIN
asset/art/scene/c03/s03_瞎子理发店/癞子特写/瞎子眼罩.png
Normal file
BIN
asset/art/scene/c03/s03_瞎子理发店/癞子特写/瞎子眼罩.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 58 KiB |
34
asset/art/scene/c03/s03_瞎子理发店/癞子特写/瞎子眼罩.png.import
Normal file
34
asset/art/scene/c03/s03_瞎子理发店/癞子特写/瞎子眼罩.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c3hl0wj0crxwn"
|
||||
path="res://.godot/imported/瞎子眼罩.png-484d3338f23592e02254691746c3b053.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://asset/art/scene/c03/s03_瞎子理发店/癞子特写/瞎子眼罩.png"
|
||||
dest_files=["res://.godot/imported/瞎子眼罩.png-484d3338f23592e02254691746c3b053.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
BIN
asset/art/scene/c03/s08_囚室/囚室洞遮罩.png
Normal file
BIN
asset/art/scene/c03/s08_囚室/囚室洞遮罩.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
34
asset/art/scene/c03/s08_囚室/囚室洞遮罩.png.import
Normal file
34
asset/art/scene/c03/s08_囚室/囚室洞遮罩.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cox13rjabjvnt"
|
||||
path="res://.godot/imported/囚室洞遮罩.png-1691e5d95a34a4d3952d32837a3dba46.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://asset/art/scene/c03/s08_囚室/囚室洞遮罩.png"
|
||||
dest_files=["res://.godot/imported/囚室洞遮罩.png-1691e5d95a34a4d3952d32837a3dba46.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
@ -365,3 +365,9 @@ func run_away():
|
||||
camera.force_offset.x = 0.0
|
||||
SceneManager.unlock_player()
|
||||
SceneManager.get_ground_loader().transition_to_scene("c02_s06", "right")
|
||||
|
||||
|
||||
# 招魂幡
|
||||
func on_spirit_flag_interacted() -> void:
|
||||
$"../DeployLayer/Event2D李氏给药完成/招魂幡".play()
|
||||
$"Sfx招魂幡".play(2.3)
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=101 format=3 uid="uid://djc2uaefhmu7"]
|
||||
[gd_scene load_steps=103 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"]
|
||||
@ -32,6 +32,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://0x7cl2cmcs6l" path="res://asset/art/scene/c02/s03_公寓一楼院子/光晕/光晕2.png" id="11_g0qhj"]
|
||||
[ext_resource type="Script" uid="uid://3p6e8f385kow" path="res://scene/ground/script/c02/event_2d_xchan_run_after_got_pliers.gd" id="11_lq23y"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://di43shn22n5ph" path="res://asset/art/gif/c00_通用动作/c00_通用动作_frames.tres" id="11_o1qbs"]
|
||||
[ext_resource type="AudioStream" uid="uid://c68e38rel4xrs" path="res://asset/audio/sfx/交互/序章/sfx_鬼差出场.ogg" id="11_pjl66"]
|
||||
[ext_resource type="Script" uid="uid://0wjaho6qkg6s" path="res://manager/event_manager/event_binder.gd" id="12_2b6vx"]
|
||||
[ext_resource type="Texture2D" uid="uid://c8b80a75k3qw6" path="res://asset/art/scene/c02/s03_公寓一楼院子/e_院子地上纸钱.png" id="14_qqdxs"]
|
||||
[ext_resource type="Texture2D" uid="uid://douwcahbhr1wt" path="res://asset/art/scene/c02/s03_公寓一楼院子/诡异效果/前侧楼梯_楼梯人群.png" id="18_crgo6"]
|
||||
@ -75,6 +76,7 @@
|
||||
[ext_resource type="Script" uid="uid://cts4fvgir2lur" path="res://scene/ground/script/c02/s03_event_2d第二章结束井边演出.gd" id="72_18q2p"]
|
||||
[ext_resource type="Script" uid="uid://bkkiyk5jkdw4d" path="res://manager/event_manager/event2d.gd" id="73_lt8c0"]
|
||||
[ext_resource type="Texture2D" uid="uid://bjdy0o0qngukl" path="res://asset/art/scene/c03/s00_院子与其他/e_运尸车.png" id="74_f5g0l"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://cmvr3lbwe3h7p" path="res://asset/art/gif/c03_特写与游戏动画/c03_特写与游戏动画_frames.tres" id="75_allmh"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_rt2lh"]
|
||||
length = 0.001
|
||||
@ -389,6 +391,12 @@ bus = &"game_sfx"
|
||||
script = ExtResource("4_ygnci")
|
||||
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
||||
|
||||
[node name="Sfx招魂幡" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="7"]
|
||||
stream = ExtResource("11_pjl66")
|
||||
bus = &"game_sfx"
|
||||
script = ExtResource("4_ygnci")
|
||||
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
||||
|
||||
[node name="BGSprite2D" parent="Ground" index="2"]
|
||||
light_mask = 5
|
||||
texture = ExtResource("3_sqv8l")
|
||||
@ -1360,17 +1368,29 @@ updater_stage_mode = "exclude"
|
||||
updater_stages = Array[int]([0])
|
||||
metadata/_custom_type_script = "uid://0wjaho6qkg6s"
|
||||
|
||||
[node name="Event2D李氏运尸车" type="Node2D" parent="Ground/DeployLayer" index="40"]
|
||||
[node name="Event2D李氏给药完成" type="Node2D" parent="Ground/DeployLayer" index="40"]
|
||||
position = Vector2(1858, 24)
|
||||
script = ExtResource("73_lt8c0")
|
||||
event_name = &"c03_li_paperwoman"
|
||||
event_stages = Array[int]([3])
|
||||
metadata/_custom_type_script = "uid://bkkiyk5jkdw4d"
|
||||
|
||||
[node name="运尸车" type="Sprite2D" parent="Ground/DeployLayer/Event2D李氏运尸车"]
|
||||
[node name="运尸车" type="Sprite2D" parent="Ground/DeployLayer/Event2D李氏给药完成"]
|
||||
position = Vector2(-22, 25)
|
||||
texture = ExtResource("74_f5g0l")
|
||||
|
||||
[node name="招魂幡" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D李氏给药完成"]
|
||||
position = Vector2(118, -30)
|
||||
sprite_frames = ExtResource("75_allmh")
|
||||
animation = &"招魂幡"
|
||||
|
||||
[node name="Ambush招魂幡" parent="Ground/DeployLayer/Event2D李氏给药完成/招魂幡" instance=ExtResource("25_iyaiw")]
|
||||
position = Vector2(10, 19)
|
||||
trigger_mode = "interact"
|
||||
one_shot = false
|
||||
cooldown_time = 2.0
|
||||
hook_method = "on_spirit_flag_interacted"
|
||||
|
||||
[node name="PointLight2D" type="PointLight2D" parent="Ground/AmbientLayer" index="0"]
|
||||
light_mask = 4
|
||||
position = Vector2(2189, -142)
|
||||
|
@ -139,7 +139,7 @@ enabled = false
|
||||
hook_character_name = "癞子"
|
||||
|
||||
[node name="Pro瞎子" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event2D癞子剪辫子"]
|
||||
position = Vector2(377, 48)
|
||||
position = Vector2(349, 44)
|
||||
sprite_frames = ExtResource("11_6ryqd")
|
||||
animation = &"方瞎子呼吸-左"
|
||||
autoplay = "方瞎子呼吸-左"
|
||||
|
@ -54,8 +54,3 @@ func _on_exit_cheat_mahjong_game(arg) -> void:
|
||||
EventManager.set_stage_if_greater("c03_mahjong_game", 3)
|
||||
EventManager.set_stage_if_greater("c03_li_paperwoman", 1)
|
||||
closeup麻将出千游戏.enabled = false
|
||||
|
||||
# 招魂幡
|
||||
func on_spirit_flag_interacted() -> void:
|
||||
$"../DeployLayer/Event李氏纸人相关/招魂幡".play()
|
||||
$"Sfx招魂幡".play(2.3)
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=30 format=3 uid="uid://c7c88hg2cl1j7"]
|
||||
[gd_scene load_steps=27 format=3 uid="uid://c7c88hg2cl1j7"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_byh4s"]
|
||||
[ext_resource type="Script" uid="uid://byw2swgt783oa" path="res://scene/ground/scene/c03/s04_李癞房间.gd" id="2_vjibx"]
|
||||
@ -7,7 +7,6 @@
|
||||
[ext_resource type="Script" uid="uid://0wjaho6qkg6s" path="res://manager/event_manager/event_binder.gd" id="4_35fjj"]
|
||||
[ext_resource type="Texture2D" uid="uid://08xrgv7s4m4b" path="res://asset/art/scene/c03/s04_李癞房间/bg_癞子房间.png" id="4_byh4s"]
|
||||
[ext_resource type="PackedScene" uid="uid://61pis75a8fdq" path="res://scene/entity/portal.tscn" id="5_4efpk"]
|
||||
[ext_resource type="AudioStream" uid="uid://c68e38rel4xrs" path="res://asset/audio/sfx/交互/序章/sfx_鬼差出场.ogg" id="5_7jj1o"]
|
||||
[ext_resource type="Texture2D" uid="uid://bdtccpvbl7e7b" path="res://asset/art/scene/c03/s04_李癞房间/fg_李癞房间前景.png" id="5_vjibx"]
|
||||
[ext_resource type="PackedScene" uid="uid://dqkxiqbq83cmq" path="res://scene/entity/closeup.tscn" id="6_dbkw8"]
|
||||
[ext_resource type="PackedScene" uid="uid://n75766ui6udi" path="res://scene/ground/script/c03/s04_closeup整理麻将游戏.tscn" id="7_jmyby"]
|
||||
@ -17,9 +16,7 @@
|
||||
[ext_resource type="Script" uid="uid://bbfyvhhhcdet8" path="res://scene/ground/script/c03/s04_event_李氏纸人相关.gd" id="11_4umel"]
|
||||
[ext_resource type="Texture2D" uid="uid://p7eeml2vadvc" path="res://asset/art/scene/c03/s04_李癞房间/李氏纸人.png" id="11_7d7lv"]
|
||||
[ext_resource type="Texture2D" uid="uid://cwrq3g5rd5i3t" path="res://asset/art/scene/c03/s04_李癞房间/花圈_无支撑.png" id="12_r0k7c"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://cmvr3lbwe3h7p" path="res://asset/art/gif/c03_特写与游戏动画/c03_特写与游戏动画_frames.tres" id="14_27fnr"]
|
||||
[ext_resource type="Texture2D" uid="uid://c1o30ess5p0ev" path="res://asset/art/scene/c03/s04_李癞房间/纸钱.png" id="14_ueha8"]
|
||||
[ext_resource type="PackedScene" uid="uid://bnf3lkcbpx1ar" path="res://scene/entity/ambush.tscn" id="14_vgq24"]
|
||||
[ext_resource type="Texture2D" uid="uid://diimwy2vwda4i" path="res://asset/art/scene/c03/s04_李癞房间/丧事柜子部件.png" id="16_4umel"]
|
||||
[ext_resource type="PackedScene" uid="uid://bq1ngudr2hnkg" path="res://scene/entity/audio/sfx2d.tscn" id="16_drhpr"]
|
||||
[ext_resource type="AudioStream" uid="uid://qvy062jtmtbn" path="res://asset/audio/mixkit/mixkit-man-coughing-2224.ogg" id="17_tk48j"]
|
||||
@ -60,12 +57,6 @@ mode = "场景背景音"
|
||||
"感应玩家操作" = false
|
||||
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
||||
|
||||
[node name="Sfx招魂幡" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="1"]
|
||||
stream = ExtResource("5_7jj1o")
|
||||
bus = &"game_sfx"
|
||||
script = ExtResource("4_0jb1q")
|
||||
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
||||
|
||||
[node name="BGSprite2D" parent="Ground" index="2"]
|
||||
light_mask = 5
|
||||
texture = ExtResource("4_byh4s")
|
||||
@ -119,18 +110,6 @@ texture = ExtResource("12_r0k7c")
|
||||
position = Vector2(316, 105)
|
||||
texture = ExtResource("14_ueha8")
|
||||
|
||||
[node name="招魂幡" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event李氏纸人相关"]
|
||||
position = Vector2(183, 10)
|
||||
sprite_frames = ExtResource("14_27fnr")
|
||||
animation = &"招魂幡"
|
||||
|
||||
[node name="Ambush招魂幡" parent="Ground/DeployLayer/Event李氏纸人相关/招魂幡" instance=ExtResource("14_vgq24")]
|
||||
position = Vector2(10, 19)
|
||||
trigger_mode = "interact"
|
||||
one_shot = false
|
||||
cooldown_time = 2.0
|
||||
hook_method = "on_spirit_flag_interacted"
|
||||
|
||||
[node name="丧事柜子部件" type="Sprite2D" parent="Ground/DeployLayer/Event李氏纸人相关"]
|
||||
position = Vector2(64, 46)
|
||||
texture = ExtResource("16_4umel")
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=29 format=3 uid="uid://c67732f2we13j"]
|
||||
[gd_scene load_steps=28 format=3 uid="uid://c67732f2we13j"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_oxs1j"]
|
||||
[ext_resource type="Script" uid="uid://dh5vxhnfnua3q" path="res://scene/ground/scene/c03/s07_屠宰间.gd" id="2_oxs1j"]
|
||||
@ -25,7 +25,6 @@
|
||||
[ext_resource type="AudioStream" uid="uid://be6xihynmvrwj" path="res://asset/audio/sfx/交互/第一章/谢幕演出_耳鸣加笑声.ogg" id="20_jjxk1"]
|
||||
[ext_resource type="Texture2D" uid="uid://cylsq5cvhlp18" path="res://asset/art/tool/point_light.png" id="21_qeidq"]
|
||||
[ext_resource type="Script" uid="uid://deysfedtyjlig" path="res://scene/ground/script/c03/s07_event胖子游戏结束演出.gd" id="22_fuomw"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://cay6bn3elw2we" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/c03_胖子游戏第一段_frames.tres" id="23_0lqrx"]
|
||||
[ext_resource type="Script" uid="uid://cphfob11f7atx" path="res://addons/property-inspector/pro_animation_sprite2d/pro_animated_sprite.gd" id="23_u2kpr"]
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_k01ve"]
|
||||
@ -83,7 +82,7 @@ status = "locked"
|
||||
prop_key = "prop_符纸钥匙"
|
||||
|
||||
[node name="portal_2" parent="Ground/DeployLayer" index="3" instance=ExtResource("6_t8dkf")]
|
||||
position = Vector2(170, 34)
|
||||
position = Vector2(559.5, 42)
|
||||
debug_note = "胖子游戏结束,回到绞肉机前"
|
||||
enabled = false
|
||||
portal_name = "2"
|
||||
@ -93,6 +92,7 @@ position = Vector2(130, 26)
|
||||
texture = ExtResource("7_5jjkx")
|
||||
|
||||
[node name="悬挂物" type="Node2D" parent="Ground/DeployLayer" index="5"]
|
||||
z_index = 11
|
||||
position = Vector2(122, 0)
|
||||
|
||||
[node name="人" type="Node2D" parent="Ground/DeployLayer/悬挂物"]
|
||||
@ -124,11 +124,10 @@ original_texture = ExtResource("9_jfgnj")
|
||||
metadata/_custom_type_script = "uid://dt8cfnm2og4h"
|
||||
|
||||
[node name="棺材怪切肉" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="6"]
|
||||
visible = false
|
||||
position = Vector2(311, -4.5)
|
||||
z_index = 9
|
||||
position = Vector2(318, 30)
|
||||
sprite_frames = ExtResource("8_isumy")
|
||||
animation = &"砍桌子"
|
||||
flip_h = true
|
||||
script = ExtResource("23_u2kpr")
|
||||
autostart = false
|
||||
action_configs = Array[Dictionary]([{
|
||||
@ -139,9 +138,7 @@ action_configs = Array[Dictionary]([{
|
||||
}])
|
||||
move_configs = Array[Dictionary]([{
|
||||
"animation": "棺材怪走路",
|
||||
"animation_next": "",
|
||||
"duration": 1e+07,
|
||||
"movement_x": 1000.0,
|
||||
"movement_x": -1000.0,
|
||||
"velocity": Vector2(-60, 0)
|
||||
}])
|
||||
debug_mov_animation = "地下呼吸帧"
|
||||
@ -162,20 +159,6 @@ event_name = &"c03_meat_grinder"
|
||||
event_stages = Array[int]([2])
|
||||
metadata/_custom_type_script = "uid://bkkiyk5jkdw4d"
|
||||
|
||||
[node name="Pro胖子掉落" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event胖子游戏结束演出"]
|
||||
position = Vector2(157, 39)
|
||||
sprite_frames = ExtResource("23_0lqrx")
|
||||
animation = &"掉下来"
|
||||
script = ExtResource("23_u2kpr")
|
||||
autostart = false
|
||||
action_configs = Array[Dictionary]([{
|
||||
"animation_intro": &"掉下来",
|
||||
&"animation_next": "瘦子动画呼吸",
|
||||
"animation_wait_time": 0.0,
|
||||
"intro_loop": 1
|
||||
}])
|
||||
metadata/_custom_type_script = "uid://cphfob11f7atx"
|
||||
|
||||
[node name="Sfx2D小蝉笑声" type="AudioStreamPlayer2D" parent="Ground/DeployLayer/Event胖子游戏结束演出"]
|
||||
position = Vector2(432, 0)
|
||||
stream = ExtResource("20_jjxk1")
|
||||
@ -192,7 +175,7 @@ texture = ExtResource("21_qeidq")
|
||||
|
||||
[node name="长桌" type="Sprite2D" parent="Ground/DeployLayer" index="8"]
|
||||
z_index = 10
|
||||
position = Vector2(348, 56.5)
|
||||
position = Vector2(345, 88)
|
||||
texture = ExtResource("7_es8d4")
|
||||
|
||||
[node name="绞肉机" type="Sprite2D" parent="Ground/DeployLayer/长桌"]
|
||||
@ -201,7 +184,7 @@ texture = ExtResource("8_thx4k")
|
||||
|
||||
[node name="Closeup绞肉机" parent="Ground/DeployLayer" index="9" instance=ExtResource("14_48a3r")]
|
||||
unique_name_in_owner = true
|
||||
position = Vector2(419, 21)
|
||||
position = Vector2(415, 44)
|
||||
packed_scene = ExtResource("15_48a3r")
|
||||
transition_effect = true
|
||||
|
||||
@ -213,7 +196,7 @@ updater_stages = Array[int]([3])
|
||||
metadata/_custom_type_script = "uid://0wjaho6qkg6s"
|
||||
|
||||
[node name="MainPlayer" parent="Ground" index="5"]
|
||||
position = Vector2(63, 95)
|
||||
position = Vector2(553, 98)
|
||||
catty_light_energy = 0.5
|
||||
player_movement_rect = Rect2(18, -158, 714, 316)
|
||||
facing_direction = Vector2(1, 0)
|
||||
|
@ -255,7 +255,7 @@ hook_method = "drop_meat_hill_3"
|
||||
position = Vector2(4562, -10)
|
||||
|
||||
[node name="End3" type="Marker2D" parent="Ground/DeployLayer" index="18"]
|
||||
position = Vector2(7820, -14)
|
||||
position = Vector2(7618, 9)
|
||||
|
||||
[node name="ChopTimer" type="Timer" parent="Ground/DeployLayer" index="19"]
|
||||
wait_time = 2.5
|
||||
|
@ -255,7 +255,6 @@ offset = Vector2(0, 50)
|
||||
points = PackedVector2Array(30, 150, 3647, 151)
|
||||
|
||||
[node name="DirectionalLight2D" parent="Ground" index="8"]
|
||||
visible = false
|
||||
energy = 0.6
|
||||
blend_mode = 1
|
||||
range_layer_min = -10
|
||||
|
@ -6,6 +6,7 @@ extends CanvasLayer
|
||||
|
||||
signal exit(success: bool)
|
||||
|
||||
@onready var glass_mask = $"瞎子眼罩" as Sprite2D
|
||||
|
||||
func _ready() -> void:
|
||||
layer = GlobalConfig.CANVAS_LAYER_LITTLE_GAME
|
||||
@ -94,6 +95,10 @@ func _braid_cutting_show() -> void:
|
||||
$AnimationPlayer.play("light_and_canvas_flipping")
|
||||
await Util.wait(1.5)
|
||||
DialogueManager.show_dialogue_balloon(GlobalConfig.DIALOG_C03, "c03_s03_理发店演出1")
|
||||
var tween = create_tween()
|
||||
tween.tween_interval(1.0)
|
||||
tween.tween_property(glass_mask, "modulate:a", 1.0, 1.0)
|
||||
await DialogueManager.dialogue_ended
|
||||
glass_mask.modulate.a = 1.0
|
||||
# 退出,播放剪辫子演出
|
||||
exit.emit(true)
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=26 format=3 uid="uid://d320nw5yrmvjo"]
|
||||
[gd_scene load_steps=27 format=3 uid="uid://d320nw5yrmvjo"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://de2smnt2my047" path="res://scene/ground/script/c03/s03_closeup癞子纸人.gd" id="1_6n6qt"]
|
||||
[ext_resource type="AudioStream" uid="uid://b5bbu858rembf" path="res://asset/audio/sfx/交互/第二章/sfx_s03_剪刀声音.ogg" id="2_2kayp"]
|
||||
@ -19,6 +19,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://ypl41mx0etds" path="res://asset/art/scene/c03/s03_瞎子理发店/癞子特写/伤口.png" id="9_eqvmt"]
|
||||
[ext_resource type="Texture2D" uid="uid://k4eplss3bx5g" path="res://asset/art/scene/c03/s03_瞎子理发店/癞子特写/刀劈特效.png" id="9_yixv2"]
|
||||
[ext_resource type="Texture2D" uid="uid://dr51e8ell86" path="res://asset/art/scene/c03/s03_瞎子理发店/癞子特写/伤口血迹.png" id="10_eqvmt"]
|
||||
[ext_resource type="Texture2D" uid="uid://c3hl0wj0crxwn" path="res://asset/art/scene/c03/s03_瞎子理发店/癞子特写/瞎子眼罩.png" id="20_6rgy3"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_nucp3"]
|
||||
length = 0.001
|
||||
@ -434,3 +435,7 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
texture = ExtResource("2_uenj0")
|
||||
|
||||
[node name="瞎子眼罩" type="Sprite2D" parent="."]
|
||||
position = Vector2(282, 158)
|
||||
texture = ExtResource("20_6rgy3")
|
||||
|
@ -26,20 +26,19 @@ func _on_ground_ready(_ground: Ground2D) -> void:
|
||||
func _fatty_game_finished_show() -> void:
|
||||
var player = SceneManager.get_player()
|
||||
var camera = SceneManager.get_camera_marker()
|
||||
var fatty_sprite = $"Pro胖子掉落"
|
||||
SceneManager.lock_player()
|
||||
player.hide_sprite = true
|
||||
player.set_facing_direction(Vector2.LEFT)
|
||||
var monster = $"../棺材怪切肉" as AnimatedSprite2D
|
||||
monster.show()
|
||||
monster.play("砍桌子")
|
||||
var sfx_monster = $"../棺材怪切肉/Sfx棺材怪切肉" as Sfx2D
|
||||
# 胖子从屠宰间桌子左侧的上方掉落,站起看向右侧
|
||||
# 镜头移动至桌子,棺材怪正在切桌上的肉块,桌面右边放着绞肉机。
|
||||
# 右侧传来小蝉(小女孩)的笑声(or喊声),棺材怪被吸引离开,向右侧爬去
|
||||
# 同时画面移回左侧,胖子不见,小蝶站在胖子原先掉落的位置(玩家可以开始操控)
|
||||
# 小蝉站在绞肉机前,玩家走近后小蝉消失。
|
||||
fatty_sprite.play("掉下来")
|
||||
await fatty_sprite.animation_finished
|
||||
#玩家在屠宰间右侧醒来,靠在墙上抬头看左侧不站起,镜头向左移动至长桌,棺材怪正在切桌上的肉块
|
||||
# 等待3s,左侧传来小蝉(小女孩)的笑声
|
||||
# 棺材怪被吸引,走向左侧缓慢离开
|
||||
#(棺材怪开始移动的同时镜头缓缓向右移动至玩家,无需播放玩家起身动作,镜头移回时直接为站立呼吸即可,玩家可以操作)
|
||||
# 往左走看到小蝉站在绞肉机前,玩家走近后小蝉消失。
|
||||
# fatty_sprite.play("掉下来")
|
||||
# await fatty_sprite.animation_finished
|
||||
var tween = create_tween()
|
||||
tween.tween_property(camera, "force_offset:x", 200.0, 3.0)
|
||||
tween.tween_interval(3.0)
|
||||
@ -55,7 +54,6 @@ func _fatty_game_finished_show() -> void:
|
||||
# 进入特写演出
|
||||
$"../Closeup绞肉机".display()
|
||||
SceneManager.unlock_player()
|
||||
player.hide_sprite = false
|
||||
camera.force_offset = Vector2.ZERO
|
||||
|
||||
|
||||
|
@ -33,6 +33,7 @@ texture = ExtResource("2_qp0t2")
|
||||
|
||||
[node name="墙洞Button" type="TextureButton" parent="."]
|
||||
unique_name_in_owner = true
|
||||
modulate = Color(0.712129, 0.712129, 0.712129, 1)
|
||||
offset_left = 266.0
|
||||
offset_top = 124.0
|
||||
offset_right = 316.0
|
||||
|
@ -4,7 +4,7 @@ extends Control
|
||||
|
||||
@onready var camera = %Camera2D as Camera2D
|
||||
|
||||
var speed := 2
|
||||
var speed := 0.2
|
||||
|
||||
func display() -> void:
|
||||
visible = true
|
||||
|
@ -1,8 +1,9 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://deniapgcn3bv7"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://deniapgcn3bv7"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c17bw2w6a8na6" path="res://scene/ground/script/c03/囚室鱼眼景深镜头.gd" id="1_tu4yy"]
|
||||
[ext_resource type="Texture2D" uid="uid://bpqkqn1j4gkn8" path="res://asset/art/scene/c03/s08_囚室/ux_囚室骸骨.png" id="2_tbbbd"]
|
||||
[ext_resource type="Shader" uid="uid://df554t3pmm2i3" path="res://scene/ground/script/c03/鱼眼镜头crt.gdshader" id="2_tu4yy"]
|
||||
[ext_resource type="Texture2D" uid="uid://cox13rjabjvnt" path="res://asset/art/scene/c03/s08_囚室/囚室洞遮罩.png" id="4_tu4yy"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_tbbbd"]
|
||||
shader = ExtResource("2_tu4yy")
|
||||
@ -16,11 +17,20 @@ shader_parameter/brightness = 6.19
|
||||
shader_parameter/distortion_amount = 0.0017
|
||||
shader_parameter/color_shift = Vector3(0.95, 1.05, 0.95)
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_tu4yy"]
|
||||
offsets = PackedFloat32Array(1)
|
||||
colors = PackedColorArray(1, 1, 1, 1)
|
||||
|
||||
[sub_resource type="GradientTexture2D" id="GradientTexture2D_qvjrd"]
|
||||
gradient = SubResource("Gradient_tu4yy")
|
||||
width = 600
|
||||
height = 300
|
||||
|
||||
[node name="囚室鱼眼景深镜头" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
script = ExtResource("1_tu4yy")
|
||||
camera_rect = Rect2(-150, -60, 300, 100)
|
||||
camera_rect = Rect2(-150, -60, 300, 70)
|
||||
metadata/_edit_horizontal_guides_ = [124.0]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
@ -40,9 +50,19 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="PointLight2D" type="PointLight2D" parent="Sprite2D"]
|
||||
energy = 0.4
|
||||
texture = SubResource("GradientTexture2D_qvjrd")
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
scale = Vector2(1.3, 1.3)
|
||||
zoom = Vector2(2.5, 2.5)
|
||||
zoom = Vector2(1.5, 1.5)
|
||||
position_smoothing_enabled = true
|
||||
position_smoothing_speed = 2.0
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="CanvasLayer"]
|
||||
texture = ExtResource("4_tu4yy")
|
||||
centered = false
|
||||
|
Loading…
Reference in New Issue
Block a user