drag.gui 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  1. script: "/example/drag.gui_script"
  2. fonts {
  3. name: "text48"
  4. font: "/assets/text48.font"
  5. }
  6. textures {
  7. name: "sprites"
  8. texture: "/assets/sprites.atlas"
  9. }
  10. background_color {
  11. x: 0.0
  12. y: 0.0
  13. z: 0.0
  14. w: 0.0
  15. }
  16. nodes {
  17. position {
  18. x: 260.0
  19. y: 360.0
  20. z: 0.0
  21. w: 1.0
  22. }
  23. rotation {
  24. x: 0.0
  25. y: 0.0
  26. z: 0.0
  27. w: 1.0
  28. }
  29. scale {
  30. x: 1.0
  31. y: 1.0
  32. z: 1.0
  33. w: 1.0
  34. }
  35. size {
  36. x: 80.0
  37. y: 80.0
  38. z: 0.0
  39. w: 1.0
  40. }
  41. color {
  42. x: 1.0
  43. y: 1.0
  44. z: 1.0
  45. w: 1.0
  46. }
  47. type: TYPE_BOX
  48. blend_mode: BLEND_MODE_ALPHA
  49. texture: "sprites/red_button12"
  50. id: "box1"
  51. xanchor: XANCHOR_NONE
  52. yanchor: YANCHOR_NONE
  53. pivot: PIVOT_CENTER
  54. adjust_mode: ADJUST_MODE_FIT
  55. layer: ""
  56. inherit_alpha: true
  57. slice9 {
  58. x: 5.0
  59. y: 5.0
  60. z: 5.0
  61. w: 5.0
  62. }
  63. clipping_mode: CLIPPING_MODE_NONE
  64. clipping_visible: true
  65. clipping_inverted: false
  66. alpha: 1.0
  67. template_node_child: false
  68. size_mode: SIZE_MODE_MANUAL
  69. custom_type: 0
  70. enabled: true
  71. visible: true
  72. material: ""
  73. }
  74. nodes {
  75. position {
  76. x: 0.0
  77. y: 0.0
  78. z: 0.0
  79. w: 1.0
  80. }
  81. rotation {
  82. x: 0.0
  83. y: 0.0
  84. z: 0.0
  85. w: 1.0
  86. }
  87. scale {
  88. x: 1.0
  89. y: 1.0
  90. z: 1.0
  91. w: 1.0
  92. }
  93. size {
  94. x: 80.0
  95. y: 80.0
  96. z: 0.0
  97. w: 1.0
  98. }
  99. color {
  100. x: 1.0
  101. y: 1.0
  102. z: 1.0
  103. w: 1.0
  104. }
  105. type: TYPE_TEXT
  106. blend_mode: BLEND_MODE_ALPHA
  107. text: "1"
  108. font: "text48"
  109. id: "text1"
  110. xanchor: XANCHOR_NONE
  111. yanchor: YANCHOR_NONE
  112. pivot: PIVOT_CENTER
  113. outline {
  114. x: 1.0
  115. y: 1.0
  116. z: 1.0
  117. w: 1.0
  118. }
  119. shadow {
  120. x: 1.0
  121. y: 1.0
  122. z: 1.0
  123. w: 1.0
  124. }
  125. adjust_mode: ADJUST_MODE_FIT
  126. line_break: false
  127. parent: "box1"
  128. layer: ""
  129. inherit_alpha: true
  130. alpha: 1.0
  131. outline_alpha: 1.0
  132. shadow_alpha: 1.0
  133. template_node_child: false
  134. text_leading: 1.0
  135. text_tracking: 0.0
  136. custom_type: 0
  137. enabled: true
  138. visible: true
  139. material: ""
  140. }
  141. nodes {
  142. position {
  143. x: 360.0
  144. y: 360.0
  145. z: 0.0
  146. w: 1.0
  147. }
  148. rotation {
  149. x: 0.0
  150. y: 0.0
  151. z: 0.0
  152. w: 1.0
  153. }
  154. scale {
  155. x: 1.0
  156. y: 1.0
  157. z: 1.0
  158. w: 1.0
  159. }
  160. size {
  161. x: 80.0
  162. y: 80.0
  163. z: 0.0
  164. w: 1.0
  165. }
  166. color {
  167. x: 1.0
  168. y: 1.0
  169. z: 1.0
  170. w: 1.0
  171. }
  172. type: TYPE_BOX
  173. blend_mode: BLEND_MODE_ALPHA
  174. texture: "sprites/red_button12"
  175. id: "box2"
  176. xanchor: XANCHOR_NONE
  177. yanchor: YANCHOR_NONE
  178. pivot: PIVOT_CENTER
  179. adjust_mode: ADJUST_MODE_FIT
  180. layer: ""
  181. inherit_alpha: true
  182. slice9 {
  183. x: 5.0
  184. y: 5.0
  185. z: 5.0
  186. w: 5.0
  187. }
  188. clipping_mode: CLIPPING_MODE_NONE
  189. clipping_visible: true
  190. clipping_inverted: false
  191. alpha: 1.0
  192. template_node_child: false
  193. size_mode: SIZE_MODE_MANUAL
  194. custom_type: 0
  195. enabled: true
  196. visible: true
  197. material: ""
  198. }
  199. nodes {
  200. position {
  201. x: 0.0
  202. y: 0.0
  203. z: 0.0
  204. w: 1.0
  205. }
  206. rotation {
  207. x: 0.0
  208. y: 0.0
  209. z: 0.0
  210. w: 1.0
  211. }
  212. scale {
  213. x: 1.0
  214. y: 1.0
  215. z: 1.0
  216. w: 1.0
  217. }
  218. size {
  219. x: 80.0
  220. y: 80.0
  221. z: 0.0
  222. w: 1.0
  223. }
  224. color {
  225. x: 1.0
  226. y: 1.0
  227. z: 1.0
  228. w: 1.0
  229. }
  230. type: TYPE_TEXT
  231. blend_mode: BLEND_MODE_ALPHA
  232. text: "2"
  233. font: "text48"
  234. id: "text2"
  235. xanchor: XANCHOR_NONE
  236. yanchor: YANCHOR_NONE
  237. pivot: PIVOT_CENTER
  238. outline {
  239. x: 1.0
  240. y: 1.0
  241. z: 1.0
  242. w: 1.0
  243. }
  244. shadow {
  245. x: 1.0
  246. y: 1.0
  247. z: 1.0
  248. w: 1.0
  249. }
  250. adjust_mode: ADJUST_MODE_FIT
  251. line_break: false
  252. parent: "box2"
  253. layer: ""
  254. inherit_alpha: true
  255. alpha: 1.0
  256. outline_alpha: 1.0
  257. shadow_alpha: 1.0
  258. template_node_child: false
  259. text_leading: 1.0
  260. text_tracking: 0.0
  261. custom_type: 0
  262. enabled: true
  263. visible: true
  264. material: ""
  265. }
  266. nodes {
  267. position {
  268. x: 460.0
  269. y: 360.0
  270. z: 0.0
  271. w: 1.0
  272. }
  273. rotation {
  274. x: 0.0
  275. y: 0.0
  276. z: 0.0
  277. w: 1.0
  278. }
  279. scale {
  280. x: 1.0
  281. y: 1.0
  282. z: 1.0
  283. w: 1.0
  284. }
  285. size {
  286. x: 80.0
  287. y: 80.0
  288. z: 0.0
  289. w: 1.0
  290. }
  291. color {
  292. x: 1.0
  293. y: 1.0
  294. z: 1.0
  295. w: 1.0
  296. }
  297. type: TYPE_BOX
  298. blend_mode: BLEND_MODE_ALPHA
  299. texture: "sprites/red_button12"
  300. id: "box3"
  301. xanchor: XANCHOR_NONE
  302. yanchor: YANCHOR_NONE
  303. pivot: PIVOT_CENTER
  304. adjust_mode: ADJUST_MODE_FIT
  305. layer: ""
  306. inherit_alpha: true
  307. slice9 {
  308. x: 5.0
  309. y: 5.0
  310. z: 5.0
  311. w: 5.0
  312. }
  313. clipping_mode: CLIPPING_MODE_NONE
  314. clipping_visible: true
  315. clipping_inverted: false
  316. alpha: 1.0
  317. template_node_child: false
  318. size_mode: SIZE_MODE_MANUAL
  319. custom_type: 0
  320. enabled: true
  321. visible: true
  322. material: ""
  323. }
  324. nodes {
  325. position {
  326. x: 0.0
  327. y: 0.0
  328. z: 0.0
  329. w: 1.0
  330. }
  331. rotation {
  332. x: 0.0
  333. y: 0.0
  334. z: 0.0
  335. w: 1.0
  336. }
  337. scale {
  338. x: 1.0
  339. y: 1.0
  340. z: 1.0
  341. w: 1.0
  342. }
  343. size {
  344. x: 80.0
  345. y: 80.0
  346. z: 0.0
  347. w: 1.0
  348. }
  349. color {
  350. x: 1.0
  351. y: 1.0
  352. z: 1.0
  353. w: 1.0
  354. }
  355. type: TYPE_TEXT
  356. blend_mode: BLEND_MODE_ALPHA
  357. text: "3"
  358. font: "text48"
  359. id: "text3"
  360. xanchor: XANCHOR_NONE
  361. yanchor: YANCHOR_NONE
  362. pivot: PIVOT_CENTER
  363. outline {
  364. x: 1.0
  365. y: 1.0
  366. z: 1.0
  367. w: 1.0
  368. }
  369. shadow {
  370. x: 1.0
  371. y: 1.0
  372. z: 1.0
  373. w: 1.0
  374. }
  375. adjust_mode: ADJUST_MODE_FIT
  376. line_break: false
  377. parent: "box3"
  378. layer: ""
  379. inherit_alpha: true
  380. alpha: 1.0
  381. outline_alpha: 1.0
  382. shadow_alpha: 1.0
  383. template_node_child: false
  384. text_leading: 1.0
  385. text_tracking: 0.0
  386. custom_type: 0
  387. enabled: true
  388. visible: true
  389. material: ""
  390. }
  391. material: "/builtins/materials/gui.material"
  392. adjust_reference: ADJUST_REFERENCE_PARENT
  393. max_nodes: 512