demo_scene.tscn 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  1. [gd_scene load_steps=13 format=3 uid="uid://bc8akj25hcmiy"]
  2. [ext_resource type="PackedScene" uid="uid://6o8sm5bti8d1" path="res://assets/ui/overlay.tscn" id="1"]
  3. [ext_resource type="PackedScene" path="res://assets/player/player_25d.tscn" id="2"]
  4. [ext_resource type="PackedScene" uid="uid://ivolxaqaaddk" path="res://assets/shadow/shadow_25d.tscn" id="3"]
  5. [ext_resource type="Script" path="res://addons/node25d/node_25d.gd" id="4"]
  6. [ext_resource type="Texture2D" uid="uid://cocwocceljq4g" path="res://assets/platform/textures/forty_five.png" id="6"]
  7. [ext_resource type="Script" path="res://assets/platform/platform_sprite.gd" id="7"]
  8. [ext_resource type="Script" path="res://addons/node25d/y_sort_25d.gd" id="8"]
  9. [ext_resource type="Texture2D" uid="uid://4ncvr78gnj20" path="res://addons/node25d/icons/y_sort_25d_icon.png" id="9"]
  10. [ext_resource type="AudioStream" uid="uid://c2su2nuhi1rof" path="res://assets/mr_mrs_robot.ogg" id="10"]
  11. [sub_resource type="BoxShape3D" id="1"]
  12. size = Vector3(10, 1, 10)
  13. [sub_resource type="BoxShape3D" id="2"]
  14. size = Vector3(10, 1, 10)
  15. [sub_resource type="BoxShape3D" id="3"]
  16. size = Vector3(10, 1, 10)
  17. [node name="DemoScene" type="Node2D"]
  18. [node name="Overlay" parent="." instance=ExtResource("1")]
  19. [node name="Player25D" parent="." instance=ExtResource("2")]
  20. position = Vector2(0, -226.274)
  21. z_index = -3952
  22. [node name="Shadow25D" parent="." instance=ExtResource("3")]
  23. visible = true
  24. position = Vector2(0, 22401.1)
  25. z_index = -3958
  26. [node name="Platform0" type="Node2D" parent="."]
  27. position = Vector2(-256, -113.137)
  28. z_index = -3954
  29. script = ExtResource("4")
  30. spatial_position = Vector3(-8, 5, 0)
  31. [node name="PlatformMath" type="StaticBody3D" parent="Platform0"]
  32. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8, 5, 0)
  33. collision_layer = 1048575
  34. collision_mask = 1048575
  35. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform0/PlatformMath"]
  36. shape = SubResource("1")
  37. [node name="PlatformSprite" type="Sprite2D" parent="Platform0"]
  38. scale = Vector2(0.5, 0.5)
  39. texture = ExtResource("6")
  40. script = ExtResource("7")
  41. [node name="Platform1" type="Node2D" parent="."]
  42. position = Vector2(-256, -339.411)
  43. z_index = -3956
  44. script = ExtResource("4")
  45. spatial_position = Vector3(-8, 5, -10)
  46. [node name="PlatformMath" type="StaticBody3D" parent="Platform1"]
  47. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8, 5, -10)
  48. collision_layer = 1048575
  49. collision_mask = 1048575
  50. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform1/PlatformMath"]
  51. shape = SubResource("1")
  52. [node name="PlatformSprite" type="Sprite2D" parent="Platform1"]
  53. scale = Vector2(0.5, 0.5)
  54. texture = ExtResource("6")
  55. script = ExtResource("7")
  56. [node name="Platform2" type="Node2D" parent="."]
  57. position = Vector2(0, 22.6274)
  58. z_index = -3962
  59. script = ExtResource("4")
  60. spatial_position = Vector3(0, -1, 0)
  61. [node name="PlatformMath" type="StaticBody3D" parent="Platform2"]
  62. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
  63. collision_layer = 1048575
  64. collision_mask = 1048575
  65. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform2/PlatformMath"]
  66. shape = SubResource("1")
  67. [node name="PlatformSprite" type="Sprite2D" parent="Platform2"]
  68. scale = Vector2(0.5, 0.5)
  69. texture = ExtResource("6")
  70. script = ExtResource("7")
  71. [node name="Platform3" type="Node2D" parent="."]
  72. position = Vector2(320, 22.6274)
  73. z_index = -3960
  74. script = ExtResource("4")
  75. spatial_position = Vector3(10, -1, 0)
  76. [node name="PlatformMath" type="StaticBody3D" parent="Platform3"]
  77. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, -1, 0)
  78. collision_layer = 1048575
  79. collision_mask = 1048575
  80. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform3/PlatformMath"]
  81. shape = SubResource("1")
  82. [node name="PlatformSprite" type="Sprite2D" parent="Platform3"]
  83. scale = Vector2(0.5, 0.5)
  84. texture = ExtResource("6")
  85. script = ExtResource("7")
  86. [node name="Platform4" type="Node2D" parent="."]
  87. position = Vector2(0, -203.647)
  88. z_index = -3966
  89. script = ExtResource("4")
  90. spatial_position = Vector3(0, -1, -10)
  91. [node name="PlatformMath" type="StaticBody3D" parent="Platform4"]
  92. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, -10)
  93. collision_layer = 1048575
  94. collision_mask = 1048575
  95. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform4/PlatformMath"]
  96. shape = SubResource("1")
  97. [node name="PlatformSprite" type="Sprite2D" parent="Platform4"]
  98. scale = Vector2(0.5, 0.5)
  99. texture = ExtResource("6")
  100. script = ExtResource("7")
  101. [node name="Platform5" type="Node2D" parent="."]
  102. position = Vector2(320, -113.137)
  103. z_index = -3984
  104. script = ExtResource("4")
  105. spatial_position = Vector3(10, -5, -10)
  106. [node name="PlatformMath" type="StaticBody3D" parent="Platform5"]
  107. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, -5, -10)
  108. collision_layer = 1048575
  109. collision_mask = 1048575
  110. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform5/PlatformMath"]
  111. shape = SubResource("1")
  112. [node name="PlatformSprite" type="Sprite2D" parent="Platform5"]
  113. scale = Vector2(0.5, 0.5)
  114. texture = ExtResource("6")
  115. script = ExtResource("7")
  116. [node name="Platform6" type="Node2D" parent="."]
  117. position = Vector2(320, 113.137)
  118. z_index = -3982
  119. script = ExtResource("4")
  120. spatial_position = Vector3(10, -5, 0)
  121. [node name="PlatformMath" type="StaticBody3D" parent="Platform6"]
  122. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, -5, 0)
  123. collision_layer = 1048575
  124. collision_mask = 1048575
  125. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform6/PlatformMath"]
  126. shape = SubResource("1")
  127. [node name="PlatformSprite" type="Sprite2D" parent="Platform6"]
  128. scale = Vector2(0.5, 0.5)
  129. texture = ExtResource("6")
  130. script = ExtResource("7")
  131. [node name="Platform7" type="Node2D" parent="."]
  132. position = Vector2(320, 339.411)
  133. z_index = -3978
  134. script = ExtResource("4")
  135. spatial_position = Vector3(10, -5, 10)
  136. [node name="PlatformMath" type="StaticBody3D" parent="Platform7"]
  137. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, -5, 10)
  138. collision_layer = 1048575
  139. collision_mask = 1048575
  140. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform7/PlatformMath"]
  141. shape = SubResource("2")
  142. [node name="PlatformSprite" type="Sprite2D" parent="Platform7"]
  143. scale = Vector2(0.5, 0.5)
  144. texture = ExtResource("6")
  145. script = ExtResource("7")
  146. [node name="Platform20" type="Node2D" parent="."]
  147. position = Vector2(320, 565.685)
  148. z_index = -3976
  149. script = ExtResource("4")
  150. spatial_position = Vector3(10, -5, 20)
  151. [node name="PlatformMath" type="StaticBody3D" parent="Platform20"]
  152. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, -5, 20)
  153. collision_layer = 1048575
  154. collision_mask = 1048575
  155. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform20/PlatformMath"]
  156. shape = SubResource("2")
  157. [node name="PlatformSprite" type="Sprite2D" parent="Platform20"]
  158. scale = Vector2(0.5, 0.5)
  159. texture = ExtResource("6")
  160. script = ExtResource("7")
  161. [node name="Platform21" type="Node2D" parent="."]
  162. position = Vector2(320, 791.96)
  163. z_index = -3972
  164. script = ExtResource("4")
  165. spatial_position = Vector3(10, -5, 30)
  166. [node name="PlatformMath" type="StaticBody3D" parent="Platform21"]
  167. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, -5, 30)
  168. collision_layer = 1048575
  169. collision_mask = 1048575
  170. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform21/PlatformMath"]
  171. shape = SubResource("2")
  172. [node name="PlatformSprite" type="Sprite2D" parent="Platform21"]
  173. scale = Vector2(0.5, 0.5)
  174. texture = ExtResource("6")
  175. script = ExtResource("7")
  176. [node name="Platform22" type="Node2D" parent="."]
  177. position = Vector2(320, 1018.23)
  178. z_index = -3970
  179. script = ExtResource("4")
  180. spatial_position = Vector3(10, -5, 40)
  181. [node name="PlatformMath" type="StaticBody3D" parent="Platform22"]
  182. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, -5, 40)
  183. collision_layer = 1048575
  184. collision_mask = 1048575
  185. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform22/PlatformMath"]
  186. shape = SubResource("2")
  187. [node name="PlatformSprite" type="Sprite2D" parent="Platform22"]
  188. scale = Vector2(0.5, 0.5)
  189. texture = ExtResource("6")
  190. script = ExtResource("7")
  191. [node name="Platform9" type="Node2D" parent="."]
  192. position = Vector2(640, 339.411)
  193. z_index = -3974
  194. script = ExtResource("4")
  195. spatial_position = Vector3(20, -5, 10)
  196. [node name="PlatformMath" type="StaticBody3D" parent="Platform9"]
  197. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 20, -5, 10)
  198. collision_layer = 1048575
  199. collision_mask = 1048575
  200. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform9/PlatformMath"]
  201. shape = SubResource("3")
  202. [node name="PlatformSprite" type="Sprite2D" parent="Platform9"]
  203. scale = Vector2(0.5, 0.5)
  204. texture = ExtResource("6")
  205. script = ExtResource("7")
  206. [node name="Platform10" type="Node2D" parent="."]
  207. position = Vector2(896, 294.156)
  208. z_index = -3994
  209. script = ExtResource("4")
  210. spatial_position = Vector3(28, -10, 3)
  211. [node name="PlatformMath" type="StaticBody3D" parent="Platform10"]
  212. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 28, -10, 3)
  213. collision_layer = 1048575
  214. collision_mask = 1048575
  215. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform10/PlatformMath"]
  216. shape = SubResource("3")
  217. [node name="PlatformSprite" type="Sprite2D" parent="Platform10"]
  218. scale = Vector2(0.5, 0.5)
  219. texture = ExtResource("6")
  220. script = ExtResource("7")
  221. [node name="Platform11" type="Node2D" parent="."]
  222. position = Vector2(896, 520.431)
  223. z_index = -3992
  224. script = ExtResource("4")
  225. spatial_position = Vector3(28, -10, 13)
  226. [node name="PlatformMath" type="StaticBody3D" parent="Platform11"]
  227. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 28, -10, 13)
  228. collision_layer = 1048575
  229. collision_mask = 1048575
  230. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform11/PlatformMath"]
  231. shape = SubResource("3")
  232. [node name="PlatformSprite" type="Sprite2D" parent="Platform11"]
  233. scale = Vector2(0.5, 0.5)
  234. texture = ExtResource("6")
  235. script = ExtResource("7")
  236. [node name="Platform12" type="Node2D" parent="."]
  237. position = Vector2(896, 746.705)
  238. z_index = -3988
  239. script = ExtResource("4")
  240. spatial_position = Vector3(28, -10, 23)
  241. [node name="PlatformMath" type="StaticBody3D" parent="Platform12"]
  242. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 28, -10, 23)
  243. collision_layer = 1048575
  244. collision_mask = 1048575
  245. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform12/PlatformMath"]
  246. shape = SubResource("3")
  247. [node name="PlatformSprite" type="Sprite2D" parent="Platform12"]
  248. scale = Vector2(0.5, 0.5)
  249. texture = ExtResource("6")
  250. script = ExtResource("7")
  251. [node name="Platform13" type="Node2D" parent="."]
  252. position = Vector2(576, 746.705)
  253. z_index = -3990
  254. script = ExtResource("4")
  255. spatial_position = Vector3(18, -10, 23)
  256. [node name="PlatformMath" type="StaticBody3D" parent="Platform13"]
  257. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18, -10, 23)
  258. collision_layer = 1048575
  259. collision_mask = 1048575
  260. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform13/PlatformMath"]
  261. shape = SubResource("3")
  262. [node name="PlatformSprite" type="Sprite2D" parent="Platform13"]
  263. scale = Vector2(0.5, 0.5)
  264. texture = ExtResource("6")
  265. script = ExtResource("7")
  266. [node name="Platform14" type="Node2D" parent="."]
  267. position = Vector2(256, 746.705)
  268. z_index = -3996
  269. script = ExtResource("4")
  270. spatial_position = Vector3(8, -10, 23)
  271. [node name="PlatformMath" type="StaticBody3D" parent="Platform14"]
  272. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8, -10, 23)
  273. collision_layer = 1048575
  274. collision_mask = 1048575
  275. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform14/PlatformMath"]
  276. shape = SubResource("3")
  277. [node name="PlatformSprite" type="Sprite2D" parent="Platform14"]
  278. scale = Vector2(0.5, 0.5)
  279. texture = ExtResource("6")
  280. script = ExtResource("7")
  281. [node name="Platform15" type="Node2D" parent="."]
  282. position = Vector2(-64, 746.705)
  283. z_index = -3998
  284. script = ExtResource("4")
  285. spatial_position = Vector3(-2, -10, 23)
  286. [node name="PlatformMath" type="StaticBody3D" parent="Platform15"]
  287. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, -10, 23)
  288. collision_layer = 1048575
  289. collision_mask = 1048575
  290. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform15/PlatformMath"]
  291. shape = SubResource("3")
  292. [node name="PlatformSprite" type="Sprite2D" parent="Platform15"]
  293. scale = Vector2(0.5, 0.5)
  294. texture = ExtResource("6")
  295. script = ExtResource("7")
  296. [node name="Platform23" type="Node2D" parent="."]
  297. position = Vector2(-384, 746.705)
  298. z_index = -4000
  299. script = ExtResource("4")
  300. spatial_position = Vector3(-12, -10, 23)
  301. [node name="PlatformMath" type="StaticBody3D" parent="Platform23"]
  302. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12, -10, 23)
  303. collision_layer = 1048575
  304. collision_mask = 1048575
  305. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform23/PlatformMath"]
  306. shape = SubResource("3")
  307. [node name="PlatformSprite" type="Sprite2D" parent="Platform23"]
  308. scale = Vector2(0.5, 0.5)
  309. texture = ExtResource("6")
  310. script = ExtResource("7")
  311. [node name="Platform16" type="Node2D" parent="."]
  312. position = Vector2(-320, 565.685)
  313. z_index = -3980
  314. script = ExtResource("4")
  315. spatial_position = Vector3(-10, -5, 20)
  316. [node name="PlatformMath" type="StaticBody3D" parent="Platform16"]
  317. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, -5, 20)
  318. collision_layer = 1048575
  319. collision_mask = 1048575
  320. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform16/PlatformMath"]
  321. shape = SubResource("3")
  322. [node name="PlatformSprite" type="Sprite2D" parent="Platform16"]
  323. scale = Vector2(0.5, 0.5)
  324. texture = ExtResource("6")
  325. script = ExtResource("7")
  326. [node name="Platform19" type="Node2D" parent="."]
  327. position = Vector2(-320, 339.411)
  328. z_index = -3986
  329. script = ExtResource("4")
  330. spatial_position = Vector3(-10, -5, 10)
  331. [node name="PlatformMath" type="StaticBody3D" parent="Platform19"]
  332. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, -5, 10)
  333. collision_layer = 1048575
  334. collision_mask = 1048575
  335. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform19/PlatformMath"]
  336. shape = SubResource("3")
  337. [node name="PlatformSprite" type="Sprite2D" parent="Platform19"]
  338. scale = Vector2(0.5, 0.5)
  339. texture = ExtResource("6")
  340. script = ExtResource("7")
  341. [node name="Platform17" type="Node2D" parent="."]
  342. position = Vector2(-480, 248.902)
  343. z_index = -3964
  344. script = ExtResource("4")
  345. spatial_position = Vector3(-15, -1, 10)
  346. [node name="PlatformMath" type="StaticBody3D" parent="Platform17"]
  347. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -15, -1, 10)
  348. collision_layer = 1048575
  349. collision_mask = 1048575
  350. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform17/PlatformMath"]
  351. shape = SubResource("3")
  352. [node name="PlatformSprite" type="Sprite2D" parent="Platform17"]
  353. scale = Vector2(0.5, 0.5)
  354. texture = ExtResource("6")
  355. script = ExtResource("7")
  356. [node name="Platform18" type="Node2D" parent="."]
  357. position = Vector2(-480, 22.6274)
  358. z_index = -3968
  359. script = ExtResource("4")
  360. spatial_position = Vector3(-15, -1, 0)
  361. [node name="PlatformMath" type="StaticBody3D" parent="Platform18"]
  362. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -15, -1, 0)
  363. collision_layer = 1048575
  364. collision_mask = 1048575
  365. [node name="CollisionShape3D" type="CollisionShape3D" parent="Platform18/PlatformMath"]
  366. shape = SubResource("3")
  367. [node name="PlatformSprite" type="Sprite2D" parent="Platform18"]
  368. scale = Vector2(0.5, 0.5)
  369. texture = ExtResource("6")
  370. script = ExtResource("7")
  371. [node name="YSort25D" type="Node" parent="."]
  372. script = ExtResource("8")
  373. __meta__ = {
  374. "_editor_icon": ExtResource("9")
  375. }
  376. [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
  377. stream = ExtResource("10")
  378. volume_db = -20.0
  379. autoplay = true