Newer
Older
DungeonShooting / DungeonShooting_Godot / scene / Hall.tscn
@小李xl 小李xl on 22 Feb 2024 2 KB 小修改
  1. [gd_scene load_steps=10 format=3 uid="uid://c2hynqudkykxl"]
  2.  
  3. [ext_resource type="PackedScene" uid="uid://bqf2vks5ggnsp" path="res://scene/Dungeon.tscn" id="1_31od0"]
  4. [ext_resource type="Script" path="res://src/game/hall/Hall.cs" id="2_43fdu"]
  5. [ext_resource type="Texture2D" uid="uid://b2j5mkqm3uv6w" path="res://resource/sprite/hall/HallBg.png" id="3_p8v6p"]
  6. [ext_resource type="Script" path="res://src/game/hall/DungeonEntrance.cs" id="3_t3my6"]
  7.  
  8. [sub_resource type="RectangleShape2D" id="RectangleShape2D_ru8u4"]
  9. size = Vector2(66, 32)
  10.  
  11. [sub_resource type="RectangleShape2D" id="RectangleShape2D_l0mok"]
  12. size = Vector2(91, 434)
  13.  
  14. [sub_resource type="RectangleShape2D" id="RectangleShape2D_ch1xw"]
  15. size = Vector2(1024.5, 65.5)
  16.  
  17. [sub_resource type="RectangleShape2D" id="RectangleShape2D_ea4u5"]
  18. size = Vector2(448, 110)
  19.  
  20. [sub_resource type="RectangleShape2D" id="RectangleShape2D_o0n0h"]
  21. size = Vector2(1023, 110)
  22.  
  23. [node name="Hall" node_paths=PackedStringArray("BirthMark", "BgSprite") instance=ExtResource("1_31od0")]
  24. script = ExtResource("2_43fdu")
  25. BirthMark = NodePath("BirthMark")
  26. BgSprite = NodePath("HallBg")
  27. metadata/_edit_horizontal_guides_ = [666.0, -210.0]
  28.  
  29. [node name="HallBg" type="Sprite2D" parent="." index="1"]
  30. texture = ExtResource("3_p8v6p")
  31. centered = false
  32.  
  33. [node name="DungeonEntrance" type="Area2D" parent="." index="2"]
  34. position = Vector2(537, 209)
  35. collision_layer = 0
  36. collision_mask = 8
  37. monitorable = false
  38. script = ExtResource("3_t3my6")
  39.  
  40. [node name="CollisionShape2D" type="CollisionShape2D" parent="DungeonEntrance" index="0"]
  41. shape = SubResource("RectangleShape2D_ru8u4")
  42.  
  43. [node name="BirthMark" type="Marker2D" parent="." index="3"]
  44. position = Vector2(140, 315)
  45.  
  46. [node name="PointLight2D" type="PointLight2D" parent="." index="4"]
  47. position = Vector2(138, 306)
  48. texture_scale = 3.11
  49.  
  50. [node name="StaticBody2D" type="StaticBody2D" parent="." index="5"]
  51. collision_mask = 0
  52.  
  53. [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D" index="0"]
  54. position = Vector2(-47, 296)
  55. shape = SubResource("RectangleShape2D_l0mok")
  56.  
  57. [node name="CollisionShape2D5" type="CollisionShape2D" parent="StaticBody2D" index="1"]
  58. position = Vector2(1070, 306)
  59. shape = SubResource("RectangleShape2D_l0mok")
  60.  
  61. [node name="CollisionShape2D2" type="CollisionShape2D" parent="StaticBody2D" index="2"]
  62. position = Vector2(511.75, 481.25)
  63. shape = SubResource("RectangleShape2D_ch1xw")
  64.  
  65. [node name="CollisionShape2D3" type="CollisionShape2D" parent="StaticBody2D" index="3"]
  66. position = Vector2(528, 393)
  67. shape = SubResource("RectangleShape2D_ea4u5")
  68.  
  69. [node name="CollisionShape2D4" type="CollisionShape2D" parent="StaticBody2D" index="4"]
  70. position = Vector2(512.5, 148)
  71. shape = SubResource("RectangleShape2D_o0n0h")