splash.tscn 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. [gd_scene load_steps=20 format=1]
  2. [ext_resource path="res://bg.png" type="Texture" id=1]
  3. [ext_resource path="res://bg_layer_2.png" type="Texture" id=2]
  4. [ext_resource path="res://bg_layer_1.png" type="Texture" id=3]
  5. [ext_resource path="res://splash_01.png" type="Texture" id=4]
  6. [ext_resource path="res://splash_02.png" type="Texture" id=5]
  7. [ext_resource path="res://splash_03.png" type="Texture" id=6]
  8. [ext_resource path="res://splash_04.png" type="Texture" id=7]
  9. [ext_resource path="res://splash_05.png" type="Texture" id=8]
  10. [ext_resource path="res://splash_06.png" type="Texture" id=9]
  11. [ext_resource path="res://splash_07.png" type="Texture" id=10]
  12. [ext_resource path="res://splash_08.png" type="Texture" id=11]
  13. [ext_resource path="res://splash_09.png" type="Texture" id=12]
  14. [ext_resource path="res://button.png" type="Texture" id=13]
  15. [ext_resource path="res://button_pressed.png" type="Texture" id=14]
  16. [ext_resource path="res://freesans.fnt" type="Font" id=15]
  17. [sub_resource type="Animation" id=1]
  18. resource/name = "scroll"
  19. length = 1.0
  20. loop = true
  21. step = 0.1
  22. tracks/0/type = "value"
  23. tracks/0/path = NodePath(".:rect/pos")
  24. tracks/0/interp = 1
  25. tracks/0/keys = { "cont":true, "times":FloatArray( 0, 1 ), "transitions":FloatArray( 1, 1 ), "values":[ Vector2( 0, 0 ), Vector2( -800, 0 ) ] }
  26. [sub_resource type="SpriteFrames" id=2]
  27. frames = [ ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 7 ), ExtResource( 8 ), ExtResource( 9 ), ExtResource( 10 ), ExtResource( 11 ), ExtResource( 12 ) ]
  28. [sub_resource type="Animation" id=3]
  29. resource/name = "intro"
  30. length = 3.0
  31. loop = false
  32. step = 0.1
  33. tracks/0/type = "value"
  34. tracks/0/path = NodePath("logo:transform/pos")
  35. tracks/0/interp = 1
  36. tracks/0/keys = { "cont":true, "times":FloatArray( 1, 1.5 ), "transitions":FloatArray( 2, 1 ), "values":[ Vector2( 412, -212.981 ), Vector2( 412, 171 ) ] }
  37. tracks/1/type = "value"
  38. tracks/1/path = NodePath("logo:frame")
  39. tracks/1/interp = 1
  40. tracks/1/keys = { "cont":false, "times":FloatArray( 0, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 3 ), "transitions":FloatArray( 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ), "values":[ 0, 0, 1, 2, 3, 4, 5, 6, 7, 8 ] }
  41. tracks/2/type = "value"
  42. tracks/2/path = NodePath("start:visibility/opacity")
  43. tracks/2/interp = 1
  44. tracks/2/keys = { "cont":true, "times":FloatArray( 2.5, 2.8 ), "transitions":FloatArray( 1, 1 ), "values":[ 0.0, 1.0 ] }
  45. tracks/3/type = "value"
  46. tracks/3/path = NodePath("start:visibility/visible")
  47. tracks/3/interp = 1
  48. tracks/3/keys = { "cont":false, "times":FloatArray( 0, 2.5 ), "transitions":FloatArray( 1, 1 ), "values":[ false, true ] }
  49. tracks/4/type = "value"
  50. tracks/4/path = NodePath("copyright:visibility/visible")
  51. tracks/4/interp = 1
  52. tracks/4/keys = { "cont":false, "times":FloatArray( 0, 2.5 ), "transitions":FloatArray( 1, 1 ), "values":[ false, true ] }
  53. tracks/5/type = "value"
  54. tracks/5/path = NodePath("copyright:visibility/opacity")
  55. tracks/5/interp = 1
  56. tracks/5/keys = { "cont":true, "times":FloatArray( 2.5, 2.8 ), "transitions":FloatArray( 1, 1 ), "values":[ 0.0, 1.0 ] }
  57. [sub_resource type="Animation" id=4]
  58. length = 0.6
  59. loop = true
  60. step = 0.1
  61. tracks/0/type = "value"
  62. tracks/0/path = NodePath("logo:frame")
  63. tracks/0/interp = 1
  64. tracks/0/keys = { "cont":false, "times":FloatArray( 0, 0.3 ), "transitions":FloatArray( 1, 1 ), "values":[ 8, 7 ] }
  65. [node name="splash" type="Control"]
  66. anchor/right = 1
  67. anchor/bottom = 1
  68. focus/ignore_mouse = false
  69. focus/stop_mouse = true
  70. size_flags/horizontal = 2
  71. size_flags/vertical = 2
  72. margin/left = 0.0
  73. margin/top = 0.0
  74. margin/right = 0.0
  75. margin/bottom = 0.0
  76. [node name="bg" type="Control" parent="."]
  77. focus/ignore_mouse = false
  78. focus/stop_mouse = true
  79. size_flags/horizontal = 2
  80. size_flags/vertical = 2
  81. margin/left = 0.0
  82. margin/top = 0.0
  83. margin/right = 40.0
  84. margin/bottom = 40.0
  85. [node name="1" type="TextureFrame" parent="bg"]
  86. focus/ignore_mouse = true
  87. focus/stop_mouse = true
  88. size_flags/horizontal = 2
  89. size_flags/vertical = 2
  90. margin/left = 0.0
  91. margin/top = 0.0
  92. margin/right = 40.0
  93. margin/bottom = 40.0
  94. texture = ExtResource( 1 )
  95. [node name="2" type="TextureFrame" parent="bg"]
  96. focus/ignore_mouse = true
  97. focus/stop_mouse = true
  98. size_flags/horizontal = 2
  99. size_flags/vertical = 2
  100. margin/left = 800.0
  101. margin/top = 0.0
  102. margin/right = 1600.0
  103. margin/bottom = 450.0
  104. texture = ExtResource( 1 )
  105. [node name="scroll" type="AnimationPlayer" parent="bg"]
  106. playback/process_mode = 1
  107. playback/default_blend_time = 0.0
  108. root/root = NodePath("..")
  109. anims/scroll = SubResource( 1 )
  110. playback/active = true
  111. playback/speed = 0.04
  112. blend_times = [ ]
  113. autoplay = "scroll"
  114. [node name="layer2" type="Control" parent="."]
  115. focus/ignore_mouse = false
  116. focus/stop_mouse = true
  117. size_flags/horizontal = 2
  118. size_flags/vertical = 2
  119. margin/left = 0.0
  120. margin/top = 0.0
  121. margin/right = 40.0
  122. margin/bottom = 40.0
  123. [node name="1" type="TextureFrame" parent="layer2"]
  124. focus/ignore_mouse = true
  125. focus/stop_mouse = true
  126. size_flags/horizontal = 2
  127. size_flags/vertical = 2
  128. margin/left = 0.0
  129. margin/top = 194.0
  130. margin/right = 800.0
  131. margin/bottom = 456.0
  132. texture = ExtResource( 2 )
  133. [node name="2" type="TextureFrame" parent="layer2"]
  134. focus/ignore_mouse = true
  135. focus/stop_mouse = true
  136. size_flags/horizontal = 2
  137. size_flags/vertical = 2
  138. margin/left = 800.0
  139. margin/top = 194.0
  140. margin/right = 1600.0
  141. margin/bottom = 456.0
  142. texture = ExtResource( 2 )
  143. [node name="scroll" type="AnimationPlayer" parent="layer2"]
  144. playback/process_mode = 1
  145. playback/default_blend_time = 0.0
  146. root/root = NodePath("..")
  147. anims/scroll = SubResource( 1 )
  148. playback/active = true
  149. playback/speed = 0.1
  150. blend_times = [ ]
  151. autoplay = "scroll"
  152. [node name="layer1" type="Control" parent="."]
  153. focus/ignore_mouse = false
  154. focus/stop_mouse = true
  155. size_flags/horizontal = 2
  156. size_flags/vertical = 2
  157. margin/left = 0.0
  158. margin/top = 0.0
  159. margin/right = 40.0
  160. margin/bottom = 40.0
  161. [node name="1" type="TextureFrame" parent="layer1"]
  162. focus/ignore_mouse = true
  163. focus/stop_mouse = true
  164. size_flags/horizontal = 2
  165. size_flags/vertical = 2
  166. margin/left = 0.0
  167. margin/top = 212.0
  168. margin/right = 800.0
  169. margin/bottom = 456.0
  170. texture = ExtResource( 3 )
  171. [node name="2" type="TextureFrame" parent="layer1"]
  172. focus/ignore_mouse = true
  173. focus/stop_mouse = true
  174. size_flags/horizontal = 2
  175. size_flags/vertical = 2
  176. margin/left = 800.0
  177. margin/top = 212.0
  178. margin/right = 1600.0
  179. margin/bottom = 456.0
  180. texture = ExtResource( 3 )
  181. [node name="scroll" type="AnimationPlayer" parent="layer1"]
  182. playback/process_mode = 1
  183. playback/default_blend_time = 0.0
  184. root/root = NodePath("..")
  185. anims/scroll = SubResource( 1 )
  186. playback/active = true
  187. playback/speed = 0.2
  188. blend_times = [ ]
  189. autoplay = "scroll"
  190. [node name="logo" type="AnimatedSprite" parent="."]
  191. transform/pos = Vector2( 412, 171 )
  192. frames = SubResource( 2 )
  193. frame = 8
  194. [node name="start" type="TextureButton" parent="."]
  195. focus/ignore_mouse = false
  196. focus/stop_mouse = true
  197. size_flags/horizontal = 2
  198. size_flags/vertical = 2
  199. margin/left = 345.0
  200. margin/top = 369.0
  201. margin/right = 494.0
  202. margin/bottom = 443.0
  203. toggle_mode = false
  204. textures/normal = ExtResource( 13 )
  205. textures/pressed = ExtResource( 14 )
  206. [node name="copyright" type="Label" parent="."]
  207. focus/ignore_mouse = true
  208. focus/stop_mouse = true
  209. size_flags/horizontal = 2
  210. margin/left = 658.0
  211. margin/top = 417.0
  212. margin/right = 776.0
  213. margin/bottom = 434.0
  214. custom_fonts/font = ExtResource( 15 )
  215. text = "(c) 1994 SOGA"
  216. percent_visible = 1.0
  217. lines_skipped = 0
  218. max_lines_visible = -1
  219. [node name="intro" type="AnimationPlayer" parent="."]
  220. playback/process_mode = 1
  221. playback/default_blend_time = 0.0
  222. root/root = NodePath("..")
  223. anims/intro = SubResource( 3 )
  224. anims/loop = SubResource( 4 )
  225. next/intro = "loop"
  226. playback/active = true
  227. playback/speed = 1.0
  228. blend_times = [ ]
  229. autoplay = "intro"