parallax_background.tscn 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. [gd_scene load_steps=7 format=3 uid="uid://cw6nldo3rjyyq"]
  2. [ext_resource type="Texture2D" uid="uid://cvknem5bj24sc" path="res://level/background/distant_platforms_2.webp" id="1"]
  3. [ext_resource type="Texture2D" uid="uid://osu4k0jdk3wa" path="res://level/background/sky.webp" id="2"]
  4. [ext_resource type="Texture2D" uid="uid://twy8cs78gqbv" path="res://level/background/cloud_3.webp" id="3"]
  5. [ext_resource type="Texture2D" uid="uid://dud80ds6rq6vr" path="res://level/background/cloud_2.webp" id="5"]
  6. [ext_resource type="Texture2D" uid="uid://eeitd2vus25o" path="res://level/background/distant_platforms_1.webp" id="6"]
  7. [ext_resource type="Texture2D" uid="uid://t8otskslwopy" path="res://level/background/cloud_1.webp" id="7"]
  8. [node name="ParallaxBackground" type="ParallaxBackground"]
  9. scroll_base_scale = Vector2(0.1, 0)
  10. [node name="Sky" type="ParallaxLayer" parent="."]
  11. motion_scale = Vector2(0.2, 1)
  12. [node name="Sprite2D" type="Sprite2D" parent="Sky"]
  13. position = Vector2(-809, 58)
  14. scale = Vector2(1.2, 1.2)
  15. texture = ExtResource("2")
  16. centered = false
  17. [node name="Sprite2" type="Sprite2D" parent="Sky"]
  18. position = Vector2(-809, 0)
  19. scale = Vector2(1.2, 1.2)
  20. texture = ExtResource("2")
  21. centered = false
  22. [node name="Clouds" type="ParallaxLayer" parent="."]
  23. motion_scale = Vector2(0.1, 1)
  24. motion_offset = Vector2(-550, 0)
  25. [node name="CloudGroup1" type="Node2D" parent="Clouds"]
  26. position = Vector2(-780, 0)
  27. [node name="Sprite2" type="Sprite2D" parent="Clouds/CloudGroup1"]
  28. position = Vector2(470, 4)
  29. texture = ExtResource("5")
  30. centered = false
  31. [node name="Sprite3" type="Sprite2D" parent="Clouds/CloudGroup1"]
  32. position = Vector2(726, 91)
  33. texture = ExtResource("3")
  34. centered = false
  35. [node name="Sprite4" type="Sprite2D" parent="Clouds/CloudGroup1"]
  36. position = Vector2(1133, 113)
  37. texture = ExtResource("3")
  38. centered = false
  39. [node name="Sprite5" type="Sprite2D" parent="Clouds/CloudGroup1"]
  40. position = Vector2(1513, 165)
  41. texture = ExtResource("3")
  42. centered = false
  43. [node name="Sprite6" type="Sprite2D" parent="Clouds/CloudGroup1"]
  44. position = Vector2(396, 109)
  45. texture = ExtResource("7")
  46. centered = false
  47. [node name="CloudGroup2" type="Node2D" parent="Clouds"]
  48. [node name="Sprite1" type="Sprite2D" parent="Clouds/CloudGroup2"]
  49. position = Vector2(-135, 213)
  50. texture = ExtResource("5")
  51. centered = false
  52. [node name="Sprite5" type="Sprite2D" parent="Clouds/CloudGroup2"]
  53. position = Vector2(19, 77)
  54. scale = Vector2(0.5, 0.5)
  55. texture = ExtResource("7")
  56. centered = false
  57. [node name="Sprite7" type="Sprite2D" parent="Clouds/CloudGroup2"]
  58. position = Vector2(140, 261)
  59. scale = Vector2(0.5, 0.5)
  60. texture = ExtResource("3")
  61. centered = false
  62. [node name="CloudGroup3" type="Node2D" parent="Clouds"]
  63. position = Vector2(390, 0)
  64. [node name="Sprite1" type="Sprite2D" parent="Clouds/CloudGroup3"]
  65. position = Vector2(1034, -60)
  66. texture = ExtResource("5")
  67. centered = false
  68. [node name="Sprite7" type="Sprite2D" parent="Clouds/CloudGroup3"]
  69. position = Vector2(491, 251)
  70. texture = ExtResource("5")
  71. centered = false
  72. [node name="Sprite2" type="Sprite2D" parent="Clouds/CloudGroup3"]
  73. position = Vector2(545, 108)
  74. texture = ExtResource("5")
  75. centered = false
  76. [node name="Sprite3" type="Sprite2D" parent="Clouds/CloudGroup3"]
  77. position = Vector2(-164, 212)
  78. texture = ExtResource("7")
  79. centered = false
  80. [node name="Sprite8" type="Sprite2D" parent="Clouds/CloudGroup3"]
  81. position = Vector2(287, 220)
  82. scale = Vector2(0.5, 0.5)
  83. texture = ExtResource("7")
  84. centered = false
  85. [node name="CloudGroup4" type="Node2D" parent="Clouds"]
  86. position = Vector2(780, 0)
  87. [node name="Sprite1" type="Sprite2D" parent="Clouds/CloudGroup4"]
  88. position = Vector2(-293, 64)
  89. texture = ExtResource("5")
  90. centered = false
  91. [node name="Sprite2" type="Sprite2D" parent="Clouds/CloudGroup4"]
  92. position = Vector2(-229, 199)
  93. texture = ExtResource("5")
  94. centered = false
  95. [node name="Sprite5" type="Sprite2D" parent="Clouds/CloudGroup4"]
  96. position = Vector2(83, 115)
  97. texture = ExtResource("7")
  98. centered = false
  99. [node name="Sprite7" type="Sprite2D" parent="Clouds/CloudGroup4"]
  100. position = Vector2(7, 177)
  101. texture = ExtResource("7")
  102. centered = false
  103. [node name="Sprite6" type="Sprite2D" parent="Clouds/CloudGroup4"]
  104. position = Vector2(226, 14)
  105. scale = Vector2(0.5, 0.5)
  106. texture = ExtResource("7")
  107. centered = false
  108. [node name="Mountains2" type="ParallaxLayer" parent="."]
  109. position = Vector2(0, 243)
  110. motion_scale = Vector2(0.2, 1)
  111. [node name="Sprite2D" type="Sprite2D" parent="Mountains2"]
  112. position = Vector2(567, 301.2)
  113. texture = ExtResource("1")
  114. region_enabled = true
  115. region_rect = Rect2(0, 0, 2048, 251.104)
  116. [node name="Mountains1" type="ParallaxLayer" parent="."]
  117. position = Vector2(0, 246)
  118. motion_scale = Vector2(0.4, 1)
  119. [node name="Sprite2D" type="Sprite2D" parent="Mountains1"]
  120. position = Vector2(437, 278.2)
  121. scale = Vector2(1.2, 1.2)
  122. texture = ExtResource("6")
  123. region_enabled = true
  124. region_rect = Rect2(0, 0, 2048, 251.104)