Fix camera in cutscenes

This commit is contained in:
Raxki 2024-12-04 19:09:18 -05:00
parent cfc58d7ff0
commit e11d688346
3 changed files with 14 additions and 15 deletions

View file

@ -100,6 +100,16 @@ time = 1.21667
script = ExtResource("1_wfaj3")
message = &"scene_2"
[sub_resource type="Resource" id="Resource_wtu3y"]
script = ExtResource("8_w0so3")
target_camera = NodePath("../HiroPlayer/Camera2D")
to_initial = null
target = Vector2(0, -60)
relative = false
speed = 1.0
teleport = false
wait_until_completion = true
[sub_resource type="Resource" id="Resource_tjwhc"]
script = ExtResource("4_joqmj")
music = ExtResource("9_ee6cr")
@ -140,16 +150,6 @@ portrait_emotion = "normal"
messages = Array[String](["Yeah! Don't hold anything back!", "Let's give this crowd a good show!"])
textbox_direction = 1
[sub_resource type="Resource" id="Resource_wtu3y"]
script = ExtResource("8_w0so3")
target_camera = NodePath("../HiroPlayer/Camera2D")
to_initial = null
target = Vector2(0, -60)
relative = false
speed = 1.0
teleport = false
wait_until_completion = true
[sub_resource type="Resource" id="Resource_hs1wh"]
script = ExtResource("3_0uw7j")
character = 4
@ -208,5 +208,5 @@ textbox_direction = 0
[resource]
resource_name = "prototype_clone_defeated"
script = ExtResource("1_75ljw")
commands = Array[Resource("res://Scripts/Cutscenes/Commands/base.gd")]([SubResource("Resource_jm5v6"), SubResource("Resource_as31p"), SubResource("Resource_xcdd6"), SubResource("Resource_bagm4"), SubResource("Resource_v16hg"), SubResource("Resource_vu1m2"), SubResource("Resource_4u6io"), SubResource("Resource_ork8h"), SubResource("Resource_5axwh"), SubResource("Resource_jdwa3"), SubResource("Resource_wsgt4"), SubResource("Resource_p2wwu"), SubResource("Resource_ben6d"), SubResource("Resource_5fw3k"), SubResource("Resource_tjwhc"), SubResource("Resource_t0ilw"), SubResource("Resource_3k148"), SubResource("Resource_f6433"), SubResource("Resource_o6ly6"), SubResource("Resource_pu4kf"), SubResource("Resource_wtu3y"), SubResource("Resource_hs1wh"), SubResource("Resource_apw73"), SubResource("Resource_yt0uq"), SubResource("Resource_lafmq"), SubResource("Resource_v7db0"), SubResource("Resource_p8wvt")])
commands = Array[Resource("res://Scripts/Cutscenes/Commands/base.gd")]([SubResource("Resource_jm5v6"), SubResource("Resource_as31p"), SubResource("Resource_xcdd6"), SubResource("Resource_bagm4"), SubResource("Resource_v16hg"), SubResource("Resource_vu1m2"), SubResource("Resource_4u6io"), SubResource("Resource_ork8h"), SubResource("Resource_5axwh"), SubResource("Resource_jdwa3"), SubResource("Resource_wsgt4"), SubResource("Resource_p2wwu"), SubResource("Resource_ben6d"), SubResource("Resource_5fw3k"), SubResource("Resource_wtu3y"), SubResource("Resource_tjwhc"), SubResource("Resource_t0ilw"), SubResource("Resource_3k148"), SubResource("Resource_f6433"), SubResource("Resource_o6ly6"), SubResource("Resource_pu4kf"), SubResource("Resource_hs1wh"), SubResource("Resource_apw73"), SubResource("Resource_yt0uq"), SubResource("Resource_lafmq"), SubResource("Resource_v7db0"), SubResource("Resource_p8wvt")])
auto_start_on_load = true

View file

@ -1,7 +1,6 @@
[gd_resource type="Resource" script_class="Cutscene" load_steps=11 format=3 uid="uid://un8ohl1ep2j6"]
[gd_resource type="Resource" script_class="Cutscene" load_steps=10 format=3 uid="uid://un8ohl1ep2j6"]
[ext_resource type="Script" path="res://Scripts/Cutscenes/Commands/wait.gd" id="1_m1fw4"]
[ext_resource type="Script" path="res://Scripts/Cutscenes/Commands/base.gd" id="1_rqph1"]
[ext_resource type="Script" path="res://Scripts/Cutscenes/Commands/show_dialogue.gd" id="2_fxrwb"]
[ext_resource type="Script" path="res://Scripts/Cutscenes/cutscene.gd" id="3_jryou"]
@ -57,5 +56,5 @@ textbox_direction = 1
[resource]
resource_name = "reed_wins_nsfw_range"
script = ExtResource("3_jryou")
commands = Array[ExtResource("1_rqph1")]([SubResource("Resource_j0qrl"), SubResource("Resource_75mgm"), SubResource("Resource_1wi5v"), SubResource("Resource_2fi0d"), SubResource("Resource_cw5jl"), SubResource("Resource_xxogb")])
commands = Array[Resource("res://Scripts/Cutscenes/Commands/base.gd")]([SubResource("Resource_j0qrl"), SubResource("Resource_75mgm"), SubResource("Resource_1wi5v"), SubResource("Resource_2fi0d"), SubResource("Resource_cw5jl"), SubResource("Resource_xxogb")])
auto_start_on_load = true

View file

@ -32,7 +32,7 @@ character = 2
custom_name = ""
portrait_set = "default"
portrait_emotion = "normal"
messages = Array[String](["Looks like we got a winner here folks! Give it up for... HIRO!", "And that's all for today. Thank you all so much for being here at Rikika Dojo."])
messages = Array[String](["Looks like we've got a winner here, folks! Give it up for... HIRO!", "And that's all for today. Thank you all so much for being here at Rikika Dojo."])
textbox_direction = 1
[sub_resource type="Resource" id="Resource_abgul"]