Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / RoomMap.tscn
  1. [gd_scene load_steps=5 format=3 uid="uid://bmj3p25gwpqpn"]
  2.  
  3. [ext_resource type="Script" path="res://src/game/ui/roomMap/RoomMapPanel.cs" id="1_ng7b3"]
  4. [ext_resource type="Texture2D" uid="uid://k621mhhkg65f" path="res://resource/sprite/ui/roomMap/MapBar.png" id="2_m52os"]
  5. [ext_resource type="Texture2D" uid="uid://0878uloew5jo" path="res://resource/sprite/ui/commonIcon/Block.png" id="3_el2ne"]
  6. [ext_resource type="Texture2D" uid="uid://cw702ostmv2am" path="res://resource/sprite/role/role0001/Role0001_head.png" id="4_6wquw"]
  7.  
  8. [node name="RoomMap" type="Control"]
  9. layout_mode = 3
  10. anchors_preset = 15
  11. anchor_right = 1.0
  12. anchor_bottom = 1.0
  13. grow_horizontal = 2
  14. grow_vertical = 2
  15. script = ExtResource("1_ng7b3")
  16.  
  17. [node name="Bg" type="ColorRect" parent="."]
  18. layout_mode = 1
  19. anchors_preset = 15
  20. anchor_right = 1.0
  21. anchor_bottom = 1.0
  22. grow_horizontal = 2
  23. grow_vertical = 2
  24. color = Color(0, 0, 0, 0.588235)
  25.  
  26. [node name="MapBar" type="NinePatchRect" parent="."]
  27. layout_mode = 1
  28. anchors_preset = 1
  29. anchor_left = 1.0
  30. anchor_right = 1.0
  31. offset_left = -275.0
  32. offset_top = 20.0
  33. offset_right = -19.0
  34. offset_bottom = 276.0
  35. grow_horizontal = 0
  36. texture = ExtResource("2_m52os")
  37. patch_margin_left = 4
  38. patch_margin_top = 4
  39. patch_margin_right = 4
  40. patch_margin_bottom = 4
  41.  
  42. [node name="DrawContainer" type="TextureRect" parent="MapBar"]
  43. clip_children = 1
  44. layout_mode = 1
  45. anchors_preset = 15
  46. anchor_right = 1.0
  47. anchor_bottom = 1.0
  48. offset_left = 1.0
  49. offset_top = 1.0
  50. offset_right = -1.0
  51. offset_bottom = -1.0
  52. grow_horizontal = 2
  53. grow_vertical = 2
  54. texture = ExtResource("3_el2ne")
  55. expand_mode = 1
  56.  
  57. [node name="Root" type="Node2D" parent="MapBar/DrawContainer"]
  58. scale = Vector2(6, 6)
  59.  
  60. [node name="Mark" type="Sprite2D" parent="MapBar/DrawContainer"]
  61. position = Vector2(128, 128)
  62. scale = Vector2(2, 2)
  63. texture = ExtResource("4_6wquw")
  64.  
  65. [node name="MagnifyMapBar" type="NinePatchRect" parent="."]
  66. layout_mode = 1
  67. anchors_preset = 15
  68. anchor_right = 1.0
  69. anchor_bottom = 1.0
  70. offset_left = 390.0
  71. offset_top = 131.0
  72. offset_right = -390.0
  73. offset_bottom = -131.0
  74. grow_horizontal = 2
  75. grow_vertical = 2
  76. texture = ExtResource("2_m52os")
  77. patch_margin_left = 4
  78. patch_margin_top = 4
  79. patch_margin_right = 4
  80. patch_margin_bottom = 4