demo 0.2.0.2 hotfix 小小蝶互动时不上下看
This commit is contained in:
parent
d371029715
commit
92e9433852
@ -135,8 +135,8 @@ var ANIMATION_CONFIG = {
|
|||||||
MOVEMENT_WALKING: [&"c01_小小蝶_walking_l", &"c01_小小蝶_walking_r"],
|
MOVEMENT_WALKING: [&"c01_小小蝶_walking_l", &"c01_小小蝶_walking_r"],
|
||||||
MOVEMENT_RUNNING: [&"c01_小小蝶_running_l", &"c01_小小蝶_running_r"],
|
MOVEMENT_RUNNING: [&"c01_小小蝶_running_l", &"c01_小小蝶_running_r"],
|
||||||
# animation_name, left, right
|
# animation_name, left, right
|
||||||
ACTION_LOOKUP_WALL:
|
# ACTION_LOOKUP_WALL:
|
||||||
[&"c01_小小蝶_背面抬头", Vector2.ONE, Vector2(-3.0, -37.0), &"c01_小小蝶_抬头_l", &"c01_小小蝶_抬头_r"],
|
# [&"c01_小小蝶_背面抬头", Vector2.ONE, Vector2(-3.0, -37.0), &"c01_小小蝶_抬头_l", &"c01_小小蝶_抬头_r"],
|
||||||
# 看向橱柜(c01_s07 书店外)
|
# 看向橱柜(c01_s07 书店外)
|
||||||
5: [&"c01_小小蝶_书店外看向橱窗", Vector2.ONE, Vector2(0, -88.0)],
|
5: [&"c01_小小蝶_书店外看向橱窗", Vector2.ONE, Vector2(0, -88.0)],
|
||||||
# 敲门(c01_s07 书店外)
|
# 敲门(c01_s07 书店外)
|
||||||
|
@ -826,11 +826,18 @@ height = 50.0
|
|||||||
position = Vector2(26, 88)
|
position = Vector2(26, 88)
|
||||||
enable_light = false
|
enable_light = false
|
||||||
character = "小小蝶"
|
character = "小小蝶"
|
||||||
|
player_movement_rect = Rect2(40, -158, 490, 316)
|
||||||
facing_direction = Vector2(1, 0)
|
facing_direction = Vector2(1, 0)
|
||||||
|
|
||||||
[node name="AudioListener2D" type="AudioListener2D" parent="Ground/MainPlayer" index="6"]
|
[node name="AudioListener2D" type="AudioListener2D" parent="Ground/MainPlayer" index="6"]
|
||||||
current = true
|
current = true
|
||||||
|
|
||||||
|
[node name="CameraFocusMarker" parent="Ground" index="6"]
|
||||||
|
limit_left = 0
|
||||||
|
limit_top = -158
|
||||||
|
limit_right = 564
|
||||||
|
limit_bottom = 158
|
||||||
|
|
||||||
[node name="FGSprite2D" parent="Ground/ParallaxForeground/FGParallaxLayer" index="0"]
|
[node name="FGSprite2D" parent="Ground/ParallaxForeground/FGParallaxLayer" index="0"]
|
||||||
position = Vector2(21, 39)
|
position = Vector2(21, 39)
|
||||||
texture = ExtResource("3_vmr0f")
|
texture = ExtResource("3_vmr0f")
|
||||||
|
@ -56,7 +56,7 @@ func _on_ground_ready() -> void:
|
|||||||
# 点燃后~离开前
|
# 点燃后~离开前
|
||||||
if (
|
if (
|
||||||
ArchiveManager.get_global_value(&"c02_burning")
|
ArchiveManager.get_global_value(&"c02_burning")
|
||||||
and not EventManager.get_stage(&"c02_burning_end_stage") == 2
|
and EventManager.get_stage(&"c02_burning_end_stage") < 2
|
||||||
):
|
):
|
||||||
new_bg.modulate.a = 1.0
|
new_bg.modulate.a = 1.0
|
||||||
# 火灾开始后,无需 enable
|
# 火灾开始后,无需 enable
|
||||||
|
@ -287,24 +287,28 @@ data = {
|
|||||||
"oneshot_animation_played": false
|
"oneshot_animation_played": false
|
||||||
}
|
}
|
||||||
debug_global_data = Dictionary[String, Variant]({
|
debug_global_data = Dictionary[String, Variant]({
|
||||||
"c02_ball_game_stage": 1,
|
"c02_ball_game_stage": 3,
|
||||||
"c02_burning": false,
|
"c02_burning": false,
|
||||||
"c02_burning_end_stage": 0,
|
"c02_burning_end_stage": 1,
|
||||||
"c02_counter_pushed_out": false,
|
"c02_counter_pushed_out": false,
|
||||||
"c02_eavesdrop_finished": false,
|
"c02_eavesdrop_finished": false,
|
||||||
"c02_got_pliers": 0,
|
"c02_got_pliers": 0,
|
||||||
"c02_madman_hitwall": false,
|
"c02_madman_hitwall": false,
|
||||||
"c02_madman_interacted": 0,
|
"c02_madman_interacted": 0,
|
||||||
"c02_open_gate_first_failed": false,
|
"c02_open_gate_first_failed": false,
|
||||||
"c02_ready_to_fire": false,
|
"c02_ready_to_fire": true,
|
||||||
"c02_show_grounded_coins": false,
|
"c02_show_grounded_coins": false,
|
||||||
"c02_the_blind_room_unlocked": false,
|
"c02_the_blind_room_unlocked": false,
|
||||||
"c02_watched_the_well": false,
|
"c02_watched_the_well": false,
|
||||||
"enabled_items": ["prop_火柴", "prop_院长的信", "prop_银元"],
|
"enabled_items": {
|
||||||
|
"prop_小鞋子2": true,
|
||||||
|
"prop_火柴": true,
|
||||||
|
"prop_老虎钳": true
|
||||||
|
},
|
||||||
"handnote_c02_gate_chain": 1,
|
"handnote_c02_gate_chain": 1,
|
||||||
"handnote_c02_map_1Right": 1,
|
"handnote_c02_map_1Right": 1,
|
||||||
"handnote_c02_meat_knockDoor": 1,
|
"handnote_c02_meat_knockDoor": 1,
|
||||||
"player_x": 700.0
|
"player_x": 2000.0
|
||||||
})
|
})
|
||||||
debug_ground_data = Dictionary[String, Variant]({
|
debug_ground_data = Dictionary[String, Variant]({
|
||||||
"Ambush保卫科旁边os": {
|
"Ambush保卫科旁边os": {
|
||||||
@ -781,7 +785,6 @@ position = Vector2(29, -3)
|
|||||||
sprite_frames = ExtResource("34_1tart")
|
sprite_frames = ExtResource("34_1tart")
|
||||||
animation = &"小婵_被霸凌"
|
animation = &"小婵_被霸凌"
|
||||||
autoplay = "小婵_被霸凌"
|
autoplay = "小婵_被霸凌"
|
||||||
frame = 1
|
|
||||||
|
|
||||||
[node name="f1" parent="Ground/DeployLayer/霸凌" instance=ExtResource("33_ycojw")]
|
[node name="f1" parent="Ground/DeployLayer/霸凌" instance=ExtResource("33_ycojw")]
|
||||||
z_index = 10
|
z_index = 10
|
||||||
@ -789,7 +792,7 @@ position = Vector2(-11, 1)
|
|||||||
sprite_frames = ExtResource("34_1tart")
|
sprite_frames = ExtResource("34_1tart")
|
||||||
animation = &"霸凌1"
|
animation = &"霸凌1"
|
||||||
autoplay = "霸凌1"
|
autoplay = "霸凌1"
|
||||||
frame = 3
|
frame = 6
|
||||||
|
|
||||||
[node name="Sfx2D霸凌童谣" type="AudioStreamPlayer2D" parent="Ground/DeployLayer/霸凌/f1"]
|
[node name="Sfx2D霸凌童谣" type="AudioStreamPlayer2D" parent="Ground/DeployLayer/霸凌/f1"]
|
||||||
process_mode = 1
|
process_mode = 1
|
||||||
@ -807,7 +810,7 @@ position = Vector2(23, 11)
|
|||||||
sprite_frames = ExtResource("34_1tart")
|
sprite_frames = ExtResource("34_1tart")
|
||||||
animation = &"霸凌2"
|
animation = &"霸凌2"
|
||||||
autoplay = "霸凌2"
|
autoplay = "霸凌2"
|
||||||
frame = 3
|
frame = 4
|
||||||
|
|
||||||
[node name="f3" parent="Ground/DeployLayer/霸凌" instance=ExtResource("33_ycojw")]
|
[node name="f3" parent="Ground/DeployLayer/霸凌" instance=ExtResource("33_ycojw")]
|
||||||
z_index = 10
|
z_index = 10
|
||||||
@ -815,7 +818,7 @@ position = Vector2(57, 7)
|
|||||||
sprite_frames = ExtResource("34_1tart")
|
sprite_frames = ExtResource("34_1tart")
|
||||||
animation = &"霸凌3"
|
animation = &"霸凌3"
|
||||||
autoplay = "霸凌3"
|
autoplay = "霸凌3"
|
||||||
frame = 3
|
frame = 1
|
||||||
|
|
||||||
[node name="Ambush点火游戏阻挡右移" parent="Ground/DeployLayer/霸凌" instance=ExtResource("25_iyaiw")]
|
[node name="Ambush点火游戏阻挡右移" parent="Ground/DeployLayer/霸凌" instance=ExtResource("25_iyaiw")]
|
||||||
position = Vector2(-116, -13)
|
position = Vector2(-116, -13)
|
||||||
@ -1004,6 +1007,7 @@ position = Vector2(2229, 41)
|
|||||||
sprite_frames = ExtResource("34_1tart")
|
sprite_frames = ExtResource("34_1tart")
|
||||||
animation = &"霸凌3-发抖"
|
animation = &"霸凌3-发抖"
|
||||||
autoplay = "霸凌3-发抖"
|
autoplay = "霸凌3-发抖"
|
||||||
|
frame = 1
|
||||||
|
|
||||||
[node name="Pro小孩喊着火啦3" parent="Ground/DeployLayer/火灾" instance=ExtResource("33_ycojw")]
|
[node name="Pro小孩喊着火啦3" parent="Ground/DeployLayer/火灾" instance=ExtResource("33_ycojw")]
|
||||||
z_index = 9
|
z_index = 9
|
||||||
@ -1106,8 +1110,15 @@ texture = SubResource("GradientTexture2D_plfv5")
|
|||||||
|
|
||||||
[node name="MainPlayer" parent="Ground" index="5"]
|
[node name="MainPlayer" parent="Ground" index="5"]
|
||||||
position = Vector2(2128, 93)
|
position = Vector2(2128, 93)
|
||||||
|
player_movement_rect = Rect2(17, -158, 2233, 316)
|
||||||
facing_direction = Vector2(1, 0)
|
facing_direction = Vector2(1, 0)
|
||||||
|
|
||||||
|
[node name="CameraFocusMarker" parent="Ground" index="6"]
|
||||||
|
limit_left = 0
|
||||||
|
limit_top = -158
|
||||||
|
limit_right = 2380
|
||||||
|
limit_bottom = 158
|
||||||
|
|
||||||
[node name="BGParallaxLayer" parent="Ground/ParallaxForeground" index="0"]
|
[node name="BGParallaxLayer" parent="Ground/ParallaxForeground" index="0"]
|
||||||
use_parent_material = true
|
use_parent_material = true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user