message
This commit is contained in:
2
main.gd
2
main.gd
@ -28,6 +28,7 @@ var active_camera: SuperCamera
|
||||
@onready var trigger_second_npc_dialogue: Area2D = $TriggerSecondNPCDialogue
|
||||
@onready var trigger_npc_first_dialogue: Area2D = $TriggerNPCFirstDialogue
|
||||
@onready var trigger_final_dialogue: Area2D = $TriggerFinalDialogue
|
||||
@onready var ending: ColorRect = $Ending
|
||||
|
||||
|
||||
@onready var ambiance: AudioStreamPlayer = $Ambiance
|
||||
@ -54,6 +55,7 @@ func _process(delta: float) -> void:
|
||||
bubbles_interior.global_position.x = active_camera.global_position.x
|
||||
choices_container.global_position.x = active_camera.global_position.x - 100
|
||||
opening_fade_to_black.global_position.x = active_camera.global_position.x - 320.0
|
||||
ending.global_position.x = active_camera.global_position.x - 320.0
|
||||
|
||||
background_far.global_position.x = active_camera.global_position.x * parallax_far
|
||||
background_middle.global_position.x = active_camera.global_position.x * parallax_middle
|
||||
|
60
main.tscn
60
main.tscn
@ -879,6 +879,18 @@ tracks/2/keys = {
|
||||
"update": 0,
|
||||
"values": [0.0]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("Ending:visible")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_2cqfq"]
|
||||
resource_name = "dance"
|
||||
@ -972,12 +984,9 @@ tracks/6/path = NodePath(".")
|
||||
tracks/6/interp = 1
|
||||
tracks/6/loop_wrap = true
|
||||
tracks/6/keys = {
|
||||
"times": PackedFloat32Array(8),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"values": [{
|
||||
"args": [],
|
||||
"method": &"restart_at_first_scene"
|
||||
}]
|
||||
"times": PackedFloat32Array(),
|
||||
"transitions": PackedFloat32Array(),
|
||||
"values": []
|
||||
}
|
||||
tracks/7/type = "method"
|
||||
tracks/7/imported = false
|
||||
@ -1012,10 +1021,22 @@ tracks/9/path = NodePath("DanceMusic:volume_db")
|
||||
tracks/9/interp = 1
|
||||
tracks/9/loop_wrap = true
|
||||
tracks/9/keys = {
|
||||
"times": PackedFloat32Array(0, 2.99, 6, 8),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
||||
"times": PackedFloat32Array(0, 2.99, 6),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [0.0, 0.0, 0.0, -80.0]
|
||||
"values": [0.0, 0.0, 0.0]
|
||||
}
|
||||
tracks/10/type = "value"
|
||||
tracks/10/imported = false
|
||||
tracks/10/enabled = true
|
||||
tracks/10/path = NodePath("Ending:visible")
|
||||
tracks/10/interp = 1
|
||||
tracks/10/loop_wrap = true
|
||||
tracks/10/keys = {
|
||||
"times": PackedFloat32Array(0, 0.0333333, 6.06667),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [false, false, true]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_yaehf"]
|
||||
@ -1790,6 +1811,27 @@ offset_right = 320.0
|
||||
offset_bottom = 136.0
|
||||
color = Color(0, 0, 0, 0)
|
||||
|
||||
[node name="Ending" type="ColorRect" parent="."]
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(640, 360)
|
||||
offset_left = -320.0
|
||||
offset_top = -224.0
|
||||
offset_right = 320.0
|
||||
offset_bottom = 136.0
|
||||
color = Color(0, 0, 0, 1)
|
||||
|
||||
[node name="CenterContainer" type="CenterContainer" parent="Ending"]
|
||||
custom_minimum_size = Vector2(640, 320)
|
||||
layout_mode = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="Label" type="Label" parent="Ending/CenterContainer"]
|
||||
layout_mode = 2
|
||||
text = "You broke the cycle of violence!"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="FinalCutscene" type="AnimationPlayer" parent="."]
|
||||
root_node = NodePath("../FinalCinematic")
|
||||
libraries = {
|
||||
|
Reference in New Issue
Block a user