Compare commits
5 Commits
78e87f35bc
...
e79786dc23
Author | SHA1 | Date | |
---|---|---|---|
e79786dc23 | |||
d634d7a0b2 | |||
028464e743 | |||
e36c8671e2 | |||
3bed2fc3a4 |
@ -1,4 +1,4 @@
|
||||
[gd_resource type="SpriteFrames" load_steps=28 format=3 uid="uid://cvjl0m6b5oc6f"]
|
||||
[gd_resource type="SpriteFrames" load_steps=31 format=3 uid="uid://cvjl0m6b5oc6f"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://ckbbouqh1mapo" path="res://asset/art/gif/c03_棺材怪/砍桌子/0.png" id="1_iydkj"]
|
||||
[ext_resource type="Texture2D" uid="uid://dw1ncs8skt6qo" path="res://asset/art/gif/c03_棺材怪/地下呼吸帧/0.png" id="1_sim85"]
|
||||
@ -20,8 +20,11 @@
|
||||
[ext_resource type="Texture2D" uid="uid://dolqhvju6w37p" path="res://asset/art/gif/c03_棺材怪/棺材怪受惊/2.png" id="15_r7cqh"]
|
||||
[ext_resource type="Texture2D" uid="uid://cj8bhyeispud7" path="res://asset/art/gif/c03_棺材怪/棺材怪受惊/3.png" id="16_6iwnc"]
|
||||
[ext_resource type="Texture2D" uid="uid://doa4s1rlf57ec" path="res://asset/art/gif/c03_棺材怪/棺材怪走路/0.png" id="17_5j20w"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_棺材怪/棺材怪受惊_呼吸/0.png" id="17_gjgq1"]
|
||||
[ext_resource type="Texture2D" uid="uid://be1csxrctn75b" path="res://asset/art/gif/c03_棺材怪/棺材怪走路/1.png" id="18_0h5aq"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_棺材怪/棺材怪受惊_呼吸/1.png" id="18_gawdl"]
|
||||
[ext_resource type="Texture2D" uid="uid://bmfdak3dd3l3v" path="res://asset/art/gif/c03_棺材怪/棺材怪走路/2.png" id="19_l366s"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_棺材怪/棺材怪受惊_呼吸/2.png" id="19_ubxjo"]
|
||||
[ext_resource type="Texture2D" uid="uid://cpvbf2up2fp3d" path="res://asset/art/gif/c03_棺材怪/棺材怪走路/3.png" id="20_q5euy"]
|
||||
[ext_resource type="Texture2D" uid="uid://bl2qevd1sbe7y" path="res://asset/art/gif/c03_棺材怪/爬墙循环动画/0.png" id="21_bse6b"]
|
||||
[ext_resource type="Texture2D" uid="uid://mcr3gajkr1kk" path="res://asset/art/gif/c03_棺材怪/爬墙循环动画/1.png" id="22_vpwxa"]
|
||||
@ -100,6 +103,20 @@ animations = [{
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 6.0,
|
||||
"texture": ExtResource("17_gjgq1")
|
||||
}, {
|
||||
"duration": 30.0,
|
||||
"texture": ExtResource("18_gawdl")
|
||||
}, {
|
||||
"duration": 45.0,
|
||||
"texture": ExtResource("19_ubxjo")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"棺材怪受惊_呼吸",
|
||||
"speed": 30.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 6.0,
|
||||
"texture": ExtResource("17_5j20w")
|
||||
}, {
|
||||
"duration": 6.0,
|
||||
|
BIN
asset/art/gif/c03_棺材怪/棺材怪受惊_呼吸/0.png
Normal file
After Width: | Height: | Size: 8.7 KiB |
34
asset/art/gif/c03_棺材怪/棺材怪受惊_呼吸/0.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dkxeh156pni32"
|
||||
path="res://.godot/imported/0.png-f510368b6db39ec9401881d7c4f493ac.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://asset/art/gif/c03_棺材怪/棺材怪受惊_呼吸/0.png"
|
||||
dest_files=["res://.godot/imported/0.png-f510368b6db39ec9401881d7c4f493ac.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/gif/c03_棺材怪/棺材怪受惊_呼吸/1.png
Normal file
After Width: | Height: | Size: 8.7 KiB |
34
asset/art/gif/c03_棺材怪/棺材怪受惊_呼吸/1.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b65vwisqo8pc6"
|
||||
path="res://.godot/imported/1.png-415f30b46e7b6040f955394ee01b459b.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://asset/art/gif/c03_棺材怪/棺材怪受惊_呼吸/1.png"
|
||||
dest_files=["res://.godot/imported/1.png-415f30b46e7b6040f955394ee01b459b.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/gif/c03_棺材怪/棺材怪受惊_呼吸/2.png
Normal file
After Width: | Height: | Size: 8.8 KiB |
34
asset/art/gif/c03_棺材怪/棺材怪受惊_呼吸/2.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bhm2nsqjdc3yp"
|
||||
path="res://.godot/imported/2.png-fd125169a1c3281a5bc294377a93fe33.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://asset/art/gif/c03_棺材怪/棺材怪受惊_呼吸/2.png"
|
||||
dest_files=["res://.godot/imported/2.png-fd125169a1c3281a5bc294377a93fe33.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/gif/c03_胖子游戏/c03_棺材怪DIY素材/砍下来.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
34
asset/art/gif/c03_胖子游戏/c03_棺材怪DIY素材/砍下来.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://qwkt46cd6ofx"
|
||||
path="res://.godot/imported/砍下来.png-be1c053bd4793e3c95e3f9017c54fb51.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://asset/art/gif/c03_胖子游戏/c03_棺材怪DIY素材/砍下来.png"
|
||||
dest_files=["res://.godot/imported/砍下来.png-be1c053bd4793e3c95e3f9017c54fb51.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
|
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
34
asset/art/gif/c03_胖子游戏/c03_棺材怪DIY素材/砍下来_效果.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bqpvlq4jg2ffm"
|
||||
path="res://.godot/imported/砍下来_效果.png-65745748f89cbb773e475b77c44f6e9e.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://asset/art/gif/c03_胖子游戏/c03_棺材怪DIY素材/砍下来_效果.png"
|
||||
dest_files=["res://.godot/imported/砍下来_效果.png-65745748f89cbb773e475b77c44f6e9e.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/gif/c03_胖子游戏/c03_棺材怪DIY素材/砍下来右.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
34
asset/art/gif/c03_胖子游戏/c03_棺材怪DIY素材/砍下来右.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ctr7lckd3d83c"
|
||||
path="res://.godot/imported/砍下来右.png-12ff13d17ab893d649be7667eada0984.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://asset/art/gif/c03_胖子游戏/c03_棺材怪DIY素材/砍下来右.png"
|
||||
dest_files=["res://.godot/imported/砍下来右.png-12ff13d17ab893d649be7667eada0984.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
|
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.1 KiB |
34
asset/art/gif/c03_胖子游戏/c03_棺材怪DIY素材/砍下来右_效果.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://baifl7ns8mgmn"
|
||||
path="res://.godot/imported/砍下来右_效果.png-2d01ad2958276806aba2dfca517d25db.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://asset/art/gif/c03_胖子游戏/c03_棺材怪DIY素材/砍下来右_效果.png"
|
||||
dest_files=["res://.godot/imported/砍下来右_效果.png-2d01ad2958276806aba2dfca517d25db.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
|
@ -1,42 +1,100 @@
|
||||
[gd_resource type="SpriteFrames" load_steps=34 format=3 uid="uid://wki5e7qtniyn"]
|
||||
[gd_resource type="SpriteFrames" load_steps=42 format=3 uid="uid://wki5e7qtniyn"]
|
||||
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪移动效果/0.png" id="1_1bfo3"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪移动/0.png" id="1_3sag0"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪右砍-记得加手/0.png" id="1_ddjd1"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材整体效果/0.png" id="1_gocnt"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪移动/1.png" id="2_0dcjf"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪右砍-记得加手/1.png" id="2_1bfo3"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪移动效果/1.png" id="2_j1ego"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材整体效果/1.png" id="2_rgpbq"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪右砍-记得加手/2.png" id="3_j1ego"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪移动效果/2.png" id="3_s55rn"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材整体效果/2.png" id="3_v68yb"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材整体效果/3.png" id="4_domtr"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪移动效果/3.png" id="4_gocnt"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪右砍-记得加手/3.png" id="4_s55rn"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍-记得加手/0.png" id="5_2j3c0"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材整体效果/4.png" id="5_063np"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪移动效果/4.png" id="5_rgpbq"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍-记得加手/1.png" id="6_nysf7"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材整体效果/5.png" id="6_vviol"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍-记得加手/2.png" id="7_0vrf3"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材整体效果/6.png" id="7_po16o"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材整体效果/7.png" id="8_3pxk2"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍-记得加手/3.png" id="8_g0hd4"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍人效果/0.png" id="9_3gq86"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍人效果/1.png" id="10_j3hcn"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍人效果/2.png" id="11_x0277"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍人效果/3.png" id="12_b2afe"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍效果-有手/0.png" id="13_jgbc1"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍效果-有手/1.png" id="14_mfcqr"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍效果-有手/2.png" id="15_ghc5s"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍效果-有手/3.png" id="16_ugata"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪移动右/0.png" id="19_82byw"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪移动右/1.png" id="20_pjkh2"]
|
||||
[ext_resource type="Texture2D" uid="uid://d1p1kwylx2qum" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪移动效果/0.png" id="1_1bfo3"]
|
||||
[ext_resource type="Texture2D" uid="uid://drbxkois8npto" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪移动/0.png" id="1_3sag0"]
|
||||
[ext_resource type="Texture2D" uid="uid://bognpcebg65my" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪右砍-记得加手/0.png" id="1_ddjd1"]
|
||||
[ext_resource type="Texture2D" uid="uid://cy0huf8tg10qx" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材整体效果/0.png" id="1_gocnt"]
|
||||
[ext_resource type="Texture2D" uid="uid://ctr7lckd3d83c" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪DIY素材/砍下来右.png" id="1_t7ytd"]
|
||||
[ext_resource type="Texture2D" uid="uid://bp1auuh11v7fv" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪移动/1.png" id="2_0dcjf"]
|
||||
[ext_resource type="Texture2D" uid="uid://dn10uywsk1oxc" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪右砍-记得加手/1.png" id="2_1bfo3"]
|
||||
[ext_resource type="Texture2D" uid="uid://bakmoknolypee" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪移动效果/1.png" id="2_j1ego"]
|
||||
[ext_resource type="Texture2D" uid="uid://brj81cp4ao5wv" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材整体效果/1.png" id="2_rgpbq"]
|
||||
[ext_resource type="Texture2D" uid="uid://baifl7ns8mgmn" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪DIY素材/砍下来右_效果.png" id="2_xak3r"]
|
||||
[ext_resource type="Texture2D" uid="uid://c5llibcvigeic" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪DIY素材/腿右1.png" id="3_6qp33"]
|
||||
[ext_resource type="Texture2D" uid="uid://tt0saefve6qq" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪右砍-记得加手/2.png" id="3_j1ego"]
|
||||
[ext_resource type="Texture2D" uid="uid://qwkt46cd6ofx" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪DIY素材/砍下来.png" id="3_pv11q"]
|
||||
[ext_resource type="Texture2D" uid="uid://ckd4ol2ku51j1" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪移动效果/2.png" id="3_s55rn"]
|
||||
[ext_resource type="Texture2D" uid="uid://dbd4ttg0e6spp" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材整体效果/2.png" id="3_v68yb"]
|
||||
[ext_resource type="Texture2D" uid="uid://dkvr1lnah25dg" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材整体效果/3.png" id="4_domtr"]
|
||||
[ext_resource type="Texture2D" uid="uid://bvikkw0s2v3ix" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪移动效果/3.png" id="4_gocnt"]
|
||||
[ext_resource type="Texture2D" uid="uid://bqpvlq4jg2ffm" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪DIY素材/砍下来_效果.png" id="4_gyx2o"]
|
||||
[ext_resource type="Texture2D" uid="uid://bg68iws3xgtbv" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪DIY素材/腿右2.png" id="4_kg0cu"]
|
||||
[ext_resource type="Texture2D" uid="uid://cvn7pmlb5kms" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪右砍-记得加手/3.png" id="4_s55rn"]
|
||||
[ext_resource type="Texture2D" uid="uid://br7ofgnk2vuw7" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍-记得加手/0.png" id="5_2j3c0"]
|
||||
[ext_resource type="Texture2D" uid="uid://buyjk08qfj0xj" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材整体效果/4.png" id="5_063np"]
|
||||
[ext_resource type="Texture2D" uid="uid://dm7t7narhskbp" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪移动效果/4.png" id="5_rgpbq"]
|
||||
[ext_resource type="Texture2D" uid="uid://socuafmua30t" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍-记得加手/1.png" id="6_nysf7"]
|
||||
[ext_resource type="Texture2D" uid="uid://cocycqvf5yb3a" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材整体效果/5.png" id="6_vviol"]
|
||||
[ext_resource type="Texture2D" uid="uid://4bxqhmrq8jma" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍-记得加手/2.png" id="7_0vrf3"]
|
||||
[ext_resource type="Texture2D" uid="uid://cr2vblkghkw64" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材整体效果/6.png" id="7_po16o"]
|
||||
[ext_resource type="Texture2D" uid="uid://316w7fr5mthx" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪DIY素材/腿左1.png" id="7_sjehm"]
|
||||
[ext_resource type="Texture2D" uid="uid://s5ugx2mxh1ma" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材整体效果/7.png" id="8_3pxk2"]
|
||||
[ext_resource type="Texture2D" uid="uid://dyfb7ay3fklw1" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍-记得加手/3.png" id="8_g0hd4"]
|
||||
[ext_resource type="Texture2D" uid="uid://bv5qruqsbvmt2" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪DIY素材/腿左2.png" id="8_lhvv0"]
|
||||
[ext_resource type="Texture2D" uid="uid://de3huc21uj486" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍人效果/0.png" id="9_3gq86"]
|
||||
[ext_resource type="Texture2D" uid="uid://hfpqbxycm557" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍人效果/1.png" id="10_j3hcn"]
|
||||
[ext_resource type="Texture2D" uid="uid://kvaaf34d8ux8" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍人效果/2.png" id="11_x0277"]
|
||||
[ext_resource type="Texture2D" uid="uid://clx12fnr7ikv8" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍人效果/3.png" id="12_b2afe"]
|
||||
[ext_resource type="Texture2D" uid="uid://cqm00cfesemjy" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍效果-有手/0.png" id="13_jgbc1"]
|
||||
[ext_resource type="Texture2D" uid="uid://f3nquric8q0r" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍效果-有手/1.png" id="14_mfcqr"]
|
||||
[ext_resource type="Texture2D" uid="uid://dbp63ey60ofxe" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍效果-有手/2.png" id="15_ghc5s"]
|
||||
[ext_resource type="Texture2D" uid="uid://dlfhad36uvbqf" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪砍效果-有手/3.png" id="16_ugata"]
|
||||
[ext_resource type="Texture2D" uid="uid://b35mimdxu4j1t" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪移动右/0.png" id="19_82byw"]
|
||||
[ext_resource type="Texture2D" uid="uid://bj64ykhlpocnc" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/棺材怪移动右/1.png" id="20_pjkh2"]
|
||||
|
||||
[resource]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("1_t7ytd")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_xak3r")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("1_t7ytd")
|
||||
}],
|
||||
"loop": false,
|
||||
"name": &"右手砍",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("3_6qp33")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("4_kg0cu")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"右腿",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("3_pv11q")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("4_gyx2o")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("3_pv11q")
|
||||
}],
|
||||
"loop": false,
|
||||
"name": &"左手砍",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("7_sjehm")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("8_lhvv0")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"左腿",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 6.0,
|
||||
"texture": ExtResource("1_ddjd1")
|
||||
}, {
|
||||
@ -49,8 +107,8 @@ animations = [{
|
||||
"duration": 6.0,
|
||||
"texture": ExtResource("4_s55rn")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"棺材怪右砍-记得加手",
|
||||
"loop": false,
|
||||
"name": &"棺材怪右砍",
|
||||
"speed": 30.0
|
||||
}, {
|
||||
"frames": [{
|
||||
@ -66,8 +124,8 @@ animations = [{
|
||||
"duration": 6.0,
|
||||
"texture": ExtResource("8_g0hd4")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"棺材怪砍-记得加手",
|
||||
"loop": false,
|
||||
"name": &"棺材怪左砍",
|
||||
"speed": 30.0
|
||||
}, {
|
||||
"frames": [{
|
||||
@ -83,7 +141,7 @@ animations = [{
|
||||
"duration": 6.0,
|
||||
"texture": ExtResource("12_b2afe")
|
||||
}],
|
||||
"loop": true,
|
||||
"loop": false,
|
||||
"name": &"棺材怪砍人效果",
|
||||
"speed": 30.0
|
||||
}, {
|
||||
@ -100,7 +158,7 @@ animations = [{
|
||||
"duration": 6.0,
|
||||
"texture": ExtResource("16_ugata")
|
||||
}],
|
||||
"loop": true,
|
||||
"loop": false,
|
||||
"name": &"棺材怪砍效果-有手",
|
||||
"speed": 30.0
|
||||
}, {
|
||||
|
@ -1,10 +1,10 @@
|
||||
[gd_resource type="SpriteFrames" load_steps=28 format=3 uid="uid://cay6bn3elw2we"]
|
||||
[gd_resource type="SpriteFrames" load_steps=30 format=3 uid="uid://cay6bn3elw2we"]
|
||||
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/掉下来/0.png" id="1_y0wgn"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/掉下来/1.png" id="2_bhhdr"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/掉下来/2.png" id="3_qliiw"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/掉下来/3.png" id="4_d5j5j"]
|
||||
[ext_resource type="Texture2D" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/掉下来/4.png" id="5_ny0qt"]
|
||||
[ext_resource type="Texture2D" uid="uid://um557l21w78m" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/掉下来/0.png" id="1_y0wgn"]
|
||||
[ext_resource type="Texture2D" uid="uid://b8wu67ifftltb" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/掉下来/1.png" id="2_bhhdr"]
|
||||
[ext_resource type="Texture2D" uid="uid://byctugr2xp3l6" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/掉下来/2.png" id="3_qliiw"]
|
||||
[ext_resource type="Texture2D" uid="uid://ckanwws8e2uc8" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/掉下来/3.png" id="4_d5j5j"]
|
||||
[ext_resource type="Texture2D" uid="uid://bussftn72ld3j" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/掉下来/4.png" id="5_ny0qt"]
|
||||
[ext_resource type="Texture2D" uid="uid://bv6hdx4jyxxje" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/瘦子动画/0.png" id="6_lidiq"]
|
||||
[ext_resource type="Texture2D" uid="uid://fp02vc1vsora" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/瘦子动画/1.png" id="7_r41sx"]
|
||||
[ext_resource type="Texture2D" uid="uid://bsak503ev0aeg" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/瘦子动画/2.png" id="8_y5alp"]
|
||||
@ -27,6 +27,8 @@
|
||||
[ext_resource type="Texture2D" uid="uid://ck5xbfqvhfql2" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/瘦子走路/4.png" id="20_ysb2i"]
|
||||
[ext_resource type="Texture2D" uid="uid://b4jpfjdg0ih1c" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/瘦子走路2/5.png" id="21_go642"]
|
||||
[ext_resource type="Texture2D" uid="uid://b6w81tk8quyh3" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/瘦子走路/5.png" id="21_onlwn"]
|
||||
[ext_resource type="Texture2D" uid="uid://c3l8nruvvjn1k" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子的母亲/0.png" id="37_o0t47"]
|
||||
[ext_resource type="Texture2D" uid="uid://clcon8kdudia3" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子的母亲/1.png" id="38_ujt1i"]
|
||||
|
||||
[resource]
|
||||
animations = [{
|
||||
@ -135,4 +137,15 @@ animations = [{
|
||||
"loop": true,
|
||||
"name": &"瘦子走路2",
|
||||
"speed": 30.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.5,
|
||||
"texture": ExtResource("37_o0t47")
|
||||
}, {
|
||||
"duration": 1.5,
|
||||
"texture": ExtResource("38_ujt1i")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"胖子的母亲",
|
||||
"speed": 2.0
|
||||
}]
|
||||
|
BIN
asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/0.png
Normal file
After Width: | Height: | Size: 767 B |
@ -2,16 +2,16 @@
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://qwkt46cd6ofx"
|
||||
path="res://.godot/imported/砍下来.png-535a05edfe801a9a02d79322bbb79d3a.ctex"
|
||||
uid="uid://dcknql6bl1j5f"
|
||||
path="res://.godot/imported/0.png-55cc3c5a7fa994f24894d9aa61074534.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/砍下来.png"
|
||||
dest_files=["res://.godot/imported/砍下来.png-535a05edfe801a9a02d79322bbb79d3a.ctex"]
|
||||
source_file="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/0.png"
|
||||
dest_files=["res://.godot/imported/0.png-55cc3c5a7fa994f24894d9aa61074534.ctex"]
|
||||
|
||||
[params]
|
||||
|
BIN
asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/1.png
Normal file
After Width: | Height: | Size: 717 B |
@ -2,16 +2,16 @@
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ctr7lckd3d83c"
|
||||
path="res://.godot/imported/砍下来右.png-406ce71d01c3c73c1a036e333c9af0bb.ctex"
|
||||
uid="uid://by75vuqgc6fkp"
|
||||
path="res://.godot/imported/1.png-8e7d139a0a35796d62f92931489f9261.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/砍下来右.png"
|
||||
dest_files=["res://.godot/imported/砍下来右.png-406ce71d01c3c73c1a036e333c9af0bb.ctex"]
|
||||
source_file="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/1.png"
|
||||
dest_files=["res://.godot/imported/1.png-8e7d139a0a35796d62f92931489f9261.ctex"]
|
||||
|
||||
[params]
|
||||
|
BIN
asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/2.png
Normal file
After Width: | Height: | Size: 735 B |
34
asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/2.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dbkx21l2n5bof"
|
||||
path="res://.godot/imported/2.png-509754d1926da5b4b3c4e633376c3475.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/2.png"
|
||||
dest_files=["res://.godot/imported/2.png-509754d1926da5b4b3c4e633376c3475.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/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/3.png
Normal file
After Width: | Height: | Size: 482 B |
34
asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/3.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://btg5i6pg5qx8y"
|
||||
path="res://.godot/imported/3.png-a8d4d6128351c0057f6c76ed55114f8b.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/3.png"
|
||||
dest_files=["res://.godot/imported/3.png-a8d4d6128351c0057f6c76ed55114f8b.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/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/4.png
Normal file
After Width: | Height: | Size: 295 B |
34
asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/4.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://biqt4hgyddo2n"
|
||||
path="res://.godot/imported/4.png-59ee46028c63c2876a4d8d7b5edd1a0b.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/4.png"
|
||||
dest_files=["res://.godot/imported/4.png-59ee46028c63c2876a4d8d7b5edd1a0b.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/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/5.png
Normal file
After Width: | Height: | Size: 300 B |
34
asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/5.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://mvbv76wcdnvi"
|
||||
path="res://.godot/imported/5.png-469f64ca3284341092f941fb8ae44a99.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/5.png"
|
||||
dest_files=["res://.godot/imported/5.png-469f64ca3284341092f941fb8ae44a99.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/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/6.png
Normal file
After Width: | Height: | Size: 295 B |
34
asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/6.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d11u3r8knuujh"
|
||||
path="res://.godot/imported/6.png-7a98bafff4e3a654aded1cbbdd7c0a20.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/6.png"
|
||||
dest_files=["res://.godot/imported/6.png-7a98bafff4e3a654aded1cbbdd7c0a20.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/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/7.png
Normal file
After Width: | Height: | Size: 300 B |
34
asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/7.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://df0k1vv0tnx75"
|
||||
path="res://.godot/imported/7.png-05fa4013fc755f37ee1017a7a5a035be.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/7.png"
|
||||
dest_files=["res://.godot/imported/7.png-05fa4013fc755f37ee1017a7a5a035be.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/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/8.png
Normal file
After Width: | Height: | Size: 295 B |
34
asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/8.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://r7l0ou2nvmwt"
|
||||
path="res://.godot/imported/8.png-f64d58740f0f787dffbac0cc31306bed.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/8.png"
|
||||
dest_files=["res://.godot/imported/8.png-f64d58740f0f787dffbac0cc31306bed.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/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子的母亲/0.png
Normal file
After Width: | Height: | Size: 511 B |
34
asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子的母亲/0.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c3l8nruvvjn1k"
|
||||
path="res://.godot/imported/0.png-609c96d8c2f7f969b4e6c93e2e90249c.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子的母亲/0.png"
|
||||
dest_files=["res://.godot/imported/0.png-609c96d8c2f7f969b4e6c93e2e90249c.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/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子的母亲/1.png
Normal file
After Width: | Height: | Size: 498 B |
34
asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子的母亲/1.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://clcon8kdudia3"
|
||||
path="res://.godot/imported/1.png-2bfc02b82edd9d01f1081df4ce6cf60d.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子的母亲/1.png"
|
||||
dest_files=["res://.godot/imported/1.png-2bfc02b82edd9d01f1081df4ce6cf60d.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
|
@ -21,10 +21,12 @@ c03_f2_madman_runaway: 0:初始化 1:跑开_纸人挡路 2:消除纸人
|
||||
c03_invite_xchan_supper=4 & c03_s03_laizi_braid=2 -> c03_f2_madman_runaway=2
|
||||
# 一楼浆糊演出
|
||||
c03_f1_paste_show: 0:初始化 1:演出结束
|
||||
# 李癞
|
||||
c03_before_mahjong_game: 0:初始化 1:粘舌头和刀把 2:给药 4:准备好进入游戏
|
||||
c03_mahjong_game: 0:初始化 1:麻将已给牌 2:麻将出千 3:麻将结束
|
||||
c03_li_paperwoman: 0:初始化隐藏 1:显示纸人 2:纸舌头完成 3:给药完成
|
||||
c03_drug_game: 0:初始化 1:获得药方 2:获得药包
|
||||
c03_pangzi_pull_xchan: 0:初始化 1:准备演出 2:演出完成
|
||||
# 囚室海报
|
||||
c03_prison_flyer: 0:初始化 1:刮开
|
||||
c03_prison_lock: 0:初始化 1:打开
|
||||
|
@ -207,7 +207,7 @@
|
||||
麻将 [#texture=c03/两个麻将.png] [ID:prop_两个麻将]
|
||||
王守义出老千时用的麻将{br}我听说,那会儿赌场由黑帮控制,秩序混乱,赌徒设局被抓后,往往下场凄惨,只有极少数人能够全身而退。 [ID:prop_两个麻将_说明]
|
||||
符纸 [#texture=c03/符纸纸条.png][#inspect=c03/ux_符纸纸条.png] [ID:prop_符纸]
|
||||
符纸说明 [ID:prop_符纸_说明]
|
||||
切记将符纸布于墙面和棺体,等候七日,在水中滴入髫年血,待其于水中凝固,后浇洒于棺体,事成将髫年尸首交于我,方能保你日后平安。 [ID:prop_符纸_说明]
|
||||
沾血的纸条 [#texture=c03/沾血的纸条.png] [#inspect=c03/ux_沾血的纸条.png] [ID:prop_沾血的纸条]
|
||||
文开,近日几条丘八又上门,娘仍未告诉他们你在何处,如今世道乱,苟活不耻,保命为上,盼望与儿早日重逢。[ID:prop_沾血的纸条_说明]
|
||||
=> END
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_resource type="SpriteFrames" load_steps=1035 format=3 uid="uid://b7fhheih1hbvf"]
|
||||
[gd_resource type="SpriteFrames" load_steps=1051 format=3 uid="uid://b7fhheih1hbvf"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dvq64espa37lx" path="res://asset/art/animation/c00_吕萍_idle_left/zhhx1.png" id="1_ekv0l"]
|
||||
[ext_resource type="Texture2D" uid="uid://dcp4gk5lib4bl" path="res://asset/art/animation/c00_吕萍_idle_left/zhhx2.png" id="2_fq076"]
|
||||
@ -1006,15 +1006,23 @@
|
||||
[ext_resource type="Texture2D" uid="uid://ddeuqr6awtlnf" path="res://asset/art/animation/c03_胖子_托小孩/1 (123).png" id="971_xc64a"]
|
||||
[ext_resource type="Texture2D" uid="uid://cxlcsejc8kojo" path="res://asset/art/animation/c03_胖子_托小孩/1 (124).png" id="972_fff22"]
|
||||
[ext_resource type="Texture2D" uid="uid://um557l21w78m" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/掉下来/0.png" id="1006_ta2dh"]
|
||||
[ext_resource type="Texture2D" uid="uid://snptlmrbmeoq" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第四段/瘦子吃东西/0.png" id="1006_y1qej"]
|
||||
[ext_resource type="Texture2D" uid="uid://b8wu67ifftltb" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/掉下来/1.png" id="1007_b3oxo"]
|
||||
[ext_resource type="Texture2D" uid="uid://drlnrh4g6djk4" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第四段/瘦子吃东西/1.png" id="1007_e3b0h"]
|
||||
[ext_resource type="Texture2D" uid="uid://cphvnnc0nvv77" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第四段/瘦子吃东西/2.png" id="1008_3cpbr"]
|
||||
[ext_resource type="Texture2D" uid="uid://byctugr2xp3l6" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/掉下来/2.png" id="1008_ywyre"]
|
||||
[ext_resource type="Texture2D" uid="uid://ckanwws8e2uc8" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/掉下来/3.png" id="1009_3fbfp"]
|
||||
[ext_resource type="Texture2D" uid="uid://b4onq8sds7isc" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第四段/瘦子吃东西/3.png" id="1009_4minp"]
|
||||
[ext_resource type="Texture2D" uid="uid://drkmsb1xjposn" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第四段/瘦子吃东西/4.png" id="1010_1ycs5"]
|
||||
[ext_resource type="Texture2D" uid="uid://bussftn72ld3j" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/掉下来/4.png" id="1010_ek4fg"]
|
||||
[ext_resource type="Texture2D" uid="uid://bshj8w2v0qnaq" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第四段/瘦子吃东西/5.png" id="1011_1o500"]
|
||||
[ext_resource type="Texture2D" uid="uid://dng8sbm17emf6" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第三段/从洞里爬出来动画/0.png" id="1011_hc76m"]
|
||||
[ext_resource type="Texture2D" uid="uid://ch3puhkhsrshg" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/瘦子动画呼吸/0.png" id="1011_mi2dh"]
|
||||
[ext_resource type="Texture2D" uid="uid://b5damovbe0u04" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第四段/瘦子吃东西/6.png" id="1012_1ahda"]
|
||||
[ext_resource type="Texture2D" uid="uid://da0ysgwbwbke4" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/瘦子动画呼吸/1.png" id="1012_rf8cx"]
|
||||
[ext_resource type="Texture2D" uid="uid://b12gdjjyth2se" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第三段/从洞里爬出来动画/1.png" id="1012_xeagi"]
|
||||
[ext_resource type="Texture2D" uid="uid://d10shb46jdi2g" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/瘦子动画呼吸/2.png" id="1013_dgjax"]
|
||||
[ext_resource type="Texture2D" uid="uid://dv8l1hxtbft7x" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第四段/瘦子吃东西/7.png" id="1013_osfe2"]
|
||||
[ext_resource type="Texture2D" uid="uid://cba5afx8ca5kt" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第三段/从洞里爬出来动画/2.png" id="1013_yejiu"]
|
||||
[ext_resource type="Texture2D" uid="uid://dovhxpljr8r4g" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第三段/从洞里爬出来动画/3.png" id="1014_73bfk"]
|
||||
[ext_resource type="Texture2D" uid="uid://b8r4wjpoh7sam" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/瘦子动画呼吸/3.png" id="1014_hc76m"]
|
||||
@ -1034,6 +1042,14 @@
|
||||
[ext_resource type="Texture2D" uid="uid://bh1hphpvv4aj4" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/瘦子动画/3.png" id="1024_fobul"]
|
||||
[ext_resource type="Texture2D" uid="uid://djjmlox7yqw05" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/瘦子动画/4.png" id="1025_bk40x"]
|
||||
[ext_resource type="Texture2D" uid="uid://cddc2y8yvmix6" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/瘦子动画/5.png" id="1026_sqimi"]
|
||||
[ext_resource type="Texture2D" uid="uid://by75vuqgc6fkp" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/1.png" id="1036_fobul"]
|
||||
[ext_resource type="Texture2D" uid="uid://dbkx21l2n5bof" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/2.png" id="1037_bk40x"]
|
||||
[ext_resource type="Texture2D" uid="uid://btg5i6pg5qx8y" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/3.png" id="1038_sqimi"]
|
||||
[ext_resource type="Texture2D" uid="uid://biqt4hgyddo2n" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/4.png" id="1039_686vb"]
|
||||
[ext_resource type="Texture2D" uid="uid://mvbv76wcdnvi" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/5.png" id="1040_428ge"]
|
||||
[ext_resource type="Texture2D" uid="uid://d11u3r8knuujh" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/6.png" id="1041_nis13"]
|
||||
[ext_resource type="Texture2D" uid="uid://df0k1vv0tnx75" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/7.png" id="1042_y1qej"]
|
||||
[ext_resource type="Texture2D" uid="uid://r7l0ou2nvmwt" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/胖子对半砍/8.png" id="1043_e3b0h"]
|
||||
|
||||
[resource]
|
||||
animations = [{
|
||||
@ -4484,7 +4500,20 @@ animations = [{
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("920_686vb")
|
||||
}],
|
||||
"loop": false,
|
||||
"name": &"c03_胖子_托小孩",
|
||||
"speed": 7.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("972_fff22")
|
||||
}],
|
||||
"loop": false,
|
||||
"name": &"c03_胖子_托小孩_停",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("921_428ge")
|
||||
}, {
|
||||
@ -4641,21 +4670,50 @@ animations = [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("972_fff22")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"c03_胖子_托小孩",
|
||||
"loop": false,
|
||||
"name": &"c03_胖子_拖小孩_走",
|
||||
"speed": 7.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("1006_y1qej")
|
||||
}, {
|
||||
"duration": 1.2,
|
||||
"texture": ExtResource("1007_e3b0h")
|
||||
}, {
|
||||
"duration": 2.0,
|
||||
"texture": ExtResource("1008_3cpbr")
|
||||
}, {
|
||||
"duration": 2.0,
|
||||
"texture": ExtResource("1009_4minp")
|
||||
}, {
|
||||
"duration": 2.0,
|
||||
"texture": ExtResource("1010_1ycs5")
|
||||
}, {
|
||||
"duration": 2.0,
|
||||
"texture": ExtResource("1011_1o500")
|
||||
}, {
|
||||
"duration": 1.5,
|
||||
"texture": ExtResource("1012_1ahda")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("1013_osfe2")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"c03_胖子游戏_吃东西",
|
||||
"speed": 6.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("1006_ta2dh")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("1007_b3oxo")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"duration": 6.0,
|
||||
"texture": ExtResource("1008_ywyre")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"duration": 2.0,
|
||||
"texture": ExtResource("1009_3fbfp")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
@ -4756,4 +4814,33 @@ animations = [{
|
||||
"loop": true,
|
||||
"name": &"c03_胖子游戏_瘦子跑",
|
||||
"speed": 6.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("1036_fobul")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("1037_bk40x")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("1038_sqimi")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("1039_686vb")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("1040_428ge")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("1041_nis13")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("1042_y1qej")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("1043_e3b0h")
|
||||
}],
|
||||
"loop": false,
|
||||
"name": &"c03_胖子游戏_胖子对半砍",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
@ -58,6 +58,8 @@ const CANVAS_LAYER_SHADING = 10
|
||||
const CANVAS_LAYER_LITTLE_GAME = 5
|
||||
# 前景层
|
||||
const CANVAS_LAYER_FG = 2
|
||||
# 背景兜底层
|
||||
const CANVAS_LAYER_BG_BOTTOM = -100
|
||||
|
||||
const DIALOG_IGNORE_INPUT = "ignore_input"
|
||||
# memory layer: 30
|
||||
|
@ -23,7 +23,7 @@ signal animation_finished
|
||||
@export var lock_move_right := false
|
||||
@export var reenter_lock: PlayerReenterLock
|
||||
@export var camera_marker: CameraFocusMarker
|
||||
@export_enum("吕萍", "吕萍爬行", "吕萍带小猫", "吕萍推柜子", "吕萍拉大柜子", "小小蝶", "盒子猫", "小小小蝶") var character := "吕萍":
|
||||
@export_enum("吕萍", "吕萍爬行", "吕萍带小猫", "吕萍推柜子", "吕萍拉大柜子", "小小蝶", "盒子猫", "胖子游戏", "小小小蝶") var character := "吕萍":
|
||||
set(val):
|
||||
character = val
|
||||
if is_node_ready():
|
||||
|
@ -206,6 +206,7 @@ var ANIMATION_CONFIG = {
|
||||
MOVEMENT_RUNNING: [&"", &"c03_胖子游戏_瘦子跑"],
|
||||
5: [&"c03_胖子游戏_掉下来", Vector2.ONE, Vector2(0, -51.0)],
|
||||
6: [&"c03_胖子游戏_洞里爬出来", Vector2.ONE, Vector2(-70, -44.5)],
|
||||
7: [&"c03_胖子游戏_胖子对半砍", Vector2.ONE, Vector2(0, -51.0)],
|
||||
},
|
||||
"小小小蝶":
|
||||
{
|
||||
|
@ -14,20 +14,47 @@ var _tweeked_position := Vector2.ZERO
|
||||
|
||||
var zoom_tween: Tween
|
||||
var shake_ignore_boundary := false
|
||||
|
||||
# default
|
||||
var default_camera_rect := Rect2i(0, -158, 564, 316)
|
||||
|
||||
func _ready() -> void:
|
||||
reset_speed()
|
||||
if not focusing_node:
|
||||
push_error("Focusing node not found")
|
||||
|
||||
|
||||
# 默认重置 limits
|
||||
func apply_limits(rect := default_camera_rect, replace_default := true) -> void:
|
||||
if replace_default:
|
||||
default_camera_rect = rect
|
||||
var start = rect.position
|
||||
var end = rect.end
|
||||
limit_left = start.x
|
||||
limit_right = end.x
|
||||
limit_top = start.y
|
||||
limit_bottom = end.y
|
||||
|
||||
|
||||
func reset_speed() -> void:
|
||||
speed = 2.0
|
||||
|
||||
|
||||
func shake_camera(strength := 6.0, recovery_speed := 2.0, ignore_boundary := true):
|
||||
shake_strength = strength
|
||||
shake_recovery_speed = recovery_speed
|
||||
shake_ignore_boundary = ignore_boundary
|
||||
if shake_ignore_boundary:
|
||||
_update_limit_by_strength()
|
||||
|
||||
|
||||
func _update_limit_by_strength() -> void:
|
||||
var int_s := ceili(shake_strength)
|
||||
var start = default_camera_rect.position
|
||||
var end = default_camera_rect.end
|
||||
limit_left = start.x - int_s
|
||||
limit_right = end.x + int_s
|
||||
limit_top = start.y - int_s
|
||||
limit_bottom = end.y + int_s
|
||||
|
||||
|
||||
func reset_position_immediately():
|
||||
@ -69,7 +96,8 @@ func _physics_process(delta: float) -> void:
|
||||
global_position = progressing_position
|
||||
|
||||
# handle shake
|
||||
if shake_strength > 0.0:
|
||||
if shake_strength > 0.01: #epsilon
|
||||
_update_limit_by_strength()
|
||||
# 让 shake_strength 逐帧衰减
|
||||
shake_recovery_speed = max(0.1, shake_recovery_speed)
|
||||
shake_strength = lerpf(shake_strength, 0.0, shake_recovery_speed * delta)
|
||||
@ -87,6 +115,12 @@ func _physics_process(delta: float) -> void:
|
||||
global_position += shaked_offset
|
||||
if not shake_ignore_boundary:
|
||||
global_position = _clamp_boundary(global_position)
|
||||
elif shake_ignore_boundary:
|
||||
# reset limits
|
||||
shake_ignore_boundary = false
|
||||
shake_strength = 0.0
|
||||
_update_limit_by_strength()
|
||||
|
||||
|
||||
# var taget_zoom = lerpf(zoom.x, zoom_ratio, speed * delta)
|
||||
# zoom = Vector2(taget_zoom, taget_zoom)
|
||||
|
@ -193,13 +193,10 @@ func _calculate_player_rect() -> Rect2:
|
||||
return player_rect
|
||||
|
||||
|
||||
func _apply_camera_limits(camera_rect: Rect2) -> void:
|
||||
func _apply_camera_limits(camera_rect: Rect2i) -> void:
|
||||
var camera_marker = get_camera()
|
||||
if camera_marker:
|
||||
camera_marker.limit_left = camera_rect.position.x
|
||||
camera_marker.limit_right = camera_rect.position.x + camera_rect.size.x
|
||||
camera_marker.limit_top = camera_rect.position.y
|
||||
camera_marker.limit_bottom = camera_rect.position.y + camera_rect.size.y
|
||||
camera_marker.apply_limits(camera_rect)
|
||||
|
||||
|
||||
func _apply_player_boundary(player_rect: Rect2) -> void:
|
||||
|
@ -63,6 +63,7 @@ const GROUND_SCENE_PATH_DICT: Dictionary[String, Dictionary] = {
|
||||
@export var force_archive_portal := ""
|
||||
|
||||
# Nodes
|
||||
@onready var bg_layer := $BGLayer as CanvasLayer
|
||||
@onready var mask_layer := %MaskLayer as CanvasLayer
|
||||
@onready var mask := %Mask as ColorRect
|
||||
|
||||
@ -89,7 +90,7 @@ var last_modify_time := 0
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
_setup_mask_layer()
|
||||
_setup_layer()
|
||||
if not ignore_archive:
|
||||
_load_save()
|
||||
if current_scene and entrance_portal:
|
||||
@ -97,10 +98,11 @@ func _ready() -> void:
|
||||
transition_to_scene(current_scene, entrance_portal)
|
||||
|
||||
|
||||
func _setup_mask_layer() -> void:
|
||||
func _setup_layer() -> void:
|
||||
mask.visible = true
|
||||
mask.color.a = 0.0
|
||||
mask_layer.layer = GlobalConfig.CANVAS_LAYER_GROUND_MASK
|
||||
bg_layer.layer = GlobalConfig.CANVAS_LAYER_BG_BOTTOM
|
||||
|
||||
|
||||
func _load_save() -> void:
|
||||
|
@ -7,7 +7,7 @@ script = ExtResource("1_6mjre")
|
||||
current_scene = "c01_s05"
|
||||
|
||||
[node name="BGLayer" type="CanvasLayer" parent="."]
|
||||
layer = -1
|
||||
layer = -100
|
||||
|
||||
[node name="BGColorRect" type="ColorRect" parent="BGLayer"]
|
||||
z_index = -10
|
||||
|
@ -31,7 +31,7 @@ func _on_ground_ready() -> void:
|
||||
camera.limit_bottom = 158
|
||||
await SceneManager.ground_start
|
||||
# 相机抖动
|
||||
camera.shake_camera(6.0, 1.5)
|
||||
camera.shake_camera(6.0, 2.5)
|
||||
# 不显示玩家,锁定玩家移动
|
||||
SceneManager.lock_player()
|
||||
main_character = $"../DeployLayer/车夫与吕萍"
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=69 format=3 uid="uid://cootarwb44vvh"]
|
||||
[gd_scene load_steps=72 format=3 uid="uid://cootarwb44vvh"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_qkymk"]
|
||||
[ext_resource type="Script" uid="uid://cbt0ubygchxvv" path="res://scene/ground/scene/c02/s06_二楼.gd" id="2_4dg6u"]
|
||||
@ -49,6 +49,9 @@
|
||||
[ext_resource type="Texture2D" uid="uid://b5kolhax7pf4u" path="res://asset/art/scene/c02/s06_二楼楼道/小猫纸条.png" id="37_rjlld"]
|
||||
[ext_resource type="Script" uid="uid://bnm8wuspfx303" path="res://scene/ground/script/c02/event_2d_xchan_run_away.gd" id="39_t5e0j"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://di43shn22n5ph" path="res://asset/art/gif/c00_通用动作/c00_通用动作_frames.tres" id="40_7i4w0"]
|
||||
[ext_resource type="Script" uid="uid://bc8hqbn2avyon" path="res://scene/ground/script/c02/s06_event胖子拖小蝉.gd" id="49_3pfyq"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://b7fhheih1hbvf" path="res://config/animation/entity_sprite_frames.tres" id="50_qdiuf"]
|
||||
[ext_resource type="Script" uid="uid://cphfob11f7atx" path="res://addons/property-inspector/pro_animation_sprite2d/pro_animated_sprite.gd" id="51_a5tb2"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_k01ve"]
|
||||
length = 0.001
|
||||
@ -890,7 +893,7 @@ fill_from = Vector2(0.5, 0.5)
|
||||
fill_to = Vector2(1, 1)
|
||||
|
||||
[node name="S06" type="Node2D"]
|
||||
metadata/_edit_horizontal_guides_ = [-12.0]
|
||||
metadata/_edit_horizontal_guides_ = [-12.0, 95.0]
|
||||
metadata/_edit_vertical_guides_ = [24.0]
|
||||
|
||||
[node name="Ground" parent="." instance=ExtResource("1_qkymk")]
|
||||
@ -1404,6 +1407,39 @@ move_configs = Array[Dictionary]([{
|
||||
}])
|
||||
debug_mov_animation = "c00_头套小婵_run"
|
||||
|
||||
[node name="Event胖子拖小蝉" type="Node2D" parent="Ground/DeployLayer" index="26"]
|
||||
script = ExtResource("49_3pfyq")
|
||||
event_name = &"c03_pangzi_pull_xchan"
|
||||
event_stages = Array[int]([1])
|
||||
metadata/_custom_type_script = "uid://bkkiyk5jkdw4d"
|
||||
|
||||
[node name="胖子拖小蝉" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event胖子拖小蝉"]
|
||||
position = Vector2(190, 29)
|
||||
sprite_frames = ExtResource("50_qdiuf")
|
||||
animation = &"c03_胖子_托小孩"
|
||||
script = ExtResource("51_a5tb2")
|
||||
autostart = false
|
||||
action_configs = Array[Dictionary]([{
|
||||
"animation_intro": &"c03_胖子_托小孩",
|
||||
&"animation_next": "c03_胖子_拖小孩_走",
|
||||
"animation_wait_time": 0.0,
|
||||
"intro_loop": 1
|
||||
}])
|
||||
move_configs = Array[Dictionary]([{
|
||||
"animation": "c03_胖子_拖小孩_走",
|
||||
"animation_next": "c03_胖子_托小孩_停",
|
||||
"movement_x": 450.0,
|
||||
"velocity": Vector2(80, 0)
|
||||
}])
|
||||
debug_mov_animation = "c03_胖子_拖小孩_走"
|
||||
metadata/_custom_type_script = "uid://cphfob11f7atx"
|
||||
|
||||
[node name="PointLight2D" type="PointLight2D" parent="Ground/DeployLayer/Event胖子拖小蝉/胖子拖小蝉"]
|
||||
position = Vector2(-8, -1)
|
||||
color = Color(1, 0.829639, 0.785629, 1)
|
||||
energy = 0.15
|
||||
texture = ExtResource("11_2rktm")
|
||||
|
||||
[node name="MainPlayer" parent="Ground" index="5"]
|
||||
position = Vector2(63, 95)
|
||||
catty_light_energy = 0.5
|
||||
@ -1422,7 +1458,6 @@ texture = ExtResource("5_26mqt")
|
||||
points = PackedVector2Array(26, 150, 900, 150)
|
||||
|
||||
[node name="DirectionalLight2D" parent="Ground" index="8"]
|
||||
visible = false
|
||||
energy = 0.9
|
||||
blend_mode = 1
|
||||
|
||||
|
@ -41,6 +41,7 @@ func _on_coffin_exit(arg) -> void:
|
||||
|
||||
|
||||
func _coffin_monster_climb_out() -> void:
|
||||
sfx_2d棺材呼吸声.play()
|
||||
SceneManager.lock_player()
|
||||
play("monster_first_contact")
|
||||
await Util.wait(1.0)
|
||||
@ -52,7 +53,12 @@ func _coffin_monster_climb_out() -> void:
|
||||
|
||||
func monster_disappear_ambush() -> void:
|
||||
sfx_2d棺材呼吸声.easing_kill()
|
||||
$"../DeployLayer/Pro棺材怪2/Sfx2D棺材叫儿".easing_kill(6.0)
|
||||
var monster = $"../DeployLayer/Pro棺材怪2"
|
||||
var tween = create_tween()
|
||||
tween.tween_property(monster, "modulate:a", 0.0, 0.4)
|
||||
SceneManager.pop_debug_dialog_info("音效", "棺材怪突然消失sfx")
|
||||
|
||||
|
||||
func shake_on_walking() -> void:
|
||||
SceneManager.get_camera_marker().shake_camera(2.0)
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=23 format=3 uid="uid://dfln301xllqpn"]
|
||||
[gd_scene load_steps=26 format=3 uid="uid://dfln301xllqpn"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_8vqn6"]
|
||||
[ext_resource type="Script" uid="uid://dxt2u1jajrm1g" path="res://scene/ground/scene/c03/s09_棺材房.gd" id="2_8vqn6"]
|
||||
@ -19,6 +19,8 @@
|
||||
[ext_resource type="Texture2D" uid="uid://d3rl4pyal4bao" path="res://asset/art/scene/c03/s09_棺材房/角落胖子干尸.png" id="14_htuhx"]
|
||||
[ext_resource type="AudioStream" uid="uid://b8gsppgtp8tdk" path="res://asset/audio/sfx/旧版/lvping/footstep_earth_left.ogg" id="15_qr48f"]
|
||||
[ext_resource type="Texture2D" uid="uid://cylsq5cvhlp18" path="res://asset/art/tool/point_light.png" id="15_rcrkk"]
|
||||
[ext_resource type="AudioStream" uid="uid://ce8rpo6mmrysf" path="res://asset/audio/peiyin/c03/c03_棺材怪_2.ogg" id="19_840is"]
|
||||
[ext_resource type="AudioStream" uid="uid://wt7jlambh6y" path="res://asset/audio/peiyin/c03/c03_棺材怪_3.ogg" id="20_8k23x"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_htuhx"]
|
||||
length = 0.001
|
||||
@ -118,10 +120,22 @@ tracks/7/keys = {
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
tracks/8/type = "value"
|
||||
tracks/8/imported = false
|
||||
tracks/8/enabled = true
|
||||
tracks/8/path = NodePath("DeployLayer/Pro棺材怪2/Sfx2D棺材叫儿:playing")
|
||||
tracks/8/interp = 1
|
||||
tracks/8/loop_wrap = true
|
||||
tracks/8/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_alans"]
|
||||
resource_name = "monster_first_contact"
|
||||
length = 10.0
|
||||
length = 14.5
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
@ -129,7 +143,7 @@ tracks/0/path = NodePath("DeployLayer/Pro棺材怪/呼吸声跟随1:remote_path"
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 4.83334),
|
||||
"times": PackedFloat32Array(0, 9.63334),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [NodePath("../../Sfx2D棺材呼吸声"), NodePath("")]
|
||||
@ -141,7 +155,7 @@ tracks/1/path = NodePath("DeployLayer/Pro棺材怪:position")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0, 3.66667, 4.83334),
|
||||
"times": PackedFloat32Array(0, 4.66668, 9.63334),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(453, -100), Vector2(453, -100), Vector2(-100, -100)]
|
||||
@ -153,43 +167,72 @@ tracks/2/path = NodePath("DeployLayer/Pro棺材怪2:position")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0, 5.83333, 7.26667),
|
||||
"times": PackedFloat32Array(0, 11.2, 13.2667),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(-88, 12), Vector2(-88, 12), Vector2(50, 12)]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/type = "method"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("DeployLayer/Pro棺材怪2/呼吸声跟随2:remote_path")
|
||||
tracks/3/path = NodePath("AnimationPlayer")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0, 5),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [NodePath(""), NodePath("../../Sfx2D棺材呼吸声")]
|
||||
"times": PackedFloat32Array(4.83334, 6.26667, 7.53334, 9.13334, 11.0333, 12.4667),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
|
||||
"values": [{
|
||||
"args": [],
|
||||
"method": &"shake_on_walking"
|
||||
}, {
|
||||
"args": [],
|
||||
"method": &"shake_on_walking"
|
||||
}, {
|
||||
"args": [],
|
||||
"method": &"shake_on_walking"
|
||||
}, {
|
||||
"args": [],
|
||||
"method": &"shake_on_walking"
|
||||
}, {
|
||||
"args": [],
|
||||
"method": &"shake_on_walking"
|
||||
}, {
|
||||
"args": [],
|
||||
"method": &"shake_on_walking"
|
||||
}]
|
||||
}
|
||||
tracks/4/type = "value"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/path = NodePath("DeployLayer/Pro棺材怪/Sfx2D棺材怪移动声:playing")
|
||||
tracks/4/path = NodePath("DeployLayer/Pro棺材怪2/呼吸声跟随2:remote_path")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/keys = {
|
||||
"times": PackedFloat32Array(3.70334, 5.66667),
|
||||
"times": PackedFloat32Array(0, 9.8),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [NodePath(""), NodePath("../../Sfx2D棺材呼吸声")]
|
||||
}
|
||||
tracks/5/type = "value"
|
||||
tracks/5/imported = false
|
||||
tracks/5/enabled = true
|
||||
tracks/5/path = NodePath("DeployLayer/Pro棺材怪/Sfx2D棺材怪移动声:playing")
|
||||
tracks/5/interp = 1
|
||||
tracks/5/loop_wrap = true
|
||||
tracks/5/keys = {
|
||||
"times": PackedFloat32Array(4.70335, 10.4667),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [true, false]
|
||||
}
|
||||
tracks/5/type = "method"
|
||||
tracks/5/imported = false
|
||||
tracks/5/enabled = true
|
||||
tracks/5/path = NodePath("MainPlayer")
|
||||
tracks/5/interp = 1
|
||||
tracks/5/loop_wrap = true
|
||||
tracks/5/keys = {
|
||||
"times": PackedFloat32Array(0, 4.3),
|
||||
tracks/6/type = "method"
|
||||
tracks/6/imported = false
|
||||
tracks/6/enabled = true
|
||||
tracks/6/path = NodePath("MainPlayer")
|
||||
tracks/6/interp = 1
|
||||
tracks/6/loop_wrap = true
|
||||
tracks/6/keys = {
|
||||
"times": PackedFloat32Array(0, 5.33334),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"values": [{
|
||||
"args": [Vector2(1, 0)],
|
||||
@ -199,26 +242,38 @@ tracks/5/keys = {
|
||||
"method": &"set_facing_direction"
|
||||
}]
|
||||
}
|
||||
tracks/6/type = "value"
|
||||
tracks/6/imported = false
|
||||
tracks/6/enabled = true
|
||||
tracks/6/path = NodePath("DeployLayer/Pro棺材怪2:animation")
|
||||
tracks/6/interp = 1
|
||||
tracks/6/loop_wrap = true
|
||||
tracks/6/keys = {
|
||||
"times": PackedFloat32Array(7.7),
|
||||
tracks/7/type = "value"
|
||||
tracks/7/imported = false
|
||||
tracks/7/enabled = true
|
||||
tracks/7/path = NodePath("DeployLayer/Pro棺材怪2:animation")
|
||||
tracks/7/interp = 1
|
||||
tracks/7/loop_wrap = true
|
||||
tracks/7/keys = {
|
||||
"times": PackedFloat32Array(13.3333),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [&"棺材怪受惊"]
|
||||
}
|
||||
tracks/7/type = "value"
|
||||
tracks/7/imported = false
|
||||
tracks/7/enabled = true
|
||||
tracks/7/path = NodePath("DeployLayer/Pro棺材怪2/Ambush棺材怪消失:enabled")
|
||||
tracks/7/interp = 1
|
||||
tracks/7/loop_wrap = true
|
||||
tracks/7/keys = {
|
||||
"times": PackedFloat32Array(9.4),
|
||||
tracks/8/type = "value"
|
||||
tracks/8/imported = false
|
||||
tracks/8/enabled = true
|
||||
tracks/8/path = NodePath("DeployLayer/Pro棺材怪2/Ambush棺材怪消失:enabled")
|
||||
tracks/8/interp = 1
|
||||
tracks/8/loop_wrap = true
|
||||
tracks/8/keys = {
|
||||
"times": PackedFloat32Array(14.2),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [true]
|
||||
}
|
||||
tracks/9/type = "value"
|
||||
tracks/9/imported = false
|
||||
tracks/9/enabled = true
|
||||
tracks/9/path = NodePath("DeployLayer/Pro棺材怪2/Sfx2D棺材叫儿:playing")
|
||||
tracks/9/interp = 1
|
||||
tracks/9/loop_wrap = true
|
||||
tracks/9/keys = {
|
||||
"times": PackedFloat32Array(13.5667),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [true]
|
||||
@ -230,6 +285,16 @@ _data = {
|
||||
&"monster_first_contact": SubResource("Animation_alans")
|
||||
}
|
||||
|
||||
[sub_resource type="AudioStreamInteractive" id="AudioStreamInteractive_qkb2a"]
|
||||
clip_count = 2
|
||||
clip_0/name = &"C 03 棺材怪 2"
|
||||
clip_0/stream = ExtResource("19_840is")
|
||||
clip_0/auto_advance = 1
|
||||
clip_0/next_clip = 1
|
||||
clip_1/name = &"C 03 棺材怪 3"
|
||||
clip_1/stream = ExtResource("20_8k23x")
|
||||
clip_1/auto_advance = 0
|
||||
|
||||
[node name="S09" type="Node2D"]
|
||||
metadata/_edit_horizontal_guides_ = [-627.0]
|
||||
|
||||
@ -245,7 +310,7 @@ script = ExtResource("2_8vqn6")
|
||||
|
||||
[node name="Sfx背景音" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"]
|
||||
stream = ExtResource("3_sssik")
|
||||
volume_db = -5.0
|
||||
volume_db = -15.0
|
||||
autoplay = true
|
||||
bus = &"game_sfx"
|
||||
script = ExtResource("4_5at4l")
|
||||
@ -284,7 +349,7 @@ note_key = "c03_s09_胖子干尸"
|
||||
[node name="Sfx2D棺材呼吸声" type="AudioStreamPlayer2D" parent="Ground/DeployLayer" index="4"]
|
||||
position = Vector2(341, 45)
|
||||
stream = ExtResource("11_qr48f")
|
||||
autoplay = true
|
||||
volume_db = 10.0
|
||||
max_distance = 1000.0
|
||||
attenuation = 2.0
|
||||
bus = &"game_sfx"
|
||||
@ -320,7 +385,7 @@ metadata/_custom_type_script = "uid://cphfob11f7atx"
|
||||
[node name="Sfx2D棺材怪移动声" type="AudioStreamPlayer2D" parent="Ground/DeployLayer/Pro棺材怪"]
|
||||
position = Vector2(15, -22)
|
||||
stream = ExtResource("15_qr48f")
|
||||
volume_db = 10.0
|
||||
volume_db = -50.0
|
||||
max_distance = 1000.0
|
||||
attenuation = 2.0
|
||||
bus = &"game_sfx"
|
||||
@ -345,10 +410,16 @@ autoplay = "棺材怪走路"
|
||||
flip_h = true
|
||||
script = ExtResource("10_t7o3d")
|
||||
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="Ambush棺材怪消失" parent="Ground/DeployLayer/Pro棺材怪2" instance=ExtResource("13_alans")]
|
||||
position = Vector2(155, 45)
|
||||
position = Vector2(151, 40)
|
||||
enabled = false
|
||||
hook_method = "monster_disappear_ambush"
|
||||
|
||||
@ -360,12 +431,25 @@ texture = ExtResource("15_rcrkk")
|
||||
|
||||
[node name="呼吸声跟随2" type="RemoteTransform2D" parent="Ground/DeployLayer/Pro棺材怪2"]
|
||||
|
||||
[node name="Sfx2D棺材叫儿" type="AudioStreamPlayer2D" parent="Ground/DeployLayer/Pro棺材怪2"]
|
||||
position = Vector2(39, 9)
|
||||
stream = SubResource("AudioStreamInteractive_qkb2a")
|
||||
max_distance = 500.0
|
||||
attenuation = 2.5
|
||||
bus = &"game_sfx"
|
||||
script = ExtResource("10_htuhx")
|
||||
metadata/_custom_type_script = "uid://wapo47a1oddf"
|
||||
|
||||
[node name="MainPlayer" parent="Ground" index="5"]
|
||||
position = Vector2(325, 98)
|
||||
catty_light_energy = 0.5
|
||||
player_movement_rect = Rect2(77, -158, 347, 316)
|
||||
facing_direction = Vector2(1, 0)
|
||||
|
||||
[node name="AudioListener2D" type="AudioListener2D" parent="Ground/MainPlayer" index="6"]
|
||||
position = Vector2(1, -86)
|
||||
current = true
|
||||
|
||||
[node name="FGSprite2D" parent="Ground/ParallaxForeground/FGParallaxLayer" index="0"]
|
||||
position = Vector2(27, 11)
|
||||
scale = Vector2(1.1, 1.1)
|
||||
|
@ -14,16 +14,22 @@ func _ready() -> void:
|
||||
|
||||
|
||||
#region node_reference
|
||||
var monster: Node2D
|
||||
var monster_target: Node2D
|
||||
#endregion
|
||||
|
||||
|
||||
# 读取设置变量名
|
||||
func _setup_node_reference() -> void:
|
||||
pass
|
||||
monster = $"../CanvasLayer/胖子游戏棺材怪"
|
||||
monster_target = $"../DeployLayer/MonsterMoveTarget"
|
||||
|
||||
|
||||
func _on_ground_ready() -> void:
|
||||
_check_first_enter()
|
||||
var right_x = SceneManager.get_player().player_movement_rect.size.x
|
||||
SceneManager.get_camera_marker().limit_right = int(right_x) + 50
|
||||
_run_game()
|
||||
|
||||
|
||||
func _check_first_enter() -> void:
|
||||
@ -32,4 +38,18 @@ func _check_first_enter() -> void:
|
||||
set_data("has_entered", true)
|
||||
SceneManager.pause_and_hide_player_sprite(1.5)
|
||||
await SceneManager.get_player().animation_finished
|
||||
SceneManager.unlock_player()
|
||||
SceneManager.unlock_player()
|
||||
|
||||
|
||||
# 0:初始化; 1:砍字; 2:隐藏_定点砍; 3:显现_动态砍; 4:隐藏_追踪砍;
|
||||
var current_stage := 0
|
||||
|
||||
func _run_game() -> void:
|
||||
await Util.wait(2.0)
|
||||
monster.chop_left(1.0)
|
||||
await Util.wait(4.0)
|
||||
monster.chop_left(1.0)
|
||||
await Util.wait(4.0)
|
||||
monster.chop_left(1.0)
|
||||
await Util.wait(4.0)
|
||||
monster.chop_right(1.0)
|
||||
|
@ -1,17 +1,53 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://clgwc3jcqarpe"]
|
||||
[gd_scene load_steps=30 format=3 uid="uid://clgwc3jcqarpe"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_0c2p2"]
|
||||
[ext_resource type="Script" uid="uid://cs4ddcjq81c1d" path="res://scene/ground/scene/c03/s10_胖子游戏1.gd" id="2_tthij"]
|
||||
[ext_resource type="AudioStream" uid="uid://dvc2emnfcmabx" path="res://asset/audio/sfx/环境音/白噪音/白噪声楼道1.ogg" id="3_7f2bb"]
|
||||
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_60xwi"]
|
||||
[ext_resource type="Texture2D" uid="uid://b4yuw882nx61m" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第二段/胖子游戏第二段效果图/0.png" id="5_hno1l"]
|
||||
[ext_resource type="Texture2D" uid="uid://b22lmq2qtsmf1" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/最后的背景 循环贴图.png" id="5_a608f"]
|
||||
[ext_resource type="Texture2D" uid="uid://c3bmukyjja1id" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/前景.png" id="6_hno1l"]
|
||||
[ext_resource type="Texture2D" uid="uid://dgg2hni80dfnb" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第二段/战场 循环贴图.png" id="6_or232"]
|
||||
[ext_resource type="Texture2D" uid="uid://dd8vkws24b5vy" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/肉山后 可以和背景移动速度不一样 循环贴图.png" id="6_x0t6p"]
|
||||
[ext_resource type="Texture2D" uid="uid://dpt0s2ujvcjs5" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/肉山前 可以和背景移动速度不一样 循环贴图.png" id="7_8s7iq"]
|
||||
[ext_resource type="Texture2D" uid="uid://jimhy0dgkeoi" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/地面.png" id="8_2van8"]
|
||||
[ext_resource type="Script" uid="uid://d800iqh7jeqa" path="res://scene/ground/script/c03/胖子游戏棺材怪.gd" id="9_js8ld"]
|
||||
[ext_resource type="Texture2D" uid="uid://q3n7lw1ngoqh" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/遮罩 循环贴图.png" id="9_podki"]
|
||||
[ext_resource type="Script" uid="uid://wapo47a1oddf" path="res://scene/entity/audio/sfx2d.gd" id="10_f57cq"]
|
||||
[ext_resource type="AudioStream" uid="uid://b82bmxv4ehijj" path="res://asset/audio/effect/footstep/footstep_snow_002.ogg" id="10_js8ld"]
|
||||
[ext_resource type="Texture2D" uid="uid://da80qq8jl8mtp" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/肉块1.png" id="10_pr5np"]
|
||||
[ext_resource type="Texture2D" uid="uid://bieyil13hhemh" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/肉块2.png" id="11_3wrhx"]
|
||||
[ext_resource type="Texture2D" uid="uid://g3ohxmylc316" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/肉块3.png" id="12_jcaoy"]
|
||||
[ext_resource type="AudioStream" uid="uid://cxivq3ngkwauh" path="res://asset/audio/effect/action/chop.ogg" id="12_whxhi"]
|
||||
[ext_resource type="Texture2D" uid="uid://2hvfbno7wgjl" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/肉块4.png" id="13_8ancs"]
|
||||
[ext_resource type="Texture2D" uid="uid://85unc5qju4kl" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/肉块5.png" id="14_bm1fy"]
|
||||
[ext_resource type="Texture2D" uid="uid://d1ufv2pl64lbx" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/手放桌子右.png" id="16_bm1fy"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://wki5e7qtniyn" path="res://asset/art/gif/c03_胖子游戏/c03_棺材怪合并素材/c03_棺材怪合并素材_frames.tres" id="16_f57cq"]
|
||||
[ext_resource type="Texture2D" uid="uid://bpaorlj3ws52" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/手放桌子.png" id="17_f57cq"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://cay6bn3elw2we" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/c03_胖子游戏第一段_frames.tres" id="18_f57cq"]
|
||||
[ext_resource type="Texture2D" uid="uid://vw03vgq281a8" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/落点1.png" id="18_js8ld"]
|
||||
[ext_resource type="Texture2D" uid="uid://0qkxvm0xiubu" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/落点2.png" id="20_whxhi"]
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_k01ve"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_2wy2j"]
|
||||
radius = 20.0
|
||||
height = 300.0
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_whxhi"]
|
||||
radius = 15.0
|
||||
height = 293.0
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_f57cq"]
|
||||
playback_mode = 1
|
||||
random_pitch = 1.1
|
||||
random_volume_offset_db = 1.0
|
||||
streams_count = 4
|
||||
stream_0/stream = ExtResource("10_js8ld")
|
||||
stream_1/stream = ExtResource("10_js8ld")
|
||||
stream_2/stream = ExtResource("10_js8ld")
|
||||
stream_3/stream = ExtResource("10_js8ld")
|
||||
|
||||
[node name="S10" type="Node2D"]
|
||||
metadata/_edit_horizontal_guides_ = [-627.0]
|
||||
metadata/_edit_horizontal_guides_ = [98.0, 120.0]
|
||||
|
||||
[node name="Ground" parent="." instance=ExtResource("1_0c2p2")]
|
||||
scene_name = "c03_s10"
|
||||
@ -38,41 +74,257 @@ metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
||||
|
||||
[node name="BGSprite2D" parent="Ground" index="2"]
|
||||
light_mask = 5
|
||||
texture = ExtResource("5_hno1l")
|
||||
offset = Vector2(0, -158)
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="Ground/BGSprite2D" index="0"]
|
||||
visible = false
|
||||
position = Vector2(601, 5)
|
||||
texture = ExtResource("6_or232")
|
||||
[node name="装饰手" type="Sprite2D" parent="Ground/BGSprite2D" index="0"]
|
||||
position = Vector2(935, 60)
|
||||
texture = ExtResource("16_bm1fy")
|
||||
|
||||
[node name="装饰手2" type="Sprite2D" parent="Ground/BGSprite2D" index="1"]
|
||||
position = Vector2(1318, 58)
|
||||
texture = ExtResource("17_f57cq")
|
||||
|
||||
[node name="portal_left" parent="Ground/DeployLayer" index="0"]
|
||||
position = Vector2(77, 11)
|
||||
|
||||
[node name="portal_right" parent="Ground/DeployLayer" index="1"]
|
||||
position = Vector2(963, 50)
|
||||
position = Vector2(8158, 7)
|
||||
target_scene = "c03_s11"
|
||||
target_portal = "left"
|
||||
|
||||
[node name="胖子的母亲" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="2"]
|
||||
position = Vector2(613, 32)
|
||||
sprite_frames = ExtResource("18_f57cq")
|
||||
animation = &"胖子的母亲"
|
||||
autoplay = "胖子的母亲"
|
||||
|
||||
[node name="落点左" type="Sprite2D" parent="Ground/DeployLayer" index="3"]
|
||||
position = Vector2(501, 98)
|
||||
scale = Vector2(1e-05, 1e-05)
|
||||
texture = ExtResource("18_js8ld")
|
||||
|
||||
[node name="左侧手" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="4"]
|
||||
position = Vector2(501, -317)
|
||||
sprite_frames = ExtResource("16_f57cq")
|
||||
animation = &"左手砍"
|
||||
offset = Vector2(-11, -13)
|
||||
|
||||
[node name="左侧碰撞" type="Area2D" parent="Ground/DeployLayer/左侧手"]
|
||||
visible = false
|
||||
z_index = 10
|
||||
position = Vector2(-11, -11)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground/DeployLayer/左侧手/左侧碰撞"]
|
||||
position = Vector2(8, -24)
|
||||
shape = SubResource("CapsuleShape2D_2wy2j")
|
||||
|
||||
[node name="AnimatableBody2D" type="AnimatableBody2D" parent="Ground/DeployLayer/左侧手"]
|
||||
position = Vector2(-4, -1)
|
||||
collision_layer = 3
|
||||
collision_mask = 3
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground/DeployLayer/左侧手/AnimatableBody2D"]
|
||||
position = Vector2(1, -24)
|
||||
shape = SubResource("CapsuleShape2D_whxhi")
|
||||
disabled = true
|
||||
|
||||
[node name="落点右" type="Sprite2D" parent="Ground/DeployLayer" index="5"]
|
||||
position = Vector2(1077, 98)
|
||||
scale = Vector2(1e-05, 1e-05)
|
||||
texture = ExtResource("20_whxhi")
|
||||
|
||||
[node name="右侧手" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="6"]
|
||||
position = Vector2(1077, -317)
|
||||
sprite_frames = ExtResource("16_f57cq")
|
||||
animation = &"右手砍"
|
||||
offset = Vector2(9, -12)
|
||||
|
||||
[node name="右侧碰撞" type="Area2D" parent="Ground/DeployLayer/右侧手"]
|
||||
visible = false
|
||||
z_index = 10
|
||||
position = Vector2(-7, -11)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground/DeployLayer/右侧手/右侧碰撞"]
|
||||
position = Vector2(8, -24)
|
||||
shape = SubResource("CapsuleShape2D_2wy2j")
|
||||
|
||||
[node name="AnimatableBody2D" type="AnimatableBody2D" parent="Ground/DeployLayer/右侧手"]
|
||||
position = Vector2(0, -12)
|
||||
collision_layer = 3
|
||||
collision_mask = 3
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground/DeployLayer/右侧手/AnimatableBody2D"]
|
||||
position = Vector2(1, -24)
|
||||
shape = SubResource("CapsuleShape2D_whxhi")
|
||||
disabled = true
|
||||
|
||||
[node name="MonsterMoveTarget" type="Marker2D" parent="Ground/DeployLayer" index="7"]
|
||||
position = Vector2(1401, 7)
|
||||
|
||||
[node name="MainPlayer" parent="Ground" index="5"]
|
||||
position = Vector2(63, 95)
|
||||
position = Vector2(396, 98)
|
||||
character = "胖子游戏"
|
||||
player_movement_rect = Rect2(30, -158, 948, 316)
|
||||
player_movement_rect = Rect2(30, -158, 8170, 316)
|
||||
facing_direction = Vector2(1, 0)
|
||||
|
||||
[node name="CameraFocusMarker" parent="Ground" index="6"]
|
||||
limit_right = 1200
|
||||
[node name="RemoteTransform2D" type="RemoteTransform2D" parent="Ground/MainPlayer" index="6"]
|
||||
position = Vector2(-1, -48)
|
||||
remote_path = NodePath("../../DeployLayer/MonsterMoveTarget")
|
||||
update_position = false
|
||||
update_rotation = false
|
||||
update_scale = false
|
||||
|
||||
[node name="BGParallaxLayer" parent="Ground/ParallaxForeground" index="0"]
|
||||
motion_scale = Vector2(0.9, 1)
|
||||
|
||||
[node name="FGParallaxLayer" parent="Ground/ParallaxForeground" index="1"]
|
||||
position = Vector2(-19, 38)
|
||||
motion_scale = Vector2(1.5, 1)
|
||||
motion_mirroring = Vector2(1200, 0)
|
||||
|
||||
[node name="FGSprite2D" parent="Ground/ParallaxForeground/FGParallaxLayer" index="0"]
|
||||
texture = ExtResource("6_hno1l")
|
||||
offset = Vector2(0, 50)
|
||||
|
||||
[node name="PlayerLine2D" parent="Ground/ParallaxForeground" index="2"]
|
||||
points = PackedVector2Array(30, 150, 978, 151)
|
||||
points = PackedVector2Array(30, 150, 8200, 151)
|
||||
|
||||
[node name="DirectionalLight2D" parent="Ground" index="8"]
|
||||
visible = false
|
||||
energy = 0.6
|
||||
energy = 0.4
|
||||
blend_mode = 1
|
||||
range_layer_min = -10
|
||||
|
||||
[node name="ParallaxBackground" type="ParallaxBackground" parent="Ground"]
|
||||
layer = -3
|
||||
|
||||
[node name="底图" type="ParallaxLayer" parent="Ground/ParallaxBackground"]
|
||||
z_index = -10
|
||||
motion_scale = Vector2(0.3, 1)
|
||||
motion_mirroring = Vector2(1200, 0)
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="Ground/ParallaxBackground/底图"]
|
||||
texture = ExtResource("5_a608f")
|
||||
|
||||
[node name="后山" type="ParallaxLayer" parent="Ground/ParallaxBackground"]
|
||||
z_index = -10
|
||||
motion_scale = Vector2(0.5, 1)
|
||||
motion_mirroring = Vector2(1134, 0)
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="Ground/ParallaxBackground/后山"]
|
||||
texture = ExtResource("6_x0t6p")
|
||||
|
||||
[node name="前山" type="ParallaxLayer" parent="Ground/ParallaxBackground"]
|
||||
z_index = -10
|
||||
position = Vector2(0, 16)
|
||||
motion_scale = Vector2(0.8, 1)
|
||||
motion_mirroring = Vector2(1200, 0)
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="Ground/ParallaxBackground/前山"]
|
||||
texture = ExtResource("7_8s7iq")
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="Ground"]
|
||||
layer = -2
|
||||
follow_viewport_enabled = true
|
||||
|
||||
[node name="胖子游戏棺材怪" type="AnimatedSprite2D" parent="Ground/CanvasLayer" node_paths=PackedStringArray("move_target", "left_side_sprite", "right_side_sprite", "left_area", "right_area", "left_static_collision", "right_static_collision")]
|
||||
z_index = -1
|
||||
position = Vector2(809, -17)
|
||||
sprite_frames = ExtResource("16_f57cq")
|
||||
animation = &"棺材怪右砍"
|
||||
script = ExtResource("9_js8ld")
|
||||
move_target = NodePath("../../DeployLayer/MonsterMoveTarget")
|
||||
left_side_sprite = NodePath("../../DeployLayer/左侧手")
|
||||
right_side_sprite = NodePath("../../DeployLayer/右侧手")
|
||||
left_area = NodePath("../../DeployLayer/左侧手/左侧碰撞")
|
||||
right_area = NodePath("../../DeployLayer/右侧手/右侧碰撞")
|
||||
left_static_collision = NodePath("../../DeployLayer/左侧手/AnimatableBody2D/CollisionShape2D")
|
||||
right_static_collision = NodePath("../../DeployLayer/右侧手/AnimatableBody2D/CollisionShape2D")
|
||||
|
||||
[node name="Sfx2D棺材怪脚步声" type="AudioStreamPlayer2D" parent="Ground/CanvasLayer/胖子游戏棺材怪"]
|
||||
stream = SubResource("AudioStreamRandomizer_f57cq")
|
||||
max_distance = 1000.0
|
||||
bus = &"game_sfx"
|
||||
script = ExtResource("10_f57cq")
|
||||
loop = true
|
||||
loop_round_time = 0.4
|
||||
metadata/_custom_type_script = "uid://wapo47a1oddf"
|
||||
|
||||
[node name="Sfx2D棺材怪切刀" type="AudioStreamPlayer2D" parent="Ground/CanvasLayer/胖子游戏棺材怪"]
|
||||
stream = ExtResource("12_whxhi")
|
||||
max_distance = 1000.0
|
||||
bus = &"game_sfx"
|
||||
script = ExtResource("10_f57cq")
|
||||
metadata/_custom_type_script = "uid://wapo47a1oddf"
|
||||
|
||||
[node name="左侧" type="RemoteTransform2D" parent="Ground/CanvasLayer/胖子游戏棺材怪"]
|
||||
position = Vector2(-308, -300)
|
||||
remote_path = NodePath("../../../DeployLayer/左侧手")
|
||||
update_rotation = false
|
||||
update_scale = false
|
||||
|
||||
[node name="左侧static_body" type="RemoteTransform2D" parent="Ground/CanvasLayer/胖子游戏棺材怪/左侧"]
|
||||
position = Vector2(-4, -1)
|
||||
remote_path = NodePath("../../../../DeployLayer/左侧手/AnimatableBody2D")
|
||||
update_rotation = false
|
||||
update_scale = false
|
||||
|
||||
[node name="右侧" type="RemoteTransform2D" parent="Ground/CanvasLayer/胖子游戏棺材怪"]
|
||||
position = Vector2(268, -300)
|
||||
remote_path = NodePath("../../../DeployLayer/右侧手")
|
||||
update_rotation = false
|
||||
update_scale = false
|
||||
|
||||
[node name="右侧static_body" type="RemoteTransform2D" parent="Ground/CanvasLayer/胖子游戏棺材怪/右侧"]
|
||||
position = Vector2(0, -12)
|
||||
remote_path = NodePath("../../../../DeployLayer/右侧手/AnimatableBody2D")
|
||||
update_rotation = false
|
||||
update_scale = false
|
||||
|
||||
[node name="左落点" type="RemoteTransform2D" parent="Ground/CanvasLayer/胖子游戏棺材怪"]
|
||||
position = Vector2(-308, 115)
|
||||
scale = Vector2(1e-05, 1e-05)
|
||||
remote_path = NodePath("../../../DeployLayer/落点左")
|
||||
update_rotation = false
|
||||
|
||||
[node name="右落点" type="RemoteTransform2D" parent="Ground/CanvasLayer/胖子游戏棺材怪"]
|
||||
position = Vector2(268, 115)
|
||||
scale = Vector2(1e-05, 1e-05)
|
||||
remote_path = NodePath("../../../DeployLayer/落点右")
|
||||
update_rotation = false
|
||||
|
||||
[node name="ParallaxBackground2" type="ParallaxBackground" parent="Ground"]
|
||||
layer = -1
|
||||
|
||||
[node name="地面" type="ParallaxLayer" parent="Ground/ParallaxBackground2"]
|
||||
position = Vector2(0, 101)
|
||||
motion_mirroring = Vector2(1200, 0)
|
||||
|
||||
[node name="地面" type="Sprite2D" parent="Ground/ParallaxBackground2/地面"]
|
||||
texture = ExtResource("8_2van8")
|
||||
|
||||
[node name="遮罩" type="Sprite2D" parent="Ground/ParallaxBackground2/地面"]
|
||||
modulate = Color(0.14902, 0.14902, 0.14902, 0.533333)
|
||||
position = Vector2(0, -101)
|
||||
texture = ExtResource("9_podki")
|
||||
|
||||
[node name="肉1" type="Sprite2D" parent="Ground/ParallaxBackground2/地面"]
|
||||
position = Vector2(-143, -48)
|
||||
texture = ExtResource("10_pr5np")
|
||||
|
||||
[node name="肉2" type="Sprite2D" parent="Ground/ParallaxBackground2/地面"]
|
||||
position = Vector2(0, -49)
|
||||
texture = ExtResource("11_3wrhx")
|
||||
|
||||
[node name="肉3" type="Sprite2D" parent="Ground/ParallaxBackground2/地面"]
|
||||
position = Vector2(449, -57)
|
||||
texture = ExtResource("12_jcaoy")
|
||||
|
||||
[node name="肉4" type="Sprite2D" parent="Ground/ParallaxBackground2/地面"]
|
||||
position = Vector2(153, -46)
|
||||
texture = ExtResource("13_8ancs")
|
||||
|
||||
[node name="肉5" type="Sprite2D" parent="Ground/ParallaxBackground2/地面"]
|
||||
position = Vector2(724, -47)
|
||||
texture = ExtResource("14_bm1fy")
|
||||
|
||||
[editable path="Ground"]
|
||||
|
@ -124,13 +124,11 @@ texture = ExtResource("13_k5x30")
|
||||
[node name="天上掉的肉2" type="Sprite2D" parent="Ground/DeployLayer/肉山"]
|
||||
position = Vector2(-43.4602, -32.2959)
|
||||
rotation = -0.384091
|
||||
scale = Vector2(1, 1)
|
||||
texture = ExtResource("14_wks4o")
|
||||
|
||||
[node name="天上掉的肉3" type="Sprite2D" parent="Ground/DeployLayer/肉山"]
|
||||
position = Vector2(-4.54016, -19.4051)
|
||||
rotation = 0.0182861
|
||||
scale = Vector2(1, 1)
|
||||
texture = ExtResource("12_wi43b")
|
||||
|
||||
[node name="河里的手4" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="7"]
|
||||
@ -195,7 +193,7 @@ texture_scale = 2.0
|
||||
[node name="MainPlayer" parent="Ground" index="5"]
|
||||
position = Vector2(900, 58)
|
||||
character = "胖子游戏"
|
||||
player_movement_rect = Rect2(290, -158, 1110, 316)
|
||||
player_movement_rect = Rect2(290, -158, 710, 316)
|
||||
facing_direction = Vector2(1, 0)
|
||||
|
||||
[node name="CameraFocusMarker" parent="Ground" index="6"]
|
||||
|
@ -9,6 +9,45 @@
|
||||
[ext_resource type="SpriteFrames" uid="uid://cb3b44a1jpybb" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第四段/c03_胖子游戏第四段_frames.tres" id="10_7x1vi"]
|
||||
[ext_resource type="PackedScene" uid="uid://bnf3lkcbpx1ar" path="res://scene/entity/ambush.tscn" id="11_sul0a"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ay855"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("DeployLayer/LightPivot:position")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(850, 95)]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("DeployLayer/Pro吃肉:frame")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [0]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("MainPlayer:hide_sprite")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_c01lu"]
|
||||
resource_name = "eat_meat"
|
||||
length = 10.0
|
||||
@ -50,45 +89,6 @@ tracks/2/keys = {
|
||||
"values": [true]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ay855"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("DeployLayer/LightPivot:position")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(850, 95)]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("DeployLayer/Pro吃肉:frame")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [0]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("MainPlayer:hide_sprite")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_k01ve"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_ay855"),
|
||||
|
@ -1,86 +0,0 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://ban8firg4ti5x"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_via7g"]
|
||||
[ext_resource type="Script" uid="uid://f4uampm47832" path="res://scene/ground/scene/c03/s12_胖子游戏3.gd" id="2_f2euj"]
|
||||
[ext_resource type="AudioStream" uid="uid://dvc2emnfcmabx" path="res://asset/audio/sfx/环境音/白噪音/白噪声楼道1.ogg" id="3_ycw22"]
|
||||
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_1c2tq"]
|
||||
[ext_resource type="Texture2D" uid="uid://brfbsaw6v35ru" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第四段/胖子游戏第四段效果/0.png" id="5_olkfs"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://cb3b44a1jpybb" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第四段/c03_胖子游戏第四段_frames.tres" id="6_3jqsh"]
|
||||
[ext_resource type="Script" uid="uid://cphfob11f7atx" path="res://addons/property-inspector/pro_animation_sprite2d/pro_animated_sprite.gd" id="7_qn0ib"]
|
||||
[ext_resource type="PackedScene" uid="uid://bnf3lkcbpx1ar" path="res://scene/entity/ambush.tscn" id="8_ir78c"]
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_k01ve"]
|
||||
|
||||
[node name="S13" type="Node2D"]
|
||||
metadata/_edit_horizontal_guides_ = [-627.0]
|
||||
|
||||
[node name="Ground" parent="." instance=ExtResource("1_via7g")]
|
||||
scene_name = "c03_s13"
|
||||
display_hud = false
|
||||
player_y = 63
|
||||
footstep_type = "胖子游戏"
|
||||
|
||||
[node name="AnimationPlayer" parent="Ground" index="0"]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_k01ve")
|
||||
}
|
||||
script = ExtResource("2_f2euj")
|
||||
|
||||
[node name="Sfx背景音" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"]
|
||||
stream = ExtResource("3_ycw22")
|
||||
volume_db = -5.0
|
||||
autoplay = true
|
||||
bus = &"game_sfx"
|
||||
script = ExtResource("4_1c2tq")
|
||||
mode = "场景背景音"
|
||||
"循环播放" = true
|
||||
"感应玩家操作" = false
|
||||
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
||||
|
||||
[node name="BGSprite2D" parent="Ground" index="2"]
|
||||
light_mask = 5
|
||||
texture = ExtResource("5_olkfs")
|
||||
offset = Vector2(0, -158)
|
||||
|
||||
[node name="portal_left" parent="Ground/DeployLayer" index="0"]
|
||||
position = Vector2(69, 21)
|
||||
|
||||
[node name="portal_right" parent="Ground/DeployLayer" index="1"]
|
||||
position = Vector2(1392, -9)
|
||||
|
||||
[node name="Pro吃肉" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="2"]
|
||||
position = Vector2(850, 95)
|
||||
sprite_frames = ExtResource("6_3jqsh")
|
||||
animation = &"爬绞肉机最终的"
|
||||
offset = Vector2(88, -105)
|
||||
script = ExtResource("7_qn0ib")
|
||||
metadata/_custom_type_script = "uid://cphfob11f7atx"
|
||||
|
||||
[node name="Ambush吃肉" parent="Ground/DeployLayer" index="3" instance=ExtResource("8_ir78c")]
|
||||
position = Vector2(842, 54)
|
||||
sign_mark_offset = Vector2(39, -9)
|
||||
trigger_mode = "interact"
|
||||
one_shot = false
|
||||
hook_method = "eat_meat"
|
||||
|
||||
[node name="MainPlayer" parent="Ground" index="5"]
|
||||
position = Vector2(69, 95)
|
||||
character = "胖子游戏"
|
||||
player_movement_rect = Rect2(30, -158, 820, 316)
|
||||
facing_direction = Vector2(1, 0)
|
||||
|
||||
[node name="CameraFocusMarker" parent="Ground" index="6"]
|
||||
limit_right = 1200
|
||||
|
||||
[node name="FGSprite2D" parent="Ground/ParallaxForeground/FGParallaxLayer" index="0"]
|
||||
offset = Vector2(0, 50)
|
||||
|
||||
[node name="PlayerLine2D" parent="Ground/ParallaxForeground" index="2"]
|
||||
points = PackedVector2Array(30, 150, 850, 151)
|
||||
|
||||
[node name="DirectionalLight2D" parent="Ground" index="8"]
|
||||
visible = false
|
||||
energy = 0.6
|
||||
blend_mode = 1
|
||||
|
||||
[editable path="Ground"]
|
38
scene/ground/script/c02/s06_event胖子拖小蝉.gd
Normal file
@ -0,0 +1,38 @@
|
||||
@tool
|
||||
extends Event2D
|
||||
|
||||
# var prev_stage := 0
|
||||
# var stage := 0
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
super._ready()
|
||||
if Engine.is_editor_hint():
|
||||
return
|
||||
|
||||
|
||||
func _on_global_stage_updated(e: StringName, s: int) -> void:
|
||||
super._on_global_stage_updated(e, s)
|
||||
|
||||
|
||||
func _on_ground_ready(_ground: Ground2D) -> void:
|
||||
if stage == 1:
|
||||
var sprite = $"胖子拖小蝉"
|
||||
# 胖子拖小蝉演出
|
||||
SceneManager.lock_player()
|
||||
sprite.play("c03_胖子_托小孩")
|
||||
# c03_胖子_托小孩 结束
|
||||
await sprite.animation_finished
|
||||
# c03_胖子_拖小孩_走 结束
|
||||
await sprite.animation_finished
|
||||
SceneManager.unlock_player()
|
||||
# 更新事件,节点消失
|
||||
EventManager.set_stage_if_greater("c03_pangzi_pull_xchan", 2)
|
||||
|
||||
|
||||
func _on_pre_stage_updated() -> void:
|
||||
pass
|
||||
|
||||
|
||||
func _on_stage_updated() -> void:
|
||||
pass
|
1
scene/ground/script/c02/s06_event胖子拖小蝉.gd.uid
Normal file
@ -0,0 +1 @@
|
||||
uid://bc8hqbn2avyon
|
@ -68,6 +68,7 @@ func _unhandled_input(event: InputEvent) -> void:
|
||||
await animation_player.animation_finished
|
||||
current_stage = 3
|
||||
EventManager.set_stage_if_greater("c03_li_paperwoman", 3)
|
||||
EventManager.set_stage_if_greater("c03_pangzi_pull_xchan", 1)
|
||||
SceneManager.enable_prop_item("prop_2013钥匙")
|
||||
animation_player.play("RESET")
|
||||
# 交互完成,退出
|
||||
|
@ -6,14 +6,16 @@ signal exit(arg)
|
||||
@onready var hover_knife = %"Hover刀" as HoverLightClickArea
|
||||
@onready var hover_note = %"Hover纸条" as HoverLightClickArea
|
||||
|
||||
# c03_coffin: 0:初始化 1:拿走刀 2:拿走纸条_棺材怪演出 3:演出完成
|
||||
var coffin_stage := 0
|
||||
|
||||
func _ready() -> void:
|
||||
layer = GlobalConfig.CANVAS_LAYER_LITTLE_GAME
|
||||
coffin_stage = EventManager.get_stage("c03_coffin")
|
||||
# c03_coffin: 0:初始化 1:拿走刀 2:拿走纸条_棺材怪演出 3:演出完成
|
||||
var coffin_stage = EventManager.get_stage("c03_coffin")
|
||||
hover_knife.interacted.connect(_on_knife_interacted)
|
||||
hover_note.interacted.connect(_on_note_interacted)
|
||||
$"Sfx打开棺材".play()
|
||||
#TODO
|
||||
SceneManager.pop_debug_dialog_info("音效", "Sfx打开棺材")
|
||||
if coffin_stage == 0:
|
||||
SceneManager.pop_center_notification("ui_center_notify_c03粘刀把")
|
||||
elif coffin_stage == 1:
|
||||
@ -38,8 +40,16 @@ func _on_knife_interacted() -> void:
|
||||
func _on_note_interacted() -> void:
|
||||
hover_note.hide()
|
||||
EventManager.set_stage("c03_coffin", 2)
|
||||
var node = get_parent() as Closeup2D
|
||||
if node:
|
||||
node.hold_cancel_before_exit()
|
||||
SceneManager.enable_important_item("prop_沾血的纸条")
|
||||
# 遮住棺材怪
|
||||
var color_rect = $"ColorRect"
|
||||
create_tween().tween_property(color_rect, "modulate:a", 1.0, 0.5)
|
||||
await SceneManager.get_inspector().quit_and_hidden
|
||||
SceneManager.black_transition(0.7, 0.5)
|
||||
await Util.wait(0.8)
|
||||
exit.emit(true)
|
||||
|
||||
|
||||
@ -47,6 +57,7 @@ func _on_note_interacted() -> void:
|
||||
var knife_state := 0
|
||||
|
||||
func _unhandled_input(event: InputEvent) -> void:
|
||||
var coffin_stage = EventManager.get_stage("c03_coffin")
|
||||
if event.is_action_pressed("cancel") and coffin_stage == 0:
|
||||
get_viewport().set_input_as_handled()
|
||||
SceneManager.reset_temp_disabled_props()
|
||||
|
@ -16,6 +16,11 @@
|
||||
[node name="Closeup棺材特写" type="CanvasLayer"]
|
||||
script = ExtResource("1_6v1ol")
|
||||
|
||||
[node name="Sfx打开棺材" type="AudioStreamPlayer" parent="."]
|
||||
unique_name_in_owner = true
|
||||
bus = &"game_sfx"
|
||||
script = ExtResource("3_mobd5")
|
||||
|
||||
[node name="SfxInspect" type="AudioStreamPlayer" parent="."]
|
||||
unique_name_in_owner = true
|
||||
stream = ExtResource("2_bgvp8")
|
||||
@ -106,3 +111,13 @@ updater_event = &"c03_coffin"
|
||||
updater_mode = "shower"
|
||||
updater_stages = Array[int]([0])
|
||||
metadata/_custom_type_script = "uid://0wjaho6qkg6s"
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
modulate = Color(1, 1, 1, 0)
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 1
|
||||
color = Color(0, 0, 0, 1)
|
||||
|
152
scene/ground/script/c03/胖子游戏棺材怪.gd
Normal file
@ -0,0 +1,152 @@
|
||||
extends AnimatedSprite2D
|
||||
|
||||
const MOVE_SPEED := 120.0
|
||||
const RESET_Y := -300.0
|
||||
|
||||
@export var mute := false:
|
||||
set(val):
|
||||
mute = val
|
||||
_on_mute_updated()
|
||||
@export var move_target: Node2D
|
||||
@export_enum("left", "right") var hand_mode := 0
|
||||
@export var left_side_sprite: AnimatedSprite2D
|
||||
@export var right_side_sprite: AnimatedSprite2D
|
||||
@export var left_area: Area2D
|
||||
@export var right_area: Area2D
|
||||
@export var left_static_collision: CollisionShape2D
|
||||
@export var right_static_collision: CollisionShape2D
|
||||
|
||||
@onready var footstep_sfx = $"Sfx2D棺材怪脚步声" as Sfx2D
|
||||
@onready var chop_sfx = $"Sfx2D棺材怪切刀" as Sfx2D
|
||||
|
||||
@onready var remote_left_side = $"左侧" as RemoteTransform2D
|
||||
@onready var remote_right_side = $"右侧" as RemoteTransform2D
|
||||
@onready var remote_left_shadow = $"左落点" as RemoteTransform2D
|
||||
@onready var remote_right_shadow = $"右落点" as RemoteTransform2D
|
||||
|
||||
var left_hand_x_offset: float
|
||||
var right_hand_x_offset: float
|
||||
var chopped_safe_period := false
|
||||
|
||||
func _ready() -> void:
|
||||
left_hand_x_offset = remote_left_shadow.position.x
|
||||
right_hand_x_offset = remote_right_shadow.position.x
|
||||
left_area.body_entered.connect(_on_player_chopped)
|
||||
right_area.body_entered.connect(_on_player_chopped)
|
||||
_on_mute_updated()
|
||||
|
||||
|
||||
func _on_mute_updated() -> void:
|
||||
if not is_node_ready():
|
||||
return
|
||||
if mute:
|
||||
footstep_sfx.volume_db = -100
|
||||
else:
|
||||
footstep_sfx.reset_volumn_to_default()
|
||||
|
||||
|
||||
# 停止切肉动作, x 对齐到 move_target
|
||||
func refresh_monster() -> void:
|
||||
global_position.x = move_target.global_position.x
|
||||
remote_right_side.position.y = RESET_Y
|
||||
remote_left_side.position.y = RESET_Y
|
||||
remote_left_shadow.scale = Vector2.ZERO
|
||||
remote_right_shadow.scale = Vector2.ZERO
|
||||
|
||||
var aiming := false
|
||||
|
||||
func chop_left(aiming_duration := 3.0) -> void:
|
||||
hand_mode = 0
|
||||
aiming = true
|
||||
_checkout_hand_animation(false)
|
||||
var tween = create_tween()
|
||||
if aiming_duration > 0.0:
|
||||
tween.tween_property(remote_left_shadow, "scale", Vector2.ONE, aiming_duration)
|
||||
tween.tween_callback(left_side_sprite.play)
|
||||
tween.tween_property(remote_left_side, "position:y", 0.0, 0.2)
|
||||
if aiming_duration <= 0.0:
|
||||
tween.parallel().tween_property(remote_left_shadow, "scale", Vector2.ONE, 0.2)
|
||||
tween.tween_callback(chop_sfx.play)
|
||||
tween.tween_callback(toggle_safe_period.bind(true))
|
||||
tween.tween_callback(shake)
|
||||
tween.tween_interval(1.0)
|
||||
tween.tween_property(remote_left_side, "position:y", RESET_Y, 1.0)
|
||||
tween.parallel().tween_property(remote_left_shadow, "scale", Vector2.ZERO, 0.8)
|
||||
tween.tween_callback(toggle_safe_period.bind(false))
|
||||
tween.tween_callback(func(): aiming = false)
|
||||
|
||||
func chop_right(aiming_duration := 3.0) -> void:
|
||||
hand_mode = 1
|
||||
aiming = true
|
||||
_checkout_hand_animation(false)
|
||||
var tween = create_tween()
|
||||
if aiming_duration > 0.0:
|
||||
tween.tween_property(remote_right_shadow, "scale", Vector2.ONE, aiming_duration)
|
||||
tween.tween_callback(right_side_sprite.play)
|
||||
tween.tween_property(remote_right_side, "position:y", 0.0, 0.2)
|
||||
if aiming_duration <= 0.0:
|
||||
tween.parallel().tween_property(remote_right_shadow, "scale", Vector2.ONE, 0.2)
|
||||
tween.tween_callback(chop_sfx.play)
|
||||
tween.tween_callback(toggle_safe_period.bind(true))
|
||||
tween.tween_callback(shake)
|
||||
tween.tween_interval(1.0)
|
||||
tween.tween_property(remote_right_side, "position:y", RESET_Y, 1.0)
|
||||
tween.parallel().tween_property(remote_right_shadow, "scale", Vector2.ZERO, 0.8)
|
||||
tween.tween_callback(toggle_safe_period.bind(false))
|
||||
tween.tween_callback(func(): aiming = false)
|
||||
|
||||
|
||||
func toggle_safe_period(safe: bool) -> void:
|
||||
chopped_safe_period = safe
|
||||
left_static_collision.disabled = not safe
|
||||
right_static_collision.disabled = not safe
|
||||
|
||||
|
||||
func shake() -> void:
|
||||
SceneManager.get_camera_marker().shake_camera(6.0)
|
||||
|
||||
|
||||
func _on_player_chopped(_body) -> void:
|
||||
if chopped_safe_period:
|
||||
return
|
||||
SceneManager.lock_player()
|
||||
await SceneManager.player_action(7)
|
||||
await Util.wait(1.0)
|
||||
SceneManager.unlock_player()
|
||||
# restart
|
||||
get_tree().reload_current_scene()
|
||||
|
||||
|
||||
func _physics_process(delta: float) -> void:
|
||||
var target_x = move_target.global_position.x
|
||||
if hand_mode == 0:
|
||||
target_x -= left_hand_x_offset
|
||||
else:
|
||||
target_x -= right_hand_x_offset
|
||||
var x = global_position.x
|
||||
if chopped_safe_period or abs(target_x - x) < 0.1:
|
||||
stop()
|
||||
if footstep_sfx.playing:
|
||||
footstep_sfx.stop()
|
||||
else:
|
||||
var speed = MOVE_SPEED
|
||||
if aiming:
|
||||
speed *= 0.3
|
||||
global_position.x = move_toward(x, target_x, delta * speed)
|
||||
# if Time.get_ticks_msec() % 100 == 0:
|
||||
# prints(x, target_x)
|
||||
if not footstep_sfx.playing:
|
||||
footstep_sfx.play()
|
||||
_checkout_hand_animation()
|
||||
|
||||
func _checkout_hand_animation(is_move := true) -> void:
|
||||
var target_animation = ""
|
||||
if is_move:
|
||||
target_animation = "棺材怪移动" if hand_mode == 0 else "棺材怪移动右"
|
||||
else:
|
||||
target_animation = "棺材怪左砍" if hand_mode == 0 else "棺材怪右砍"
|
||||
if not is_playing() or animation != target_animation:
|
||||
if hand_mode == 0:
|
||||
play(target_animation)
|
||||
else:
|
||||
play(target_animation)
|
1
scene/ground/script/c03/胖子游戏棺材怪.gd.uid
Normal file
@ -0,0 +1 @@
|
||||
uid://d800iqh7jeqa
|