parallax_bg.tscn 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. [gd_scene load_steps=7 format=2]
  2. [ext_resource path="res://scroll_bg_sky.png" type="Texture" id=1]
  3. [ext_resource path="res://scroll_bg_cloud_1.png" type="Texture" id=2]
  4. [ext_resource path="res://scroll_bg_cloud_2.png" type="Texture" id=3]
  5. [ext_resource path="res://scroll_bg_cloud_3.png" type="Texture" id=4]
  6. [ext_resource path="res://scroll_bg_fg_2.png" type="Texture" id=5]
  7. [ext_resource path="res://scroll_bg_fg_1.png" type="Texture" id=6]
  8. [node name="parallax_bg" type="ParallaxBackground"]
  9. layer = -1
  10. offset = Vector2( 0, 0 )
  11. rotation = 0.0
  12. scale = Vector2( 1, 1 )
  13. scroll_offset = Vector2( 0, 0 )
  14. scroll_base_offset = Vector2( 0, 0 )
  15. scroll_base_scale = Vector2( 0.7, 0 )
  16. scroll_limit_begin = Vector2( 0, 0 )
  17. scroll_limit_end = Vector2( 0, 0 )
  18. scroll_ignore_camera_zoom = false
  19. [node name="sky" type="ParallaxLayer" parent="."]
  20. motion_scale = Vector2( 1, 1 )
  21. motion_offset = Vector2( 0, 0 )
  22. motion_mirroring = Vector2( 800, 0 )
  23. [node name="Sprite" type="Sprite" parent="sky"]
  24. scale = Vector2( 32, 0.94 )
  25. texture = ExtResource( 1 )
  26. centered = false
  27. [node name="clouds" type="ParallaxLayer" parent="."]
  28. motion_scale = Vector2( 0.1, 1 )
  29. motion_offset = Vector2( 0, 0 )
  30. motion_mirroring = Vector2( 800, 0 )
  31. [node name="Sprite" type="Sprite" parent="clouds"]
  32. position = Vector2( 28, 127 )
  33. texture = ExtResource( 2 )
  34. centered = false
  35. [node name="Sprite 2" type="Sprite" parent="clouds"]
  36. position = Vector2( 404, 24 )
  37. texture = ExtResource( 2 )
  38. centered = false
  39. [node name="Sprite 3" type="Sprite" parent="clouds"]
  40. position = Vector2( 154, 46 )
  41. texture = ExtResource( 3 )
  42. centered = false
  43. [node name="Sprite 4" type="Sprite" parent="clouds"]
  44. position = Vector2( 525, 130 )
  45. texture = ExtResource( 3 )
  46. centered = false
  47. [node name="Sprite 5" type="Sprite" parent="clouds"]
  48. position = Vector2( 255, 158 )
  49. texture = ExtResource( 4 )
  50. centered = false
  51. [node name="Sprite 6" type="Sprite" parent="clouds"]
  52. position = Vector2( 674, 70 )
  53. texture = ExtResource( 4 )
  54. centered = false
  55. [node name="mount_ 2" type="ParallaxLayer" parent="."]
  56. motion_scale = Vector2( 0.2, 1 )
  57. motion_offset = Vector2( 0, 0 )
  58. motion_mirroring = Vector2( 800, 0 )
  59. [node name="Sprite" type="Sprite" parent="mount_ 2"]
  60. position = Vector2( 0, 225 )
  61. texture = ExtResource( 5 )
  62. centered = false
  63. region_enabled = true
  64. region_rect = Rect2( 0, 0, 800, 256 )
  65. [node name="mount_1" type="ParallaxLayer" parent="."]
  66. motion_scale = Vector2( 0.4, 1 )
  67. motion_offset = Vector2( 0, 0 )
  68. motion_mirroring = Vector2( 800, 0 )
  69. [node name="Sprite" type="Sprite" parent="mount_1"]
  70. position = Vector2( 0, 225 )
  71. texture = ExtResource( 6 )
  72. centered = false
  73. region_enabled = true
  74. region_rect = Rect2( 0, 0, 800, 256 )