level_1.tscn 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. [node name="Ground" type="ParallaxLayer" parent="ParallaxBackground"]
  12. motion_scale = Vector2(0.2, 0.2)
  13. motion_mirroring = Vector2(6400, 6400)
  14. [node name="Grass" type="Sprite2D" parent="ParallaxBackground/Ground"]
  15. texture_repeat = 2
  16. texture = ExtResource("1_e8dj3")
  17. centered = false
  18. region_enabled = true
  19. region_rect = Rect2(0, 0, 6400, 6400)
  20. [node name="Clouds" type="ParallaxLayer" parent="ParallaxBackground"]
  21. position = Vector2(3, -3)
  22. motion_scale = Vector2(0.8, 0.8)
  23. motion_mirroring = Vector2(10000, 5000)
  24. [node name="CloudA1" type="Sprite2D" parent="ParallaxBackground/Clouds"]
  25. position = Vector2(1424, 3022)
  26. texture = ExtResource("2_kj5ji")
  27. region_enabled = true
  28. region_rect = Rect2(2048, 1256, 2048, 2048)
  29. [node name="CloudB1" type="Sprite2D" parent="ParallaxBackground/Clouds"]
  30. position = Vector2(4990, 2460)
  31. texture = ExtResource("2_kj5ji")
  32. region_enabled = true
  33. region_rect = Rect2(0, 1256, 2048, 2048)
  34. [node name="CloudC1" type="Sprite2D" parent="ParallaxBackground/Clouds"]
  35. position = Vector2(4127, 744)
  36. texture = ExtResource("2_kj5ji")
  37. region_enabled = true
  38. region_rect = Rect2(0, 0, 2048, 1200)
  39. [node name="CloudD1" type="Sprite2D" parent="ParallaxBackground/Clouds"]
  40. position = Vector2(3453, 3902)
  41. texture = ExtResource("2_kj5ji")
  42. region_enabled = true
  43. region_rect = Rect2(2048, 0, 2048, 1200)
  44. [node name="CloudA2" type="Sprite2D" parent="ParallaxBackground/Clouds"]
  45. position = Vector2(7555, 1048)
  46. texture = ExtResource("2_kj5ji")
  47. region_enabled = true
  48. region_rect = Rect2(2048, 1256, 2048, 2048)
  49. [node name="CloudB2" type="Sprite2D" parent="ParallaxBackground/Clouds"]
  50. position = Vector2(8479, 3186)
  51. texture = ExtResource("2_kj5ji")
  52. region_enabled = true
  53. region_rect = Rect2(0, 1256, 2048, 2048)
  54. [node name="CloudC2" type="Sprite2D" parent="ParallaxBackground/Clouds"]
  55. position = Vector2(6394, 3984)
  56. texture = ExtResource("2_kj5ji")
  57. region_enabled = true
  58. region_rect = Rect2(0, 0, 2048, 1200)
  59. [node name="CloudD2" type="Sprite2D" parent="ParallaxBackground/Clouds"]
  60. position = Vector2(972, 566)
  61. texture = ExtResource("2_kj5ji")
  62. region_enabled = true
  63. region_rect = Rect2(2048, 0, 2048, 1200)
  64. [node name="GodotLogo" parent="." instance=ExtResource("1_36ls2")]
  65. [node name="GodotLogo2" parent="." instance=ExtResource("1_36ls2")]
  66. position = Vector2(930, 491)
  67. [node name="BiBiShip" parent="." instance=ExtResource("2_hw8a6")]
  68. position = Vector2(462, 278)
  69. [node name="KeyboardControl" parent="BiBiShip" instance=ExtResource("3_o4rax")]
  70. [node name="Camera2D" type="Camera2D" parent="BiBiShip"]
  71. script = ExtResource("4_w3h2o")
  72. [node name="GamepadControl" type="Node" parent="BiBiShip"]
  73. script = ExtResource("4_vfxyo")
  74. [connection signal="moved" from="BiBiShip" to="BiBiShip/Camera2D" method="_on_moved"]
  75. [connection signal="dir_changed" from="BiBiShip/KeyboardControl" to="BiBiShip" method="_on_command"]
  76. [connection signal="dir_changed" from="BiBiShip/GamepadControl" to="BiBiShip" method="_on_command"]