cancel_timer.gui 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. script: "/example/cancel_timer.gui_script"
  2. fonts {
  3. name: "text24"
  4. font: "/assets/text24.font"
  5. }
  6. background_color {
  7. x: 0.0
  8. y: 0.0
  9. z: 0.0
  10. w: 0.0
  11. }
  12. nodes {
  13. position {
  14. x: 360.0
  15. y: 260.0
  16. z: 0.0
  17. w: 1.0
  18. }
  19. rotation {
  20. x: 0.0
  21. y: 0.0
  22. z: 0.0
  23. w: 1.0
  24. }
  25. scale {
  26. x: 1.0
  27. y: 1.0
  28. z: 1.0
  29. w: 1.0
  30. }
  31. size {
  32. x: 400.0
  33. y: 70.0
  34. z: 0.0
  35. w: 1.0
  36. }
  37. color {
  38. x: 0.101960786
  39. y: 0.101960786
  40. z: 0.101960786
  41. w: 1.0
  42. }
  43. type: TYPE_TEXT
  44. blend_mode: BLEND_MODE_ALPHA
  45. text: "Timer triggers particle fx every 1s.\n"
  46. "Click anywhere to cancel the timer."
  47. font: "text24"
  48. id: "info"
  49. xanchor: XANCHOR_NONE
  50. yanchor: YANCHOR_NONE
  51. pivot: PIVOT_CENTER
  52. outline {
  53. x: 0.0
  54. y: 0.0
  55. z: 0.0
  56. w: 1.0
  57. }
  58. shadow {
  59. x: 1.0
  60. y: 1.0
  61. z: 1.0
  62. w: 1.0
  63. }
  64. adjust_mode: ADJUST_MODE_FIT
  65. line_break: false
  66. layer: ""
  67. inherit_alpha: true
  68. alpha: 1.0
  69. outline_alpha: 0.0
  70. shadow_alpha: 0.0
  71. template_node_child: false
  72. text_leading: 1.0
  73. text_tracking: 0.0
  74. custom_type: 0
  75. enabled: true
  76. visible: true
  77. }
  78. nodes {
  79. position {
  80. x: 360.0
  81. y: 400.0
  82. z: 0.0
  83. w: 1.0
  84. }
  85. rotation {
  86. x: 0.0
  87. y: 0.0
  88. z: 0.0
  89. w: 1.0
  90. }
  91. scale {
  92. x: 1.0
  93. y: 1.0
  94. z: 1.0
  95. w: 1.0
  96. }
  97. size {
  98. x: 1.0
  99. y: 1.0
  100. z: 0.0
  101. w: 1.0
  102. }
  103. color {
  104. x: 1.0
  105. y: 1.0
  106. z: 1.0
  107. w: 1.0
  108. }
  109. type: TYPE_PARTICLEFX
  110. id: "particlefx"
  111. xanchor: XANCHOR_NONE
  112. yanchor: YANCHOR_NONE
  113. adjust_mode: ADJUST_MODE_FIT
  114. layer: ""
  115. inherit_alpha: true
  116. alpha: 1.0
  117. template_node_child: false
  118. size_mode: SIZE_MODE_AUTO
  119. particlefx: "particlefx"
  120. custom_type: 0
  121. enabled: true
  122. visible: true
  123. }
  124. material: "/builtins/materials/gui.material"
  125. adjust_reference: ADJUST_REFERENCE_PARENT
  126. max_nodes: 512
  127. particlefxs {
  128. name: "particlefx"
  129. particlefx: "/example/cancel_timer.particlefx"
  130. }