level0.tscn 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. [gd_scene load_steps=14 format=3 uid="uid://c8hd6g1ut5iok"]
  2. [ext_resource type="Texture2D" uid="uid://cgfevouuaj838" path="res://assets/sprites/background/background.png" id="1_u0hlj"]
  3. [ext_resource type="PackedScene" uid="uid://dkcd5om7fh0w4" path="res://scenes/tilemap/tilemap.tscn" id="2_lboos"]
  4. [ext_resource type="Texture2D" uid="uid://dm81x4ycx2pbm" path="res://assets/sprites/cut_scene/old_beggar_slime.png" id="3_gke0d"]
  5. [ext_resource type="Texture2D" uid="uid://boxy83mdd5bu" path="res://assets/sprites/slime/slime.png" id="4_buskx"]
  6. [ext_resource type="Texture2D" uid="uid://cf1yqnjl1wbi3" path="res://assets/sprites/cut_scene/bowl.png" id="5_xj773"]
  7. [ext_resource type="Texture2D" uid="uid://brc2hehktqsui" path="res://assets/sprites/cut_scene/red_slime.png" id="6_hr7qm"]
  8. [ext_resource type="Texture2D" uid="uid://diysmp7g8bow4" path="res://assets/sprites/cut_scene/phrase.png" id="7_b4pj3"]
  9. [ext_resource type="FontFile" uid="uid://dxsveaxmq5euc" path="res://assets/fonts/m5x7.ttf" id="8_cu588"]
  10. [sub_resource type="GDScript" id="GDScript_oi8dl"]
  11. script/source = "extends Node2D
  12. func _ready() -> void:
  13. $AnimationPlayer.play(\"cut_scene\")
  14. await $AnimationPlayer.animation_finished
  15. get_tree().change_scene_to_file(\"res://scenes/main_menu/level_select/level_select.tscn\")
  16. "
  17. [sub_resource type="LabelSettings" id="LabelSettings_55827"]
  18. font = ExtResource("8_cu588")
  19. font_size = 32
  20. [sub_resource type="Animation" id="Animation_iycxg"]
  21. length = 0.001
  22. tracks/0/type = "value"
  23. tracks/0/imported = false
  24. tracks/0/enabled = true
  25. tracks/0/path = NodePath("RedSlime:position")
  26. tracks/0/interp = 1
  27. tracks/0/loop_wrap = true
  28. tracks/0/keys = {
  29. "times": PackedFloat32Array(0),
  30. "transitions": PackedFloat32Array(1),
  31. "update": 0,
  32. "values": [Vector2(207, 155)]
  33. }
  34. tracks/1/type = "value"
  35. tracks/1/imported = false
  36. tracks/1/enabled = true
  37. tracks/1/path = NodePath("Bowl:frame")
  38. tracks/1/interp = 1
  39. tracks/1/loop_wrap = true
  40. tracks/1/keys = {
  41. "times": PackedFloat32Array(0),
  42. "transitions": PackedFloat32Array(1),
  43. "update": 1,
  44. "values": [0]
  45. }
  46. tracks/2/type = "value"
  47. tracks/2/imported = false
  48. tracks/2/enabled = true
  49. tracks/2/path = NodePath("Slime:position")
  50. tracks/2/interp = 1
  51. tracks/2/loop_wrap = true
  52. tracks/2/keys = {
  53. "times": PackedFloat32Array(0),
  54. "transitions": PackedFloat32Array(1),
  55. "update": 0,
  56. "values": [Vector2(-11, 155)]
  57. }
  58. tracks/3/type = "value"
  59. tracks/3/imported = false
  60. tracks/3/enabled = true
  61. tracks/3/path = NodePath("RedSlime:frame")
  62. tracks/3/interp = 1
  63. tracks/3/loop_wrap = true
  64. tracks/3/keys = {
  65. "times": PackedFloat32Array(0),
  66. "transitions": PackedFloat32Array(1),
  67. "update": 1,
  68. "values": [1]
  69. }
  70. tracks/4/type = "value"
  71. tracks/4/imported = false
  72. tracks/4/enabled = true
  73. tracks/4/path = NodePath("Bowl:modulate")
  74. tracks/4/interp = 1
  75. tracks/4/loop_wrap = true
  76. tracks/4/keys = {
  77. "times": PackedFloat32Array(0),
  78. "transitions": PackedFloat32Array(1),
  79. "update": 0,
  80. "values": [Color(1, 1, 1, 0)]
  81. }
  82. tracks/5/type = "value"
  83. tracks/5/imported = false
  84. tracks/5/enabled = true
  85. tracks/5/path = NodePath("OldBeggarSlime:frame")
  86. tracks/5/interp = 1
  87. tracks/5/loop_wrap = true
  88. tracks/5/keys = {
  89. "times": PackedFloat32Array(0),
  90. "transitions": PackedFloat32Array(1),
  91. "update": 1,
  92. "values": [0]
  93. }
  94. tracks/6/type = "value"
  95. tracks/6/imported = false
  96. tracks/6/enabled = true
  97. tracks/6/path = NodePath("Phrase:modulate")
  98. tracks/6/interp = 1
  99. tracks/6/loop_wrap = true
  100. tracks/6/keys = {
  101. "times": PackedFloat32Array(0),
  102. "transitions": PackedFloat32Array(1),
  103. "update": 0,
  104. "values": [Color(1, 1, 1, 0)]
  105. }
  106. [sub_resource type="Animation" id="Animation_lu7kn"]
  107. resource_name = "cut_scene"
  108. length = 12.5
  109. tracks/0/type = "value"
  110. tracks/0/imported = false
  111. tracks/0/enabled = true
  112. tracks/0/path = NodePath("RedSlime:position")
  113. tracks/0/interp = 1
  114. tracks/0/loop_wrap = true
  115. tracks/0/keys = {
  116. "times": PackedFloat32Array(0.5, 5, 5.5, 9.6),
  117. "transitions": PackedFloat32Array(1, 1, 1, 1),
  118. "update": 0,
  119. "values": [Vector2(288, 155), Vector2(64, 155), Vector2(64, 155), Vector2(219, 155)]
  120. }
  121. tracks/1/type = "value"
  122. tracks/1/imported = false
  123. tracks/1/enabled = true
  124. tracks/1/path = NodePath("Bowl:frame")
  125. tracks/1/interp = 1
  126. tracks/1/loop_wrap = true
  127. tracks/1/keys = {
  128. "times": PackedFloat32Array(0, 5.3),
  129. "transitions": PackedFloat32Array(1, 1),
  130. "update": 1,
  131. "values": [0, 1]
  132. }
  133. tracks/2/type = "value"
  134. tracks/2/imported = false
  135. tracks/2/enabled = true
  136. tracks/2/path = NodePath("Slime:position")
  137. tracks/2/interp = 1
  138. tracks/2/loop_wrap = true
  139. tracks/2/keys = {
  140. "times": PackedFloat32Array(5.5, 6, 6.5, 8, 11.6),
  141. "transitions": PackedFloat32Array(1, 1, 1, 1, 1),
  142. "update": 0,
  143. "values": [Vector2(-11, 155), Vector2(4, 155), Vector2(4, 155), Vector2(45, 155), Vector2(393, 155)]
  144. }
  145. tracks/3/type = "value"
  146. tracks/3/imported = false
  147. tracks/3/enabled = true
  148. tracks/3/path = NodePath("RedSlime:frame")
  149. tracks/3/interp = 1
  150. tracks/3/loop_wrap = true
  151. tracks/3/keys = {
  152. "times": PackedFloat32Array(0, 5.5, 9.6, 10.5, 11.2),
  153. "transitions": PackedFloat32Array(1, 1, 1, 1, 1),
  154. "update": 1,
  155. "values": [0, 1, 0, 1, 2]
  156. }
  157. tracks/4/type = "value"
  158. tracks/4/imported = false
  159. tracks/4/enabled = true
  160. tracks/4/path = NodePath("Bowl:modulate")
  161. tracks/4/interp = 1
  162. tracks/4/loop_wrap = true
  163. tracks/4/keys = {
  164. "times": PackedFloat32Array(0, 8),
  165. "transitions": PackedFloat32Array(1, 1),
  166. "update": 1,
  167. "values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
  168. }
  169. tracks/5/type = "value"
  170. tracks/5/imported = false
  171. tracks/5/enabled = true
  172. tracks/5/path = NodePath("OldBeggarSlime:frame")
  173. tracks/5/interp = 1
  174. tracks/5/loop_wrap = true
  175. tracks/5/keys = {
  176. "times": PackedFloat32Array(0, 8, 8.9),
  177. "transitions": PackedFloat32Array(1, 1, 1),
  178. "update": 1,
  179. "values": [0, 1, 2]
  180. }
  181. tracks/6/type = "value"
  182. tracks/6/imported = false
  183. tracks/6/enabled = true
  184. tracks/6/path = NodePath("Phrase:modulate")
  185. tracks/6/interp = 1
  186. tracks/6/loop_wrap = true
  187. tracks/6/keys = {
  188. "times": PackedFloat32Array(0, 8.7, 9.3),
  189. "transitions": PackedFloat32Array(1, 1, 1),
  190. "update": 0,
  191. "values": [Color(1, 1, 1, 0), Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
  192. }
  193. [sub_resource type="AnimationLibrary" id="AnimationLibrary_nep8q"]
  194. _data = {
  195. "RESET": SubResource("Animation_iycxg"),
  196. "cut_scene": SubResource("Animation_lu7kn")
  197. }
  198. [node name="CutScene" type="Node2D"]
  199. script = SubResource("GDScript_oi8dl")
  200. [node name="Sky" type="Sprite2D" parent="."]
  201. texture_repeat = 2
  202. position = Vector2(0, -16)
  203. scale = Vector2(1.2, 1.2)
  204. texture = ExtResource("1_u0hlj")
  205. centered = false
  206. metadata/_edit_lock_ = true
  207. [node name="TileMap" parent="." instance=ExtResource("2_lboos")]
  208. layer_0/tile_data = PackedInt32Array(327680, 65536, 0, 327681, 65536, 0, 327682, 65536, 0, 327683, 65536, 0, 327684, 65536, 0, 327685, 65536, 0, 327686, 65536, 0, 327687, 65536, 0, 327688, 65536, 0, 327689, 65536, 0, 327690, 65536, 0, 327691, 65536, 0)
  209. [node name="Slime" type="Sprite2D" parent="."]
  210. position = Vector2(-11, 155)
  211. texture = ExtResource("4_buskx")
  212. hframes = 2
  213. vframes = 6
  214. [node name="OldBeggarSlime" type="Sprite2D" parent="."]
  215. position = Vector2(35, 156)
  216. texture = ExtResource("3_gke0d")
  217. hframes = 3
  218. [node name="Bowl" type="Sprite2D" parent="."]
  219. modulate = Color(1, 1, 1, 0)
  220. position = Vector2(48, 153)
  221. texture = ExtResource("5_xj773")
  222. hframes = 2
  223. [node name="RedSlime" type="Sprite2D" parent="."]
  224. position = Vector2(207, 155)
  225. texture = ExtResource("6_hr7qm")
  226. hframes = 3
  227. frame = 1
  228. [node name="Phrase" type="Sprite2D" parent="."]
  229. modulate = Color(1, 1, 1, 0)
  230. position = Vector2(108, 123)
  231. texture = ExtResource("7_b4pj3")
  232. [node name="Label" type="Label" parent="Phrase"]
  233. offset_left = -80.0
  234. offset_top = -24.0
  235. offset_right = 80.0
  236. offset_bottom = 8.0
  237. text = "God damn you!"
  238. label_settings = SubResource("LabelSettings_55827")
  239. horizontal_alignment = 1
  240. vertical_alignment = 1
  241. [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
  242. libraries = {
  243. "": SubResource("AnimationLibrary_nep8q")
  244. }