Skip to content

Commit 46595f0

Browse files
committed
Add test_timeline
1 parent afef90d commit 46595f0

File tree

1 file changed

+126
-0
lines changed

1 file changed

+126
-0
lines changed
Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
[gd_resource type="Resource" load_steps=29 format=2]
2+
3+
[ext_resource path="res://addons/dialog_plugin/Resources/TimelineResource.gd" type="Script" id=1]
4+
[ext_resource path="res://addons/dialog_plugin/Resources/Events/LogicEvent/ConditionEvent/ConditionEvent.gd" type="Script" id=2]
5+
[ext_resource path="res://addons/dialog_plugin/Resources/Events/LogicEvent/SetEvent/SetEvent.gd" type="Script" id=3]
6+
[ext_resource path="res://addons/dialog_plugin/Resources/Events/LogicEvent/QuestionEvent/QuestionEvent.gd" type="Script" id=4]
7+
[ext_resource path="res://addons/dialog_plugin/Resources/Events/LogicEvent/WaitTimeEvent/WaitTimeEvent.gd" type="Script" id=5]
8+
[ext_resource path="res://addons/dialog_plugin/Resources/Events/CharacterEvent/LeaveEvent/CharacterLeaveEvent.gd" type="Script" id=6]
9+
[ext_resource path="res://addons/dialog_plugin/Resources/Events/LogicEvent/ChangeTimelineEvent/ChangeTiemlineEvent.gd" type="Script" id=7]
10+
[ext_resource path="res://addons/dialog_plugin/Resources/Events/TextEvent/TextAudioEvent/TextAudioEvent.gd" type="Script" id=8]
11+
[ext_resource path="res://addons/dialog_plugin/Resources/Events/TextEvent/TextEvent.gd" type="Script" id=9]
12+
[ext_resource path="res://addons/dialog_plugin/Resources/Events/CharacterEvent/ChangeExpressionEvent/CharacterChangeExpressionEvent.gd" type="Script" id=10]
13+
[ext_resource path="res://addons/dialog_plugin/Resources/Events/MiscelaneousEvent/Comment/CommentEvent.gd" type="Script" id=11]
14+
[ext_resource path="res://addons/dialog_plugin/Resources/Events/CharacterEvent/JoinEvent/CharacterJoinEvent.gd" type="Script" id=12]
15+
[ext_resource path="res://addons/dialog_plugin/Resources/Events/LogicEvent/JumpToEvent/JumpToEvent.gd" type="Script" id=13]
16+
17+
[sub_resource type="Resource" id=1]
18+
resource_name = "Comment"
19+
script = ExtResource( 11 )
20+
skip = true
21+
text = "Every event of 1.0 is here! "
22+
23+
[sub_resource type="Resource" id=2]
24+
resource_name = "TextEvent"
25+
script = ExtResource( 9 )
26+
skip = false
27+
text = ""
28+
text_speed = 0.02
29+
continue_previous_text = false
30+
translation_key = "__SAME_AS_TEXT__"
31+
32+
[sub_resource type="Resource" id=3]
33+
resource_name = "TextWithAudio"
34+
script = ExtResource( 8 )
35+
skip = false
36+
text = ""
37+
text_speed = 0.04
38+
continue_previous_text = false
39+
translation_key = "__SAME_AS_TEXT__"
40+
loop_blip_sound = false
41+
force_blip_sound = false
42+
audio_bus = "Master"
43+
44+
[sub_resource type="Resource" id=4]
45+
script = ExtResource( 1 )
46+
events = [ ]
47+
_related_characters = [ ]
48+
49+
[sub_resource type="Resource" id=5]
50+
script = ExtResource( 1 )
51+
events = [ ]
52+
_related_characters = [ ]
53+
54+
[sub_resource type="Resource" id=6]
55+
resource_name = "IF|ELSE"
56+
script = ExtResource( 2 )
57+
skip = false
58+
events_if = SubResource( 5 )
59+
events_else = SubResource( 4 )
60+
condition = ""
61+
62+
[sub_resource type="Resource" id=7]
63+
resource_name = "SetVariableEvent"
64+
script = ExtResource( 3 )
65+
skip = true
66+
variable_name = ""
67+
variable_value = ""
68+
69+
[sub_resource type="Resource" id=8]
70+
resource_name = "WaitTimeEvent"
71+
script = ExtResource( 5 )
72+
skip = false
73+
wait_time = 0.0
74+
75+
[sub_resource type="Resource" id=9]
76+
resource_name = "JumpToEvent"
77+
script = ExtResource( 13 )
78+
skip = true
79+
event_index = -1
80+
81+
[sub_resource type="Resource" id=10]
82+
resource_name = "ChangeTimelineEvent"
83+
script = ExtResource( 7 )
84+
skip = true
85+
start_from_event = 0
86+
87+
[sub_resource type="Resource" id=11]
88+
resource_name = "Question"
89+
script = ExtResource( 4 )
90+
skip = true
91+
options = {
92+
}
93+
94+
[sub_resource type="Resource" id=12]
95+
resource_name = "CharacterJoinEvent"
96+
script = ExtResource( 12 )
97+
skip = true
98+
percent_position_x = 0.41
99+
percent_position_y = 0.28
100+
rotation = 0
101+
flip_h = false
102+
flip_v = false
103+
selected_portrait = -1
104+
105+
[sub_resource type="Resource" id=13]
106+
resource_name = "CharacterLeaveEvent"
107+
script = ExtResource( 6 )
108+
skip = true
109+
selected_portrait = -1
110+
111+
[sub_resource type="Resource" id=14]
112+
resource_name = "CharacterChangeExpression"
113+
script = ExtResource( 10 )
114+
skip = true
115+
selected_portrait = -1
116+
117+
[sub_resource type="Resource" id=15]
118+
resource_name = "Comment"
119+
script = ExtResource( 11 )
120+
skip = true
121+
text = "Pretty cool, isn't?"
122+
123+
[resource]
124+
script = ExtResource( 1 )
125+
events = [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ), SubResource( 9 ), SubResource( 10 ), SubResource( 11 ), SubResource( 12 ), SubResource( 13 ), SubResource( 14 ), SubResource( 15 ) ]
126+
_related_characters = [ ]

0 commit comments

Comments
 (0)