Advertisement
Guest User

game0001

a guest
Oct 15th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.79 KB | None | 0 0
  1. Let's make a game!
  2. name:Bunny Clicker
  3. by:Orteil
  4. desc:This is a simple idle game to showcase some of the basic functionalities of Idle Game Maker.<//>Make bunnies and shoot for the stars!
  5. created:25/7/2017
  6. updated:24/10/2017
  7. version:1
  8.  
  9. Settings
  10. background:stuff/meadow.jpg
  11. building cost increase:150%
  12. building cost refund:100%
  13. spritesheet:icons, 48 by 48, stuff/bunnyIcons.png
  14. stylesheet:stuff/bigBlue.css
  15.  
  16. Layout
  17. use default
  18.  
  19. Buttons
  20. *FoodButton
  21. name:Make Food
  22. desc:Click this button to get food!
  23. on click:anim icon wobble
  24. on click:yield 1 Food
  25. on click:if (have goldenTouch and chance(1%)) yield 1 Science
  26. icon:stuff/bunny.png
  27. no text
  28. class:bigButton hasFlares
  29. icon class:shadowed
  30. tooltip origin:bottom
  31. tooltip class:red
  32. *WoodButton
  33. name:Make Wood
  34. desc:Click this button to get Wood!
  35. on click:anim icon wobble
  36. on click:yield 1 Wood
  37. on click:if (have goldenTouch and chance(1%)) yield 1 Science
  38. icon:stuff/bunny.png
  39. no text
  40. class:bigButton hasFlares
  41. icon class:shadowed
  42. tooltip origin:bottom
  43. tooltip class:red
  44.  
  45. Resources
  46. *food|food
  47. name:Food|Food
  48. desc:These is your Food.
  49. icon:icons[0,0]
  50. class:noBackground
  51. show earned
  52.  
  53. *wood|wood
  54. name:Wood|Wood
  55. desc:These is your Wood.
  56. icon:icons[0,1]
  57. class:noBackground
  58. show earned
  59.  
  60. *science|science
  61. name:Science|Science
  62. desc:These is Science thing.
  63. icon:icons[0,2]
  64. class:noBackground
  65. hidden when 0
  66.  
  67. Shinies
  68. *Lucky Science
  69. on click:log Woop
  70. movement:onRight moveLeft fade bounce:0.05
  71. frequency:60
  72. frequency variation:30
  73. icon:stuff/luckyBunny.png
  74. class:bigButton
  75. on click:
  76. $boost=1
  77. if (have clover) $boost=4
  78. if (chance(50%))
  79. //get at least 10, or between 10 and 30 minutes of our Food production
  80. $amount=max(10,random(food:ps*60*10,food:ps*60*100))*$boost
  81. toast The lucky science grants you<//><b>[$amount] Food</b>.
  82. yield $amount food
  83. else
  84. $amount=max(10,random(wood:ps*60*10,wood:ps*60*100))*$boost
  85. toast The lucky science grants you<//><b>[$amount] Wood</b>.
  86. yield $amount wood
  87. end
  88. end
  89.  
  90. Buildings
  91. *TEMPLATE
  92. on click:anim glow
  93.  
  94. *worker|workers
  95. name:Worker|Workers
  96. desc:A Worker.<//><b>Effect:</b><.>Produces 1 Food and 1 Wood every 1 second.
  97. icon:icons[3,0]
  98. cost:10 food
  99. on tick:yield 1 food
  100. on tick:yield 1 wood
  101. unlocked
  102.  
  103. *farmer|farmers
  104. name:Farmer|Farmers
  105. desc:A Farmer.<//><b>Effect:</b><.>Produces 10 Food 1 second.
  106. icon:icons[3,1]
  107. cost:20 food
  108. on tick:yield 10 food
  109. unlocked
  110.  
  111. *woodcutter|woodcutters
  112. name:Woodcutter|Woodcutters
  113. desc:A Woodcutter.<//><b>Effect:</b><.>Produces 10 Wood every 1 second.
  114. icon:icons[3,2]
  115. cost:10 food
  116. on tick:yield 10 wood
  117. unlocked
  118.  
  119. *farm|farms
  120. name:Farm|Farms
  121. desc:A farm.<//><b>Effect:</b><.>Produces 1000 food every 1 seconds.
  122. icon:icons[3,3]
  123. cost:200 wood
  124. on tick:yield 1000 food
  125. req:100 wood:earned
  126.  
  127. *sawhill|sawhills
  128. name:Sawhill|Sawhills
  129. desc:A sawhill.<//><b>Effect:</b><.>Produces 100 wood every 1 seconds.
  130. icon:icons[3,4]
  131. cost:500 wood
  132. on tick:yield 1000 wood
  133. req:100 wood:earned
  134.  
  135. *village|villages
  136. name:Rabbit village|Rabbit villages
  137. desc:Your bunnies are building their own villages now!<//><b>Effect:</b><.>Produces 300 rabbits per second.
  138. icon:icons[3,5]
  139. cost:10000 food, 1 science
  140. on tick:yield 50000 food
  141. req:2000 food:earned
  142.  
  143. *city|cities
  144. name:Rabbit city|Rabbit cities
  145. desc:A bustling little city, populated with busy rabbits.<//><b>Effect:</b><.>Produces 1000 rabbits per second.
  146. icon:icons[3,6]
  147. cost:200000 food, 4 science
  148. on tick:yield 400000 food
  149. on tick:if (have moonGardens) yield 0.01 science
  150. req:100000 food:earned
  151. limit:100
  152. cost increase:110%
  153.  
  154. *sage|sages
  155. name:Sage|Sages
  156. desc:A Sage.<//><b>Effect:</b><.>Produces 1 Science every 1 second.
  157. icon:icons[3,7]
  158. cost:10 food
  159. on tick:yield 1 science
  160. unlocked
  161. cost increase:1000%
  162.  
  163. Upgrades
  164. *TEMPLATE
  165. on click:anim glow
  166.  
  167. //food upgrades
  168. //inspiration : http://rabbit.org/suggested-vegetables-and-fruits-for-a-rabbit-diet/
  169.  
  170. *parsley
  171. name:Parsley
  172. desc:A nice little supplement to your bunnies' diet.<//><b>Effect:</b><.>+1 bunny/click
  173. icon:icons[1,1]
  174. cost:1 science
  175. passive:multiply yield of food by 1.25
  176. req:10 food:earned
  177.  
  178. *spinach
  179. name:Spinach
  180. desc:Big tasty leaves, perfect for hungry bunnies.<//><b>Effect:</b><.>+1 bunny/click
  181. icon:icons[1,2]
  182. cost:2 science
  183. passive:multiply yield of wood by 1.25
  184. req:10 wood:earned
  185.  
  186. //building upgrades
  187.  
  188. *buildingUpgrade1
  189. name:Sippy bottles
  190. desc:Your bunnies can drink their fill!<//><b>Effect:</b><.>rabbit cage production x2<.>rabbit hutch production x2<.>rabbit coop production x2
  191. icon:icons[2,0] icons[3,0]
  192. cost:20 science
  193. passive:multiply yield of worker by 20
  194. passive:multiply yield of farmer by 20
  195. passive:multiply yield of woodcutter by 20
  196. req:10 science
  197.  
  198. //golden carrot upgrades
  199.  
  200. *goldenTouch
  201. name:Golden touch
  202. desc:The delicate art of finding vegetables made of precious metals.<//><b>Effect:</b><.>1% chance of gaining 1 golden carrot per bunny click
  203. icon:icons[2,5]
  204. cost:1 science
  205. req:1 science:earned
  206.  
  207. *rabbitHaste
  208. name:Rabbit's haste
  209. desc:I'm late! I'm late! For a very important date!<//><b>Effect:</b><.>lucky bunnies appear 30% more often
  210. icon:icons[2,6]
  211. passive:multiply yield of sage by 20
  212. cost:5 science
  213. req:1 science:earned
  214.  
  215.  
  216. Achievements
  217. *TEMPLATE
  218. on click:anim glow
  219.  
  220. *bunnyAchiev1
  221. name:Run rabbit run
  222. desc:Have <b>1</b> bunny.
  223. req:1 food
  224. icon:icons[2,4] icons[0,2] icons[0,6]
  225. *bunnyAchiev2
  226. name:Bunniest home videos
  227. desc:Have <b>1000</b> bunnies.
  228. req:1 wood
  229. icon:icons[2,4] icons[0,3] icons[0,6]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement