Files
ai-game-2/Game.tscn
2026-03-09 14:21:08 -07:00

186 lines
6.0 KiB
Plaintext

[gd_scene format=3 uid="uid://dni0wqjh12rn6"]
[ext_resource type="Script" uid="uid://b2npq7lwis0ri" path="res://label.gd" id="1"]
[ext_resource type="Script" uid="uid://cv4llkc0yrjxa" path="res://MainGame.gd" id="2"]
[ext_resource type="Shader" uid="uid://xnktg4kun4b3" path="res://blur.gdshader" id="2_jr51a"]
[ext_resource type="Script" uid="uid://bqx723mpywtfc" path="res://BlurrableSprite.gd" id="3_a4qo8"]
[ext_resource type="Theme" uid="uid://dkli02kmdncbc" path="res://UITheme.tres" id="4"]
[ext_resource type="FontFile" uid="uid://b1n7bvtur65ac" path="res://friendlyscribbles.ttf" id="5_0olt8"]
[ext_resource type="Script" uid="uid://dsmai0fv8apie" path="res://GameScript.gd" id="5_rglkg"]
[ext_resource type="PackedScene" uid="uid://c0mp4a2u3jkd" path="res://portrait.tscn" id="7_fj12q"]
[ext_resource type="Script" uid="uid://bsvab128vy1ip" path="res://OffsetCameraBasedOnMovement.gd" id="8_cvftx"]
[ext_resource type="PackedScene" uid="uid://dyk4rcqsk3aed" path="res://scenes/kq4_003_fountain_pool/kq4_003_fountain_pool.tscn" id="8_yx171"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_44mjr"]
shader = ExtResource("2_jr51a")
shader_parameter/step = Vector2(1, 1)
shader_parameter/radius = 0.0
[sub_resource type="ViewportTexture" id="ViewportTexture_wppwg"]
viewport_path = NodePath("SceneViewport")
[sub_resource type="Gradient" id="Gradient_itcyp"]
offsets = PackedFloat32Array(0, 0.0820312)
colors = PackedColorArray(0, 0, 0, 1, 0, 0, 0, 1)
[sub_resource type="GradientTexture2D" id="6"]
gradient = SubResource("Gradient_itcyp")
width = 2372
height = 1239
[sub_resource type="Animation" id="7"]
resource_name = "fade-in"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0.1, 0.5),
"transitions": PackedFloat32Array(1, 3.13834),
"update": 0,
"values": [Color(1, 1, 1, 0.368627), Color(1, 1, 1, 0)]
}
[sub_resource type="Animation" id="8"]
resource_name = "fade-out"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0.1, 0.5),
"transitions": PackedFloat32Array(1, 3.4822),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_nmfun"]
_data = {
&"fade-in": SubResource("7"),
&"fade-out": SubResource("8")
}
[sub_resource type="LabelSettings" id="LabelSettings_va2rf"]
font = ExtResource("5_0olt8")
font_size = 32
outline_size = 5
outline_color = Color(0, 0, 0, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_narrator"]
bg_color = Color(0, 0, 0, 0.75)
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[sub_resource type="LabelSettings" id="LabelSettings_narrator"]
font = ExtResource("5_0olt8")
font_size = 28
outline_size = 4
outline_color = Color(0, 0, 0, 1)
[node name="Node2D" type="Node2D" unique_id=826166852]
script = ExtResource("2")
[node name="SceneDisplay" type="CanvasLayer" parent="." unique_id=1739356944]
[node name="SceneTexture" type="Sprite2D" parent="SceneDisplay" unique_id=1754946621]
texture_filter = 2
material = SubResource("ShaderMaterial_44mjr")
texture = SubResource("ViewportTexture_wppwg")
centered = false
script = ExtResource("3_a4qo8")
[node name="Fade" type="Sprite2D" parent="SceneDisplay" unique_id=256457664]
modulate = Color(1, 1, 1, 0)
position = Vector2(-17, -7)
scale = Vector2(2048, 2048)
texture = SubResource("6")
centered = false
[node name="FadePlayer" type="AnimationPlayer" parent="SceneDisplay/Fade" unique_id=1894226220]
unique_name_in_owner = true
libraries/ = SubResource("AnimationLibrary_nmfun")
[node name="SceneViewport" type="SubViewport" parent="." unique_id=1826796630]
handle_input_locally = false
msaa_2d = 2
screen_space_aa = 1
physics_object_picking = true
size = Vector2i(1920, 1080)
[node name="label" type="Node2D" parent="SceneViewport" unique_id=677429968]
z_index = 1
position = Vector2(1442.87, 661.499)
script = ExtResource("1")
[node name="label" type="Label" parent="SceneViewport/label" unique_id=1495298472]
offset_left = 53.2751
offset_top = 6.65936
offset_right = 461.275
offset_bottom = 110.659
theme = ExtResource("4")
label_settings = SubResource("LabelSettings_va2rf")
[node name="PlayerTracker" type="Node2D" parent="SceneViewport" unique_id=752944130]
[node name="Camera2D" type="Camera2D" parent="SceneViewport/PlayerTracker" unique_id=1215014860]
limit_left = 0
limit_top = 0
limit_right = 99999999
limit_bottom = 99999999
limit_smoothed = true
position_smoothing_enabled = true
position_smoothing_speed = 1.385
script = ExtResource("8_cvftx")
[node name="background" parent="SceneViewport" unique_id=1906581101 instance=ExtResource("8_yx171")]
[node name="GameScript" type="Node" parent="." unique_id=947629093]
unique_name_in_owner = true
script = ExtResource("5_rglkg")
[node name="dialogue" parent="." unique_id=186154081 instance=ExtResource("7_fj12q")]
position = Vector2(328, 106)
scale = Vector2(0.75, 0.75)
[node name="NarratorOverlay" type="CanvasLayer" parent="." unique_id=987654321]
layer = 10
[node name="Panel" type="Panel" parent="NarratorOverlay" unique_id=987654322]
visible = false
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -600.0
offset_top = -120.0
offset_right = 600.0
offset_bottom = -20.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/panel = SubResource("StyleBoxFlat_narrator")
[node name="Label" type="Label" parent="NarratorOverlay/Panel" unique_id=987654323]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 20.0
offset_top = 15.0
offset_right = -20.0
offset_bottom = -15.0
grow_horizontal = 2
grow_vertical = 2
label_settings = SubResource("LabelSettings_narrator")
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 3