Advertisement
brianstj

Elemental Clicker

Mar 17th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.15 KB | None | 0 0
  1. Let's make a game!
  2. name:Elemental Clicker
  3. by:Brian
  4. desc:An idle game using all four elements.
  5. created:02/03/18
  6. version:0
  7. Settings
  8. spritesheet:buttons, 256 by 256, https://image.ibb.co/e9zgfH/Elements_3.png
  9. CSS
  10. .box-header{
  11. height:10%
  12. }
  13. .element {
  14. height:35%;
  15. width:45%;
  16. position:absolute;
  17. border:2px dashed;
  18. }
  19. #box-fireBox {
  20. left:2%;
  21. top:2%;
  22. border-color:Red;
  23. }
  24. #box-earthBox {
  25. left:2%;
  26. bottom:2%;
  27. border-color:Brown;
  28. }
  29. #box-waterBox {
  30. right:2%;
  31. bottom:2%;
  32. border-color:Blue;
  33. }
  34. #box-airBox {
  35. right:2%;
  36. top:2%;
  37. border-color:LightGrey;
  38. }
  39. .clickable {
  40. left:2%;
  41. top:15%;
  42. width:46%;
  43. height:80%;
  44. position:absolute;
  45. overflow:hidden;
  46. }
  47. .displayable {
  48. left:5%;
  49. top:5%;
  50. width:40%;
  51. position:absolute;
  52. }
  53. .upgradeable {
  54. right:2%;
  55. width:46%;
  56. top:5%;
  57. height:90%;
  58. overflow-y:scroll;
  59. position:absolute;
  60. }
  61. Includes
  62. Resources
  63. *fire
  64. name:Fire
  65. tag:fire
  66. *earth
  67. name:Earth
  68. tag:earth
  69. *water
  70. name:Water
  71. tag:water
  72. *air
  73. name:Air
  74. tag:air
  75. Buttons
  76. *fireButton
  77. tag:fireButton
  78. on click:yield 1+fire:ps/20 fire
  79. icon:buttons[0,0]
  80. no text
  81. no tooltip
  82. class:bigButton hasFlares
  83. *earthButton
  84. tag:earthButton
  85. on click:yield 1+earth:ps/20 earth
  86. icon:buttons[0,1]
  87. no text
  88. no tooltip
  89. class:bigButton hasFlares
  90. *waterButton
  91. tag:waterButton
  92. on click:yield 1+water:ps/20 water
  93. icon:buttons[1,0]
  94. no text
  95. no tooltip
  96. class:bigButton hasFlares
  97. *airButton
  98. tag:airButton
  99. on click:yield 1+air:ps/20 air
  100. icon:buttons[1,1]
  101. no text
  102. no tooltip
  103. class:bigButton hasFlares
  104. Upgrades
  105. *spark
  106. name:Spark
  107. desc:A small spark that will produce Fire.<q>We didn't start the fire
  108. tag:fireUpgrade
  109. cost:10 fire
  110. on tick:yield 0.1 fire
  111. *flame
  112. name:Flame
  113. desc:Multiplies Fire production by 10.<q>Fire is just the chemical reaction. The part you can see is the flame. Let's ignore that for now.
  114. tag:fireUpgrade
  115. cost:100 fire
  116. passive:multiply yield of spark by 10
  117. req:have spark
  118.  
  119. *pebble
  120. name:Pebble
  121. desc:A small pebble that will produce Earth.<q>Tastes a little bit fruity
  122. tag:earthUpgrade
  123. cost:10 earth
  124. on tick:yield 0.1 earth
  125. *rock
  126. name:Rock
  127. desc:Multiplies Earth production by 10.<q>n Roll
  128. tag:earthUpgrade
  129. cost:100 earth
  130. passive:multiply yield of pebble by 10
  131. req:have pebble
  132.  
  133. *drop
  134. name:Drop
  135. desc:A small drop that will produce Water.<q>Is it still a drop if it isn't falling?
  136. tag:waterUpgrade
  137. cost:10 water
  138. on tick:yield 0.1 water
  139. *puddle
  140. name:Puddle
  141. desc:Multiplies Water production by 10.<q>Don't jump in them or you'll catch a cold.
  142. tag:waterUpgrade
  143. cost:100 water
  144. passive:multiply yield of drop by 10
  145. req:have drop
  146. *hotWater
  147. name:Hot Water
  148. desc:Multiplies Water production by 2.<q>Useful for cooking and cleaning hands.
  149. tag:waterUpgrade
  150. cost:200 fire
  151. passive:multiply yield of drop by 2
  152. req:have drop and have flame
  153. *solution
  154. name:Solution
  155. desc:Multiplies Water production by 2.<q>The result of mixing something into water.
  156. tag:waterUpgrade
  157. cost:200 earth
  158. passive:multiply yield of drop by 2
  159. req:have drop and have rock
  160. *oxygenatedWater
  161. name:Oxygenated Water
  162. desc:Multiplies Water production by 2.<q>Allows the fish to breathe.
  163. tag:waterUpgrade
  164. cost:200 air
  165. passive:multiply yield of drop by 2
  166. req:have drop and have breeze
  167.  
  168. *gust
  169. name:Gust
  170. desc:A small gust that will produce Air.<q>Wild PIDGEY appeared!
  171. tag:airUpgrade
  172. cost:10 air
  173. on tick:yield 0.1 air
  174. *breeze
  175. name:Breeze
  176. desc:Multiplies Air production by 10.<q>That wasn't too hard.
  177. tag:airUpgrade
  178. cost:100 air
  179. passive:multiply yield of gust by 10
  180. req:have gust
  181. Layout
  182. *fireBox
  183. class:element
  184. contains:fireClick, fireResource, fireUpgrades
  185. *fireClick
  186. class:clickable
  187. contains:tag:fireButton
  188. *fireResource
  189. class:displayable
  190. contains:tag:fire
  191. *fireUpgrades
  192. class:upgradeable
  193. contains:tag:fireUpgrade
  194. header:Upgrades
  195. *earthBox
  196. class:element
  197. contains:earthClick, earthResource, earthUpgrades
  198. *earthClick
  199. class:clickable
  200. contains:tag:earthButton
  201. *earthResource
  202. class:displayable
  203. contains:tag:earth
  204. *earthUpgrades
  205. class:upgradeable
  206. contains:tag:earthUpgrade
  207. header:Upgrades
  208. *waterBox
  209. class:element
  210. contains:waterClick, waterResource, waterUpgrades
  211. *waterClick
  212. class:clickable
  213. contains:tag:waterButton
  214. *waterResource
  215. class:displayable
  216. contains:tag:water
  217. *waterUpgrades
  218. class:upgradeable
  219. contains:tag:waterUpgrade
  220. header:Upgrades
  221. *airBox
  222. class:element
  223. contains:airClick, airResource, airUpgrades
  224. *airClick
  225. class:clickable
  226. contains:tag:airButton
  227. *airResource
  228. class:displayable
  229. contains:tag:air
  230. *airUpgrades
  231. class:upgradeable
  232. contains:tag:airUpgrade
  233. header:Upgrades
  234. Items
  235. Achievements
  236. Shinies
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement