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/roomUI/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. visible = false
  19. layout_mode = 1
  20. anchors_preset = 15
  21. anchor_right = 1.0
  22. anchor_bottom = 1.0
  23. grow_horizontal = 2
  24. grow_vertical = 2
  25. color = Color(0, 0, 0, 0.196078)
  26.  
  27. [node name="MapBar" type="NinePatchRect" parent="."]
  28. layout_mode = 1
  29. anchors_preset = 1
  30. anchor_left = 1.0
  31. anchor_right = 1.0
  32. offset_left = -257.0
  33. offset_top = 20.0
  34. offset_right = -198.0
  35. offset_bottom = 79.0
  36. grow_horizontal = 0
  37. scale = Vector2(4, 4)
  38. texture = ExtResource("2_m52os")
  39. patch_margin_left = 2
  40. patch_margin_top = 2
  41. patch_margin_right = 2
  42. patch_margin_bottom = 2
  43.  
  44. [node name="DrawContainer" type="TextureRect" parent="MapBar"]
  45. clip_children = 1
  46. layout_mode = 1
  47. anchors_preset = 15
  48. anchor_right = 1.0
  49. anchor_bottom = 1.0
  50. offset_left = 1.0
  51. offset_top = 1.0
  52. offset_right = -1.0
  53. offset_bottom = -1.0
  54. grow_horizontal = 2
  55. grow_vertical = 2
  56. texture = ExtResource("3_el2ne")
  57. expand_mode = 1
  58.  
  59. [node name="Root" type="Node2D" parent="MapBar/DrawContainer"]
  60. scale = Vector2(1.5, 1.5)
  61.  
  62. [node name="Mark" type="Sprite2D" parent="MapBar/DrawContainer"]
  63. position = Vector2(28, 28)
  64. scale = Vector2(0.5, 0.5)
  65. texture = ExtResource("4_6wquw")