mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-16 01:43:46 +00:00
Intro player
This commit is contained in:
parent
ceef19e6c9
commit
39fc403219
22 changed files with 531 additions and 3 deletions
12
Dialogue/CustomScenes/DialogicImage.tscn
Normal file
12
Dialogue/CustomScenes/DialogicImage.tscn
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://jypfiwjsk8wh"]
|
||||
|
||||
[ext_resource type="Script" path="res://addons/dialogic/Modules/Background/node_background_holder.gd" id="1_4gfgy"]
|
||||
|
||||
[node name="DialogicImage" type="Node2D"]
|
||||
|
||||
[node name="DialogicNode_BackgroundHolder" type="ColorRect" parent="."]
|
||||
offset_left = 126.0
|
||||
offset_top = 41.0
|
||||
offset_right = 209.0
|
||||
offset_bottom = 124.0
|
||||
script = ExtResource("1_4gfgy")
|
||||
33
Dialogue/CustomScenes/dialogic_windowed_image.tscn
Normal file
33
Dialogue/CustomScenes/dialogic_windowed_image.tscn
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://1qx7a3isffve"]
|
||||
|
||||
[ext_resource type="Script" path="res://addons/dialogic/Modules/Background/DefaultBackgroundScene/default_background.gd" id="1_2qy85"]
|
||||
|
||||
[node name="DefaultBackground" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 180.0
|
||||
offset_top = 20.0
|
||||
offset_right = -60.0
|
||||
offset_bottom = -60.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_2qy85")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Image" type="TextureRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 0
|
||||
|
|
@ -71,4 +71,4 @@ layer_info = {
|
|||
}
|
||||
base_overrides = {}
|
||||
layers = Array[ExtResource("1_5pxx8")]([])
|
||||
metadata/_latest_layer = "12"
|
||||
metadata/_latest_layer = "10"
|
||||
|
|
|
|||
76
Dialogue/Styles/Intro_Syle.tres
Normal file
76
Dialogue/Styles/Intro_Syle.tres
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
[gd_resource type="Resource" script_class="DialogicStyle" load_steps=18 format=3 uid="uid://cslkpptaokfkg"]
|
||||
|
||||
[ext_resource type="Script" path="res://addons/dialogic/Resources/dialogic_style_layer.gd" id="1_q5n8x"]
|
||||
[ext_resource type="PackedScene" uid="uid://c1k5m0w3r40xf" path="res://addons/dialogic/Modules/DefaultLayoutParts/Layer_FullBackground/full_background_layer.tscn" id="2_00med"]
|
||||
[ext_resource type="PackedScene" uid="uid://cn674foxwedqu" path="res://addons/dialogic/Modules/DefaultLayoutParts/Layer_Input/full_advance_input_layer.tscn" id="3_neejd"]
|
||||
[ext_resource type="PackedScene" uid="uid://by6waso0mjpjp" path="res://addons/dialogic/Modules/DefaultLayoutParts/Layer_SpeakerPortraitTextbox/textbox_with_speaker_portrait.tscn" id="4_rxcg7"]
|
||||
[ext_resource type="PackedScene" uid="uid://dsbwnp5hegnu3" path="res://addons/dialogic/Modules/DefaultLayoutParts/Layer_Glossary/glossary_popup_layer.tscn" id="5_vb5qu"]
|
||||
[ext_resource type="PackedScene" uid="uid://dhk6j6eb6e3q" path="res://addons/dialogic/Modules/DefaultLayoutParts/Layer_VN_Choices/vn_choice_layer.tscn" id="6_qdab0"]
|
||||
[ext_resource type="PackedScene" uid="uid://cvgf4c6gg0tsy" path="res://addons/dialogic/Modules/DefaultLayoutParts/Layer_TextInput/text_input_layer.tscn" id="7_8duix"]
|
||||
[ext_resource type="PackedScene" uid="uid://lx24i8fl6uo" path="res://addons/dialogic/Modules/DefaultLayoutParts/Layer_History/history_layer.tscn" id="8_w0pnw"]
|
||||
[ext_resource type="Script" path="res://addons/dialogic/Resources/dialogic_style.gd" id="9_tn0x4"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_8gxnf"]
|
||||
script = ExtResource("1_q5n8x")
|
||||
overrides = {
|
||||
"global_font_size": "10.0"
|
||||
}
|
||||
|
||||
[sub_resource type="Resource" id="Resource_rknjs"]
|
||||
script = ExtResource("1_q5n8x")
|
||||
scene = ExtResource("2_00med")
|
||||
overrides = {}
|
||||
|
||||
[sub_resource type="Resource" id="Resource_1uias"]
|
||||
script = ExtResource("1_q5n8x")
|
||||
scene = ExtResource("3_neejd")
|
||||
overrides = {}
|
||||
|
||||
[sub_resource type="Resource" id="Resource_7eaws"]
|
||||
script = ExtResource("1_q5n8x")
|
||||
scene = ExtResource("4_rxcg7")
|
||||
overrides = {
|
||||
"box_distance": "0.0",
|
||||
"box_panel": "\"res://Dialogue/Styles/intro_stylebox.tres\"",
|
||||
"box_size": "Vector2(300, 60)",
|
||||
"custom_normal_font": "\"res://fonts/at01.ttf\"",
|
||||
"text_custom_size": "4.0"
|
||||
}
|
||||
|
||||
[sub_resource type="Resource" id="Resource_rv6rq"]
|
||||
script = ExtResource("1_q5n8x")
|
||||
scene = ExtResource("5_vb5qu")
|
||||
overrides = {}
|
||||
|
||||
[sub_resource type="Resource" id="Resource_4eko4"]
|
||||
script = ExtResource("1_q5n8x")
|
||||
scene = ExtResource("6_qdab0")
|
||||
overrides = {}
|
||||
|
||||
[sub_resource type="Resource" id="Resource_mhdb2"]
|
||||
script = ExtResource("1_q5n8x")
|
||||
scene = ExtResource("7_8duix")
|
||||
overrides = {}
|
||||
|
||||
[sub_resource type="Resource" id="Resource_umqyu"]
|
||||
script = ExtResource("1_q5n8x")
|
||||
scene = ExtResource("8_w0pnw")
|
||||
overrides = {}
|
||||
|
||||
[resource]
|
||||
script = ExtResource("9_tn0x4")
|
||||
name = "Intro_Syle"
|
||||
layer_list = Array[String](["10", "11", "12", "13", "14", "15", "16"])
|
||||
layer_info = {
|
||||
"": SubResource("Resource_8gxnf"),
|
||||
"10": SubResource("Resource_rknjs"),
|
||||
"11": SubResource("Resource_1uias"),
|
||||
"12": SubResource("Resource_7eaws"),
|
||||
"13": SubResource("Resource_rv6rq"),
|
||||
"14": SubResource("Resource_4eko4"),
|
||||
"15": SubResource("Resource_mhdb2"),
|
||||
"16": SubResource("Resource_umqyu")
|
||||
}
|
||||
base_overrides = {}
|
||||
layers = Array[ExtResource("1_q5n8x")]([])
|
||||
metadata/_latest_layer = "12"
|
||||
|
|
@ -74,4 +74,4 @@ layer_info = {
|
|||
}
|
||||
base_overrides = {}
|
||||
layers = Array[ExtResource("1_5pbjb")]([])
|
||||
metadata/_latest_layer = "12"
|
||||
metadata/_latest_layer = "11"
|
||||
|
|
|
|||
42
Dialogue/Styles/custom_test.tres
Normal file
42
Dialogue/Styles/custom_test.tres
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
[gd_resource type="Resource" script_class="DialogicStyle" load_steps=8 format=3 uid="uid://nt27v2wakc1d"]
|
||||
|
||||
[ext_resource type="Script" path="res://addons/dialogic/Resources/dialogic_style_layer.gd" id="1_ox851"]
|
||||
[ext_resource type="PackedScene" uid="uid://bquja8jyk8kbr" path="res://addons/dialogic/Modules/DefaultLayoutParts/Layer_VN_Textbox/vn_textbox_layer.tscn" id="2_02p3y"]
|
||||
[ext_resource type="Script" path="res://addons/dialogic/Resources/dialogic_style.gd" id="2_dpeha"]
|
||||
[ext_resource type="PackedScene" uid="uid://c1k5m0w3r40xf" path="res://addons/dialogic/Modules/DefaultLayoutParts/Layer_FullBackground/full_background_layer.tscn" id="3_8orul"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_28lt3"]
|
||||
script = ExtResource("1_ox851")
|
||||
overrides = {
|
||||
"global_font": "\"res://fonts/at01.ttf\""
|
||||
}
|
||||
|
||||
[sub_resource type="Resource" id="Resource_ojqkx"]
|
||||
script = ExtResource("1_ox851")
|
||||
scene = ExtResource("2_02p3y")
|
||||
overrides = {
|
||||
"box_animation_in": "0",
|
||||
"box_animation_out": "0",
|
||||
"box_margin_bottom": "0.0",
|
||||
"box_size": "Vector2(200, 60)",
|
||||
"next_indicator_enabled": "false",
|
||||
"typing_sounds_enabled": "false"
|
||||
}
|
||||
|
||||
[sub_resource type="Resource" id="Resource_q6pd1"]
|
||||
script = ExtResource("1_ox851")
|
||||
scene = ExtResource("3_8orul")
|
||||
overrides = {}
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_dpeha")
|
||||
name = "custom_test"
|
||||
layer_list = Array[String](["11", "10"])
|
||||
layer_info = {
|
||||
"": SubResource("Resource_28lt3"),
|
||||
"10": SubResource("Resource_ojqkx"),
|
||||
"11": SubResource("Resource_q6pd1")
|
||||
}
|
||||
base_overrides = {}
|
||||
layers = Array[ExtResource("1_ox851")]([])
|
||||
metadata/_latest_layer = "11"
|
||||
13
Dialogue/Styles/intro_stylebox.tres
Normal file
13
Dialogue/Styles/intro_stylebox.tres
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[gd_resource type="StyleBoxFlat" format=3 uid="uid://dsqjb8xslwm2r"]
|
||||
|
||||
[resource]
|
||||
content_margin_left = 10.0
|
||||
content_margin_top = 10.0
|
||||
content_margin_right = 10.0
|
||||
content_margin_bottom = 10.0
|
||||
bg_color = Color(1, 1, 1, 1)
|
||||
skew = Vector2(0.073, 0)
|
||||
corner_radius_top_left = 10
|
||||
corner_radius_top_right = 10
|
||||
corner_radius_bottom_right = 10
|
||||
corner_radius_bottom_left = 10
|
||||
6
Dialogue/Timelines/intro_story.dtl
Normal file
6
Dialogue/Timelines/intro_story.dtl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[style name="custom_test"]
|
||||
[music path="res://Music/Title.mp3" fade="0.0" volume="0.0" loop="false"]
|
||||
[background arg="res://Sprites/Briefing/Intro1small-crop.png" fade="0.6"]
|
||||
In the land of Gensokyo, the forest of magic
|
||||
[background scene="res://Dialogue/CustomScenes/dialogic_windowed_image.tscn" arg="res://Sprites/Briefing/Refinery.png" fade="0.0"]
|
||||
A fairy plays
|
||||
Loading…
Add table
Add a link
Reference in a new issue