level_1.tscn 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. [gd_scene load_steps=8 format=3 uid="uid://bmb72w7tf6fu4"]
  2. [ext_resource type="PackedScene" uid="uid://cqdewtd1yr4cn" path="res://component/props/godot_logo/godot_logo.tscn" id="1_36ls2"]
  3. [ext_resource type="Texture2D" uid="uid://dnrpwavhjaq1s" path="res://component/sky/ground/ground004.jpg" id="1_e8dj3"]
  4. [ext_resource type="PackedScene" uid="uid://dlkwtp1gl45r" path="res://component/ships/BiBiShip.tscn" id="2_hw8a6"]
  5. [ext_resource type="Texture2D" uid="uid://bmqyhh7rt4lk2" path="res://component/sky/air/clouds.png" id="2_kj5ji"]
  6. [ext_resource type="PackedScene" uid="uid://bi4ilbgyhjrnx" path="res://component/control/keyboard/keyboard_control.tscn" id="3_o4rax"]
  7. [ext_resource type="Script" path="res://component/control/gamepad/gamepad_control.gd" id="4_vfxyo"]
  8. [ext_resource type="Script" path="res://component/views/player_camera.gd" id="4_w3h2o"]
  9. [node name="Level1" type="Node2D"]
  10. [node name="ParallaxBackground" type="ParallaxBackground" parent="."]
  11. scroll_ignore_camera_zoom = true
  12. [node name="Ground" type="ParallaxLayer" parent="ParallaxBackground"]
  13. motion_scale = Vector2(0.01, 0.01)
  14. motion_mirroring = Vector2(6400, 6400)
  15. [node name="Grass" type="Sprite2D" parent="ParallaxBackground/Ground"]
  16. texture_repeat = 2
  17. texture = ExtResource("1_e8dj3")
  18. centered = false
  19. region_enabled = true
  20. region_rect = Rect2(0, 0, 6400, 6400)
  21. [node name="ParallaxSky" type="ParallaxBackground" parent="."]
  22. layer = -99
  23. [node name="Clouds" type="ParallaxLayer" parent="ParallaxSky"]
  24. position = Vector2(3, -3)
  25. motion_scale = Vector2(0.8, 0.8)
  26. motion_mirroring = Vector2(10000, 5000)
  27. [node name="CloudA1" type="Sprite2D" parent="ParallaxSky/Clouds"]
  28. position = Vector2(1424, 3022)
  29. texture = ExtResource("2_kj5ji")
  30. region_enabled = true
  31. region_rect = Rect2(2048, 1256, 2048, 2048)
  32. [node name="CloudB1" type="Sprite2D" parent="ParallaxSky/Clouds"]
  33. position = Vector2(4990, 2460)
  34. texture = ExtResource("2_kj5ji")
  35. region_enabled = true
  36. region_rect = Rect2(0, 1256, 2048, 2048)
  37. [node name="CloudC1" type="Sprite2D" parent="ParallaxSky/Clouds"]
  38. position = Vector2(4127, 744)
  39. texture = ExtResource("2_kj5ji")
  40. region_enabled = true
  41. region_rect = Rect2(0, 0, 2048, 1200)
  42. [node name="CloudD1" type="Sprite2D" parent="ParallaxSky/Clouds"]
  43. position = Vector2(3453, 3902)
  44. texture = ExtResource("2_kj5ji")
  45. region_enabled = true
  46. region_rect = Rect2(2048, 0, 2048, 1200)
  47. [node name="CloudA2" type="Sprite2D" parent="ParallaxSky/Clouds"]
  48. position = Vector2(7555, 1048)
  49. texture = ExtResource("2_kj5ji")
  50. region_enabled = true
  51. region_rect = Rect2(2048, 1256, 2048, 2048)
  52. [node name="CloudB2" type="Sprite2D" parent="ParallaxSky/Clouds"]
  53. position = Vector2(8479, 3186)
  54. texture = ExtResource("2_kj5ji")
  55. region_enabled = true
  56. region_rect = Rect2(0, 1256, 2048, 2048)
  57. [node name="CloudC2" type="Sprite2D" parent="ParallaxSky/Clouds"]
  58. position = Vector2(6394, 3984)
  59. texture = ExtResource("2_kj5ji")
  60. region_enabled = true
  61. region_rect = Rect2(0, 0, 2048, 1200)
  62. [node name="CloudD2" type="Sprite2D" parent="ParallaxSky/Clouds"]
  63. position = Vector2(972, 566)
  64. texture = ExtResource("2_kj5ji")
  65. region_enabled = true
  66. region_rect = Rect2(2048, 0, 2048, 1200)
  67. [node name="GodotLogo" parent="." instance=ExtResource("1_36ls2")]
  68. [node name="GodotLogo2" parent="." instance=ExtResource("1_36ls2")]
  69. position = Vector2(930, 491)
  70. [node name="GodotLogo3" parent="." instance=ExtResource("1_36ls2")]
  71. modulate = Color(1, 1, 0, 1)
  72. position = Vector2(5672, 2590)
  73. [node name="GodotLogo4" parent="." instance=ExtResource("1_36ls2")]
  74. modulate = Color(0, 0, 1, 1)
  75. position = Vector2(5612, 2953)
  76. [node name="GodotLogo5" parent="." instance=ExtResource("1_36ls2")]
  77. modulate = Color(0, 1, 0, 1)
  78. position = Vector2(5355, 3330)
  79. [node name="GodotLogo6" parent="." instance=ExtResource("1_36ls2")]
  80. modulate = Color(1, 0, 0, 1)
  81. position = Vector2(4962, 3662)
  82. [node name="BiBiShip" parent="." instance=ExtResource("2_hw8a6")]
  83. position = Vector2(462, 278)
  84. [node name="KeyboardControl" parent="BiBiShip" instance=ExtResource("3_o4rax")]
  85. [node name="Camera2D" type="Camera2D" parent="BiBiShip"]
  86. script = ExtResource("4_w3h2o")
  87. [node name="GamepadControl" type="Node" parent="BiBiShip"]
  88. script = ExtResource("4_vfxyo")
  89. [connection signal="moved" from="BiBiShip" to="BiBiShip/Camera2D" method="_on_moved"]
  90. [connection signal="dir_changed" from="BiBiShip/KeyboardControl" to="BiBiShip" method="_on_command"]
  91. [connection signal="dir_changed" from="BiBiShip/GamepadControl" to="BiBiShip" method="_on_command"]