Advertisement
Turgen

GUI2

Mar 18th, 2025 (edited)
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.56 KB | None | 0 0
  1. Let's make a game!
  2. name:Sci-Fi Template
  3. by:Kasperja
  4. desc:Write the game description here.<//>Click to play the game!
  5. created:18/03/2025
  6. updated:18/03/2025
  7. version:1.0
  8.  
  9. Settings
  10. background:https://raw.githubusercontent.com/kasperja/GUI/refs/heads/main/tp.png
  11. building cost increase:110%
  12. building cost refund:50%
  13. spritesheet:icons, 48 by 48, https://raw.githubusercontent.com/kasperja/GUI/main/BlankSpritesheet.png
  14. stylesheet:https://raw.githubusercontent.com/kasperja/GUI/refs/heads/main/SciFi-Temp-CSS-yellow.txt
  15. no particles
  16. no bulk particles
  17.  
  18. Layout
  19.  
  20. *main
  21. contains:buttons, log, logHeader
  22. *res
  23. icons:show
  24. contains:Resources
  25. class:fullWidth
  26. *buttons
  27. contains:Buttons
  28. tooltip origin:left
  29. *store
  30. contains:buildings, upgrades, buildingsHeader, upgradesHeader, buildings2, upgrades2, buildings2Header, upgrades2Header
  31. *buildings
  32. icons:hide
  33. contains:Buildings
  34. tooltip origin:right
  35. *buildingsHeader
  36. header:Units
  37. *buildings2
  38. icons:hide
  39. contains:tag:buildings2
  40. tooltip origin:left
  41. *buildings2Header
  42. header:Generators
  43. *upgrades
  44. tooltip origin:left
  45. contains:Upgrades
  46. costs:show
  47. names:show
  48. icons:hide
  49. *upgradesHeader
  50. header:Upgrades
  51. *upgrades2
  52. tooltip origin:right
  53. contains:tag:upgrades2
  54. costs:show
  55. names:show
  56. icons:hide
  57. *upgrades2Header
  58. header:Upgrades II
  59. *log
  60. contains:Log
  61. class:log
  62. *logHeader
  63. header:Log
  64.  
  65.  
  66.  
  67. Buttons
  68. *creditButton
  69. name:Button Name
  70. desc:Press the button to earn Credits.
  71. on click:anim icon wobble
  72. on click:yield 1 credit
  73. on click:yield 1 credit
  74. on start:log Welcome to </#></><t>Sci-Fi Template</#> <//> Game version: 1.0</#>
  75. on load:log Welcome to </#></><t>Sci-Fi Template</#> <//> Game version: 1.0</#>
  76. on load:log Game loaded.
  77. icon:https://github.com/kasperja/GUI/raw/main/ButtonTest2.png
  78. no text
  79. class:bigButton
  80. icon class:shadowed
  81. tooltip origin:bottom
  82. tooltip class:red
  83.  
  84. Resources
  85. *credit|credits
  86. name:Credits|Credits
  87. desc:This is your Credits, click and upgrade to earn Credits.
  88. class:noBackground
  89. show earned
  90.  
  91.  
  92.  
  93. Shinies
  94.  
  95.  
  96. Buildings
  97.  
  98. *TEMPLATE
  99.  
  100. *drone|drones
  101. name:Mining Drone|Mining Drones
  102. desc:A tiny asteroid mining drone.<//><b>Effect:</b><.>Produces 1 Credits every 10 seconds.
  103. icon:icons[10,12]
  104. cost:30 credits
  105. on tick:yield 0.1 credit
  106. req:20 credits:earned
  107.  
  108.  
  109.  
  110. //Buildings2 / Generators
  111.  
  112. *drone2|drones2
  113. name:Mining Drone II|Mining Drones II
  114. desc:A tiny asteroid mining drone.<//><b>Effect:</b><.>Produces 1 Credits every 10 seconds.
  115. icon:icons[10,12]
  116. cost:30 credits
  117. on tick:yield 0.1 credit
  118. req:20 credits:earned
  119. tag: buildings2
  120.  
  121.  
  122. Upgrades
  123. *TEMPLATE
  124.  
  125. *parsley
  126. name:Mining Drone Tech
  127. desc:Powers up the efficiency of the Mining Drones.<//><b>Effect:</b><.>+1 Credits/click<.>Mining Drone production x2
  128. cost:200 credits
  129. passive:increase credit yield of creditButton by 1
  130. passive:multiply yield of drone by 2
  131. req:200 credits:earned
  132.  
  133.  
  134. //Upgrades2
  135.  
  136. *parsley2
  137. name:Mining Drone Tech II
  138. desc:Powers up the efficiency of the Mining Drones II.<//><b>Effect:</b><.>+1 Credits/click<.>Mining Drone II production x2
  139. cost:300 credits
  140. passive:increase credit yield of creditButton by 1
  141. passive:multiply yield of drone2 by 2
  142. req:300 credits:earned
  143. tag: upgrades2
  144.  
  145. Achievements
  146. *TEMPLATE
  147.  
  148. *Achiev1
  149. name:Your First Achievement!
  150. desc:Buy a Mining Drone.
  151. req:(drones>=1)
  152.  
  153. *Achiev2
  154. name:Your Second Achievement!
  155. desc:Have 2 Mining Drones.
  156. req:(drones>=2)
  157.  
  158. CSS
  159.  
  160.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement