No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TimelineEditor.tscn 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. [gd_scene load_steps=21 format=2]
  2. [ext_resource path="res://addons/dialogic/Images/character-join.svg" type="Texture" id=1]
  3. [ext_resource path="res://addons/dialogic/Images/dialog.svg" type="Texture" id=2]
  4. [ext_resource path="res://addons/dialogic/Images/audio-event.svg" type="Texture" id=3]
  5. [ext_resource path="res://addons/dialogic/Images/scene.svg" type="Texture" id=4]
  6. [ext_resource path="res://addons/dialogic/Images/condition.svg" type="Texture" id=5]
  7. [ext_resource path="res://addons/dialogic/Images/end-dialog.svg" type="Texture" id=6]
  8. [ext_resource path="res://addons/dialogic/Images/character-leave.svg" type="Texture" id=7]
  9. [ext_resource path="res://addons/dialogic/Images/question.svg" type="Texture" id=8]
  10. [ext_resource path="res://addons/dialogic/Images/end-choice.svg" type="Texture" id=9]
  11. [ext_resource path="res://addons/dialogic/Images/change-timeline.svg" type="Texture" id=10]
  12. [ext_resource path="res://addons/dialogic/Images/Resources/definition.svg" type="Texture" id=11]
  13. [ext_resource path="res://addons/dialogic/Images/choice.svg" type="Texture" id=12]
  14. [ext_resource path="res://addons/dialogic/Images/tutorials/arrow-down.svg" type="Texture" id=13]
  15. [ext_resource path="res://addons/dialogic/Images/Wait.svg" type="Texture" id=14]
  16. [ext_resource path="res://addons/dialogic/Images/change-scene.svg" type="Texture" id=15]
  17. [ext_resource path="res://addons/dialogic/Images/signal.svg" type="Texture" id=16]
  18. [ext_resource path="res://addons/dialogic/Editor/TimelineEditor/TimelineEditor.gd" type="Script" id=17]
  19. [ext_resource path="res://addons/dialogic/Images/theme.svg" type="Texture" id=18]
  20. [sub_resource type="StyleBoxFlat" id=1]
  21. content_margin_left = 5.0
  22. content_margin_right = 5.0
  23. content_margin_top = 5.0
  24. content_margin_bottom = 5.0
  25. bg_color = Color( 0.14902, 0.172549, 0.231373, 1 )
  26. border_width_left = 1
  27. border_width_top = 1
  28. border_width_right = 1
  29. border_width_bottom = 1
  30. border_color = Color( 0.0980392, 0.113725, 0.152941, 1 )
  31. [sub_resource type="StyleBoxFlat" id=2]
  32. content_margin_right = 6.0
  33. content_margin_top = 10.0
  34. content_margin_bottom = 10.0
  35. bg_color = Color( 0.94902, 1, 0.482353, 1 )
  36. corner_radius_top_left = 5
  37. corner_radius_top_right = 5
  38. corner_radius_bottom_right = 5
  39. corner_radius_bottom_left = 5
  40. [node name="TimelineEditor" type="HSplitContainer"]
  41. anchor_right = 1.0
  42. anchor_bottom = 1.0
  43. size_flags_horizontal = 3
  44. size_flags_vertical = 3
  45. custom_constants/separation = 0
  46. split_offset = 7
  47. script = ExtResource( 17 )
  48. __meta__ = {
  49. "_edit_use_anchors_": false
  50. }
  51. [node name="TimelineArea" type="ScrollContainer" parent="."]
  52. margin_right = 816.0
  53. margin_bottom = 600.0
  54. size_flags_horizontal = 3
  55. size_flags_vertical = 3
  56. custom_styles/bg = SubResource( 1 )
  57. __meta__ = {
  58. "_edit_use_anchors_": false
  59. }
  60. [node name="TimeLine" type="VBoxContainer" parent="TimelineArea"]
  61. margin_left = 5.0
  62. margin_top = 5.0
  63. margin_right = 811.0
  64. margin_bottom = 595.0
  65. grow_horizontal = 2
  66. grow_vertical = 2
  67. size_flags_horizontal = 3
  68. size_flags_vertical = 3
  69. [node name="ScrollContainer" type="ScrollContainer" parent="."]
  70. margin_left = 824.0
  71. margin_right = 1024.0
  72. margin_bottom = 600.0
  73. rect_min_size = Vector2( 200, 0 )
  74. [node name="EventContainer" type="VBoxContainer" parent="ScrollContainer"]
  75. margin_right = 188.0
  76. margin_bottom = 702.0
  77. size_flags_horizontal = 3
  78. size_flags_vertical = 3
  79. __meta__ = {
  80. "_edit_use_anchors_": false
  81. }
  82. [node name="EventsWarning" type="PanelContainer" parent="ScrollContainer/EventContainer"]
  83. margin_right = 188.0
  84. margin_bottom = 68.0
  85. custom_styles/panel = SubResource( 2 )
  86. [node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/EventContainer/EventsWarning"]
  87. margin_top = 10.0
  88. margin_right = 182.0
  89. margin_bottom = 58.0
  90. size_flags_horizontal = 3
  91. size_flags_vertical = 3
  92. __meta__ = {
  93. "_edit_use_anchors_": false
  94. }
  95. [node name="TextureRect" type="TextureRect" parent="ScrollContainer/EventContainer/EventsWarning/HBoxContainer"]
  96. margin_right = 40.0
  97. margin_bottom = 48.0
  98. rect_min_size = Vector2( 40, 40 )
  99. texture = ExtResource( 13 )
  100. stretch_mode = 4
  101. [node name="Label" type="Label" parent="ScrollContainer/EventContainer/EventsWarning/HBoxContainer"]
  102. margin_left = 44.0
  103. margin_right = 182.0
  104. margin_bottom = 48.0
  105. rect_min_size = Vector2( 100, 0 )
  106. size_flags_horizontal = 3
  107. size_flags_vertical = 1
  108. custom_colors/font_color = Color( 0, 0, 0, 1 )
  109. text = "Add an event to start building your timeline"
  110. autowrap = true
  111. [node name="HBoxContainer6" type="HBoxContainer" parent="ScrollContainer/EventContainer"]
  112. margin_top = 72.0
  113. margin_right = 188.0
  114. margin_bottom = 86.0
  115. [node name="Label" type="Label" parent="ScrollContainer/EventContainer/HBoxContainer6"]
  116. margin_right = 77.0
  117. margin_bottom = 14.0
  118. text = "Main Events"
  119. [node name="HSeparator2" type="HSeparator" parent="ScrollContainer/EventContainer/HBoxContainer6"]
  120. margin_left = 81.0
  121. margin_right = 188.0
  122. margin_bottom = 14.0
  123. size_flags_horizontal = 3
  124. [node name="TextBlock" type="Button" parent="ScrollContainer/EventContainer"]
  125. margin_top = 90.0
  126. margin_right = 188.0
  127. margin_bottom = 118.0
  128. text = " Text Event"
  129. icon = ExtResource( 2 )
  130. align = 0
  131. [node name="CharacterJoinBlock" type="Button" parent="ScrollContainer/EventContainer"]
  132. margin_top = 122.0
  133. margin_right = 188.0
  134. margin_bottom = 150.0
  135. text = " Character Join"
  136. icon = ExtResource( 1 )
  137. align = 0
  138. [node name="CharacterLeaveBlock" type="Button" parent="ScrollContainer/EventContainer"]
  139. margin_top = 154.0
  140. margin_right = 188.0
  141. margin_bottom = 182.0
  142. text = " Character Leave"
  143. icon = ExtResource( 7 )
  144. align = 0
  145. [node name="HBoxContainer5" type="HBoxContainer" parent="ScrollContainer/EventContainer"]
  146. margin_top = 186.0
  147. margin_right = 188.0
  148. margin_bottom = 200.0
  149. [node name="Label" type="Label" parent="ScrollContainer/EventContainer/HBoxContainer5"]
  150. margin_right = 33.0
  151. margin_bottom = 14.0
  152. text = "Logic"
  153. [node name="HSeparator2" type="HSeparator" parent="ScrollContainer/EventContainer/HBoxContainer5"]
  154. margin_left = 37.0
  155. margin_right = 188.0
  156. margin_bottom = 14.0
  157. size_flags_horizontal = 3
  158. [node name="ButtonQuestion" type="Button" parent="ScrollContainer/EventContainer"]
  159. margin_top = 204.0
  160. margin_right = 188.0
  161. margin_bottom = 232.0
  162. text = " Question"
  163. icon = ExtResource( 8 )
  164. align = 0
  165. [node name="Choice" type="Button" parent="ScrollContainer/EventContainer"]
  166. margin_top = 236.0
  167. margin_right = 188.0
  168. margin_bottom = 264.0
  169. text = " Choice"
  170. icon = ExtResource( 12 )
  171. align = 0
  172. [node name="IfCondition" type="Button" parent="ScrollContainer/EventContainer"]
  173. margin_top = 268.0
  174. margin_right = 188.0
  175. margin_bottom = 296.0
  176. text = " Condition"
  177. icon = ExtResource( 5 )
  178. align = 0
  179. [node name="EndBranch" type="Button" parent="ScrollContainer/EventContainer"]
  180. margin_top = 300.0
  181. margin_right = 188.0
  182. margin_bottom = 328.0
  183. text = " End Branch"
  184. icon = ExtResource( 9 )
  185. align = 0
  186. [node name="SetValue" type="Button" parent="ScrollContainer/EventContainer"]
  187. margin_top = 332.0
  188. margin_right = 188.0
  189. margin_bottom = 360.0
  190. text = " Set Value"
  191. icon = ExtResource( 11 )
  192. align = 0
  193. [node name="HBoxContainer3" type="HBoxContainer" parent="ScrollContainer/EventContainer"]
  194. margin_top = 364.0
  195. margin_right = 188.0
  196. margin_bottom = 378.0
  197. [node name="Label" type="Label" parent="ScrollContainer/EventContainer/HBoxContainer3"]
  198. margin_right = 56.0
  199. margin_bottom = 14.0
  200. text = "Timeline"
  201. [node name="HSeparator2" type="HSeparator" parent="ScrollContainer/EventContainer/HBoxContainer3"]
  202. margin_left = 60.0
  203. margin_right = 188.0
  204. margin_bottom = 14.0
  205. size_flags_horizontal = 3
  206. [node name="ChangeTimeline" type="Button" parent="ScrollContainer/EventContainer"]
  207. margin_top = 382.0
  208. margin_right = 188.0
  209. margin_bottom = 410.0
  210. hint_tooltip = "This will instantly teleport you to the start of the desired timeline."
  211. text = " Change Timeline"
  212. icon = ExtResource( 10 )
  213. align = 0
  214. [node name="SceneEvent" type="Button" parent="ScrollContainer/EventContainer"]
  215. margin_top = 414.0
  216. margin_right = 188.0
  217. margin_bottom = 442.0
  218. text = " Scene Event"
  219. icon = ExtResource( 4 )
  220. align = 0
  221. [node name="CloseDialog" type="Button" parent="ScrollContainer/EventContainer"]
  222. margin_top = 446.0
  223. margin_right = 188.0
  224. margin_bottom = 474.0
  225. text = " Close Dialog"
  226. icon = ExtResource( 6 )
  227. align = 0
  228. [node name="WaitSeconds" type="Button" parent="ScrollContainer/EventContainer"]
  229. margin_top = 478.0
  230. margin_right = 188.0
  231. margin_bottom = 506.0
  232. text = " Wait Seconds"
  233. icon = ExtResource( 14 )
  234. align = 0
  235. [node name="SetTheme" type="Button" parent="ScrollContainer/EventContainer"]
  236. margin_top = 510.0
  237. margin_right = 188.0
  238. margin_bottom = 538.0
  239. text = " Set Theme"
  240. icon = ExtResource( 18 )
  241. align = 0
  242. [node name="HBoxContainer4" type="HBoxContainer" parent="ScrollContainer/EventContainer"]
  243. margin_top = 542.0
  244. margin_right = 188.0
  245. margin_bottom = 556.0
  246. [node name="Label" type="Label" parent="ScrollContainer/EventContainer/HBoxContainer4"]
  247. margin_right = 37.0
  248. margin_bottom = 14.0
  249. text = "Audio"
  250. [node name="HSeparator2" type="HSeparator" parent="ScrollContainer/EventContainer/HBoxContainer4"]
  251. margin_left = 41.0
  252. margin_right = 188.0
  253. margin_bottom = 14.0
  254. size_flags_horizontal = 3
  255. [node name="AudioBlock" type="Button" parent="ScrollContainer/EventContainer"]
  256. margin_top = 560.0
  257. margin_right = 188.0
  258. margin_bottom = 588.0
  259. text = " Audio Event"
  260. icon = ExtResource( 3 )
  261. align = 0
  262. [node name="BackgroundMusic" type="Button" parent="ScrollContainer/EventContainer"]
  263. margin_top = 592.0
  264. margin_right = 188.0
  265. margin_bottom = 620.0
  266. text = " Background Music"
  267. icon = ExtResource( 3 )
  268. align = 0
  269. [node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/EventContainer"]
  270. margin_top = 624.0
  271. margin_right = 188.0
  272. margin_bottom = 638.0
  273. [node name="Label" type="Label" parent="ScrollContainer/EventContainer/HBoxContainer"]
  274. margin_right = 39.0
  275. margin_bottom = 14.0
  276. text = "Godot"
  277. [node name="HSeparator2" type="HSeparator" parent="ScrollContainer/EventContainer/HBoxContainer"]
  278. margin_left = 43.0
  279. margin_right = 188.0
  280. margin_bottom = 14.0
  281. size_flags_horizontal = 3
  282. [node name="EmitSignal" type="Button" parent="ScrollContainer/EventContainer"]
  283. margin_top = 642.0
  284. margin_right = 188.0
  285. margin_bottom = 670.0
  286. text = " Emit Signal"
  287. icon = ExtResource( 16 )
  288. align = 0
  289. [node name="ChangeScene" type="Button" parent="ScrollContainer/EventContainer"]
  290. margin_top = 674.0
  291. margin_right = 188.0
  292. margin_bottom = 702.0
  293. hint_tooltip = "This will instantly change
  294. the current scene."
  295. text = " Change Scene"
  296. icon = ExtResource( 15 )
  297. align = 0