LayerSelecter.tscn 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. [gd_scene load_steps=8 format=3 uid="uid://b4au6s1figirf"]
  2. [ext_resource type="Script" uid="uid://dnyld2xuj6lbm" path="res://Scripts/panel/layer_selecter.gd" id="1_7qc3a"]
  3. [ext_resource type="Texture2D" uid="uid://cubag4vubjuki" path="res://Resources/UI/LayerArrow.png" id="2_dqibe"]
  4. [ext_resource type="Theme" uid="uid://dg14k5tu0s0mq" path="res://Resources/Theme/scope_check_button_theme.tres" id="3_y4p54"]
  5. [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_cfh3q"]
  6. bg_color = Color(0.133333, 0.133333, 0.133333, 1)
  7. [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_lnxqr"]
  8. [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_lnxqr"]
  9. bg_color = Color(0.147958, 0.627098, 0.965363, 1)
  10. [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_cfh3q"]
  11. [node name="LayerSelecter" type="Panel"]
  12. anchors_preset = 1
  13. anchor_left = 1.0
  14. anchor_right = 1.0
  15. offset_left = -1250.0
  16. offset_bottom = 200.0
  17. grow_horizontal = 0
  18. size_flags_horizontal = 4
  19. theme_override_styles/panel = SubResource("StyleBoxFlat_cfh3q")
  20. script = ExtResource("1_7qc3a")
  21. [node name="TextureRect" type="TextureRect" parent="."]
  22. layout_mode = 1
  23. anchors_preset = 5
  24. anchor_left = 0.5
  25. anchor_right = 0.5
  26. offset_left = -600.0
  27. offset_right = 600.0
  28. offset_bottom = 60.0
  29. grow_horizontal = 2
  30. texture = ExtResource("2_dqibe")
  31. [node name="ValueLabelPos" type="PanelContainer" parent="."]
  32. custom_minimum_size = Vector2(64, 0)
  33. layout_mode = 0
  34. offset_left = 125.0
  35. offset_right = 189.0
  36. offset_bottom = 55.0
  37. theme_override_styles/panel = SubResource("StyleBoxEmpty_lnxqr")
  38. [node name="VBoxContainer" type="VBoxContainer" parent="ValueLabelPos"]
  39. layout_mode = 2
  40. theme_override_constants/separation = 0
  41. [node name="ValueRichTextLabel" type="RichTextLabel" parent="ValueLabelPos/VBoxContainer"]
  42. layout_mode = 2
  43. bbcode_enabled = true
  44. text = "[font_size=15][b]-1[/b][/font_size]"
  45. fit_content = true
  46. horizontal_alignment = 1
  47. [node name="MarginContainer" type="MarginContainer" parent="ValueLabelPos/VBoxContainer"]
  48. layout_mode = 2
  49. theme_override_constants/margin_left = 30
  50. theme_override_constants/margin_right = 30
  51. [node name="Panel" type="Panel" parent="ValueLabelPos/VBoxContainer/MarginContainer"]
  52. custom_minimum_size = Vector2(4, 24)
  53. layout_mode = 2
  54. theme_override_styles/panel = SubResource("StyleBoxFlat_lnxqr")
  55. [node name="Buttons" type="Panel" parent="."]
  56. layout_mode = 1
  57. anchors_preset = 15
  58. anchor_right = 1.0
  59. anchor_bottom = 1.0
  60. grow_horizontal = 2
  61. grow_vertical = 2
  62. theme_override_styles/panel = SubResource("StyleBoxEmpty_cfh3q")
  63. [node name="Button0" type="Button" parent="Buttons"]
  64. z_index = 1
  65. layout_mode = 0
  66. offset_left = 127.0
  67. offset_top = 88.0
  68. offset_right = 191.0
  69. offset_bottom = 119.0
  70. theme = ExtResource("3_y4p54")
  71. text = "背景"
  72. [node name="Button1" type="Button" parent="Buttons"]
  73. layout_mode = 0
  74. offset_left = 164.0
  75. offset_top = 51.0
  76. offset_right = 228.0
  77. offset_bottom = 82.0
  78. theme = ExtResource("3_y4p54")
  79. text = "远景"
  80. [node name="Button2" type="Button" parent="Buttons"]
  81. z_index = 2
  82. layout_mode = 2
  83. offset_left = 232.0
  84. offset_top = 115.0
  85. offset_right = 296.0
  86. offset_bottom = 146.0
  87. theme = ExtResource("3_y4p54")
  88. text = "帽子"
  89. [node name="Button3" type="Button" parent="Buttons"]
  90. z_index = 1
  91. layout_mode = 2
  92. offset_left = 266.0
  93. offset_top = 83.0
  94. offset_right = 330.0
  95. offset_bottom = 114.0
  96. theme = ExtResource("3_y4p54")
  97. text = "后发饰"
  98. [node name="Button4" type="Button" parent="Buttons"]
  99. layout_mode = 2
  100. offset_left = 304.0
  101. offset_top = 51.0
  102. offset_right = 368.0
  103. offset_bottom = 82.0
  104. theme = ExtResource("3_y4p54")
  105. text = "后发"
  106. [node name="Button5" type="Button" parent="Buttons"]
  107. z_index = 3
  108. layout_mode = 2
  109. offset_left = 314.0
  110. offset_top = 155.0
  111. offset_right = 378.0
  112. offset_bottom = 186.0
  113. theme = ExtResource("3_y4p54")
  114. text = "翅膀"
  115. [node name="Button6" type="Button" parent="Buttons"]
  116. z_index = 2
  117. layout_mode = 2
  118. offset_left = 348.0
  119. offset_top = 121.0
  120. offset_right = 412.0
  121. offset_bottom = 152.0
  122. theme = ExtResource("3_y4p54")
  123. text = "披风"
  124. [node name="Button7" type="Button" parent="Buttons"]
  125. z_index = 1
  126. layout_mode = 2
  127. offset_left = 381.0
  128. offset_top = 91.0
  129. offset_right = 445.0
  130. offset_bottom = 122.0
  131. theme = ExtResource("3_y4p54")
  132. text = "外套"
  133. [node name="Button8" type="Button" parent="Buttons"]
  134. layout_mode = 2
  135. offset_left = 424.0
  136. offset_top = 57.0
  137. offset_right = 488.0
  138. offset_bottom = 88.0
  139. theme = ExtResource("3_y4p54")
  140. text = "身体"
  141. [node name="Button9" type="Button" parent="Buttons"]
  142. z_index = 1
  143. layout_mode = 2
  144. offset_left = 452.0
  145. offset_top = 93.0
  146. offset_right = 516.0
  147. offset_bottom = 124.0
  148. theme = ExtResource("3_y4p54")
  149. text = "纹身"
  150. [node name="Button10" type="Button" parent="Buttons"]
  151. z_index = 2
  152. layout_mode = 2
  153. offset_left = 478.0
  154. offset_top = 132.0
  155. offset_right = 542.0
  156. offset_bottom = 163.0
  157. theme = ExtResource("3_y4p54")
  158. text = "内衣"
  159. [node name="Button11" type="Button" parent="Buttons"]
  160. layout_mode = 2
  161. offset_left = 537.0
  162. offset_top = 61.0
  163. offset_right = 601.0
  164. offset_bottom = 92.0
  165. theme = ExtResource("3_y4p54")
  166. text = "袜子"
  167. [node name="Button12" type="Button" parent="Buttons"]
  168. z_index = 1
  169. layout_mode = 2
  170. offset_left = 565.0
  171. offset_top = 104.0
  172. offset_right = 629.0
  173. offset_bottom = 135.0
  174. theme = ExtResource("3_y4p54")
  175. text = "鞋子"
  176. [node name="Button13" type="Button" parent="Buttons"]
  177. z_index = 2
  178. layout_mode = 2
  179. offset_left = 599.0
  180. offset_top = 142.0
  181. offset_right = 663.0
  182. offset_bottom = 173.0
  183. theme = ExtResource("3_y4p54")
  184. text = "手套"
  185. [node name="Button14" type="Button" parent="Buttons"]
  186. layout_mode = 2
  187. offset_left = 648.0
  188. offset_top = 65.0
  189. offset_right = 712.0
  190. offset_bottom = 96.0
  191. theme = ExtResource("3_y4p54")
  192. text = "内搭"
  193. [node name="Button15" type="Button" parent="Buttons"]
  194. z_index = 1
  195. layout_mode = 2
  196. offset_left = 682.0
  197. offset_top = 107.0
  198. offset_right = 746.0
  199. offset_bottom = 138.0
  200. theme = ExtResource("3_y4p54")
  201. text = "外套"
  202. [node name="Button16" type="Button" parent="Buttons"]
  203. z_index = 2
  204. layout_mode = 2
  205. offset_left = 713.0
  206. offset_top = 142.0
  207. offset_right = 777.0
  208. offset_bottom = 173.0
  209. theme = ExtResource("3_y4p54")
  210. text = "武器"
  211. [node name="Button17" type="Button" parent="Buttons"]
  212. layout_mode = 2
  213. offset_left = 757.0
  214. offset_top = 60.0
  215. offset_right = 821.0
  216. offset_bottom = 91.0
  217. theme = ExtResource("3_y4p54")
  218. text = "头"
  219. [node name="Button18" type="Button" parent="Buttons"]
  220. z_index = 1
  221. layout_mode = 2
  222. offset_left = 790.0
  223. offset_top = 106.0
  224. offset_right = 854.0
  225. offset_bottom = 137.0
  226. theme = ExtResource("3_y4p54")
  227. text = "脸"
  228. [node name="Button19" type="Button" parent="Buttons"]
  229. z_index = 2
  230. layout_mode = 2
  231. offset_left = 828.0
  232. offset_top = 142.0
  233. offset_right = 892.0
  234. offset_bottom = 173.0
  235. theme = ExtResource("3_y4p54")
  236. text = "脸饰"
  237. [node name="Button20" type="Button" parent="Buttons"]
  238. layout_mode = 2
  239. offset_left = 845.0
  240. offset_top = 56.0
  241. offset_right = 909.0
  242. offset_bottom = 87.0
  243. theme = ExtResource("3_y4p54")
  244. text = "侧发"
  245. [node name="Button21" type="Button" parent="Buttons"]
  246. z_index = 1
  247. layout_mode = 2
  248. offset_left = 890.0
  249. offset_top = 101.0
  250. offset_right = 954.0
  251. offset_bottom = 132.0
  252. theme = ExtResource("3_y4p54")
  253. text = "侧发饰"
  254. [node name="Button22" type="Button" parent="Buttons"]
  255. layout_mode = 2
  256. offset_left = 949.0
  257. offset_top = 53.0
  258. offset_right = 1013.0
  259. offset_bottom = 84.0
  260. theme = ExtResource("3_y4p54")
  261. text = "前发"
  262. [node name="Button23" type="Button" parent="Buttons"]
  263. z_index = 1
  264. layout_mode = 2
  265. offset_left = 987.0
  266. offset_top = 89.0
  267. offset_right = 1051.0
  268. offset_bottom = 120.0
  269. theme = ExtResource("3_y4p54")
  270. text = "前发饰"
  271. [node name="Button24" type="Button" parent="Buttons"]
  272. z_index = 2
  273. layout_mode = 2
  274. offset_left = 1023.0
  275. offset_top = 122.0
  276. offset_right = 1087.0
  277. offset_bottom = 153.0
  278. theme = ExtResource("3_y4p54")
  279. text = "帽子"
  280. [node name="Button25" type="Button" parent="Buttons"]
  281. layout_mode = 2
  282. offset_left = 1112.0
  283. offset_top = 100.0
  284. offset_right = 1176.0
  285. offset_bottom = 131.0
  286. theme = ExtResource("3_y4p54")
  287. text = "前景"
  288. [node name="Button26" type="Button" parent="Buttons"]
  289. z_index = 1
  290. layout_mode = 2
  291. offset_left = 1067.0
  292. offset_top = 58.0
  293. offset_right = 1131.0
  294. offset_bottom = 89.0
  295. theme = ExtResource("3_y4p54")
  296. text = "镜头"