Newer
Older
DungeonShooting / DungeonShooting_Godot / scene / Hall.tscn
@小李xl 小李xl on 22 Feb 2024 1 KB 添加大厅背景
  1. [gd_scene load_steps=6 format=3 uid="uid://c2hynqudkykxl"]
  2.  
  3. [ext_resource type="PackedScene" 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. [node name="Hall" node_paths=PackedStringArray("BirthMark") instance=ExtResource("1_31od0")]
  12. script = ExtResource("2_43fdu")
  13. BirthMark = NodePath("BirthMark")
  14.  
  15. [node name="HallBg" type="Sprite2D" parent="." index="1"]
  16. texture = ExtResource("3_p8v6p")
  17.  
  18. [node name="DungeonEntrance" type="Area2D" parent="." index="2"]
  19. position = Vector2(27, -18)
  20. collision_layer = 0
  21. collision_mask = 8
  22. monitorable = false
  23. script = ExtResource("3_t3my6")
  24.  
  25. [node name="CollisionShape2D" type="CollisionShape2D" parent="DungeonEntrance" index="0"]
  26. shape = SubResource("RectangleShape2D_ru8u4")
  27.  
  28. [node name="BirthMark" type="Marker2D" parent="." index="3"]
  29. position = Vector2(-368, 88)