Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.57 KB | None | 0 0
  1. Let's make a game!
  2. name:Panda Clicker
  3. by:Orteil
  4. desc:This is a simple idle game to showcase some of the basic functionalities of Idle Game Maker.<//>Make pandas and shoot for the stars!
  5. created:25/7/2017
  6. updated:24/10/2017
  7. version:1
  8.  
  9. Settings
  10. background:https://i.ytimg.com/vi/mi2Eb3wt74Y/maxresdefault.jpg
  11. building cost increase:115%
  12. building cost refund:50%
  13. spritesheet:icons, 48 by 48, stuff/bunnyIcons.png
  14. stylesheet:stuff/bigBlue.css
  15.  
  16. Layout
  17. use default
  18.  
  19. Buttons
  20. *pandaButton
  21. name:Get pandas
  22. desc:Click this panda to get pandas!
  23. on click:anim icon wobble
  24. on click:yield 1 panda
  25. on click:if (have goldenTouch and chance(1%)) yield 1 goldenPanda
  26. icon:http://www.shapecollage.com/shapes/mask-panda.png
  27. no text
  28. class:bigButton hasFlares
  29. icon class:shadowed
  30. tooltip origin:bottom
  31. tooltip class:red
  32.  
  33. Resources
  34. *panda|pandas
  35. name:Panda|Pandas
  36. desc:These are your pandas. You can use them to purchase things. Your goal is to have as many pandas as possible!
  37. icon:icons[0,0]
  38. class:noBackground
  39. show earned
  40.  
  41. *goldenpanda|goldenPandas
  42. name:Golden panda|Golden pandas
  43. desc:These shiny pandas are terribly rare, terribly precious and terribly fun!
  44. icon:icons[0,1]
  45. class:noBackground
  46. hidden when 0
  47.  
  48. Shinies
  49. *luckyPanda
  50. on click:log Woop
  51. movement:onRight moveLeft fade bounce:0.05
  52. frequency:60
  53. frequency variation:30
  54. icon:http://www.images-apmex.com/images/Catalog%20Images/Products/62741_Obv.jpg?v=20130101120000&width=900&height=900
  55. class:bigButton
  56. on click:
  57. $boost=1
  58. if (have clover) $boost=4
  59. if (chance(25%))
  60. //get at least 7, or between 1 and 3 minutes of our panda production
  61. $amount=max(7,random(bunnies:ps*60*1,pandas:ps*60*3))*$boost
  62. toast The lucky panda grants you<//><b>[$amount] pandas</b>.
  63. yield $amount pandas
  64. else
  65. $amount=1*$boost
  66. toast The lucky panda grants you<//><b>[$amount] golden panda[s?$amount]</b>!
  67. yield $amount goldenPanda
  68. end
  69. end
  70.  
  71. Buildings
  72. *TEMPLATE
  73. on click:anim glow
  74.  
  75. *cage|cages
  76. name:Panda cage|Panda cages
  77. desc:A tiny little cage.<//><b>Effect:</b><.>Produces 1 panda every 10 seconds.
  78. icon:icons[3,0]
  79. cost:15 pandas
  80. on tick:yield 0.1 panda
  81. unlocked
  82.  
  83. *hutch|hutches
  84. name:Panda hutch|Panda hutches
  85. desc:A bit roomier than a cage, with enough space to crawl around.<//><b>Effect:</b><.>Produces 1 panda every 2 seconds.
  86. icon:icons[3,1]
  87. cost:100 pandas
  88. on tick:yield 0.5 pandas
  89. req:100 pandas:earned
  90.  
  91. *coop|coops
  92. name:Panda coop|Panda coops
  93. desc:A much nicer panda home where full panda families can live.<//><b>Effect:</b><.>Produces 5 pandas per second.
  94. icon:icons[3,2]
  95. cost:600 pandas
  96. on tick:yield 5 pandas
  97. req:600 pandas:earned
  98.  
  99. *pen|pens
  100. name:Panda pen|Panda pens
  101. desc:A lovely enclosure with plenty of green bamboo space.<//><b>Effect:</b><.>Produces 12 pandas per second.
  102. icon:icons[3,3]
  103. cost:4000 pandas
  104. on tick:yield 12 pandas
  105. req:4000 pandas:earned
  106.  
  107. *meadow|meadows
  108. name:Panda bamboo meadow|Panda bamboo meadows
  109. desc:A wide open space full of shade and bamboo.<//><b>Effect:</b><.>Produces 90 pandas per second.
  110. icon:icons[3,4]
  111. cost:20000 pandas
  112. on tick:yield 90 pandas
  113. req:20000 pandas:earned
  114.  
  115. *village|villages
  116. name:Panda village|Panda villages
  117. desc:Your pandas are building their own villages now!<//><b>Effect:</b><.>Produces 300 pandas per second.
  118. icon:icons[3,5]
  119. cost:200000 pandas, 1 goldenPanda
  120. on tick:yield 300 pandas
  121. req:200000 pandas:earned and independenceDay
  122.  
  123. *city|cities
  124. name:Panda city|Panda cities
  125. desc:A bustling little city, populated with busy pandas.<//><b>Effect:</b><.>Produces 1000 pandas per second.
  126. icon:icons[3,6]
  127. cost:3000000 pandas, 4 goldenPandas
  128. on tick:yield 1000 pandas
  129. req:3000000 pandas:earned and independenceDay
  130.  
  131. *citadel|citadels
  132. name:Moon citadel|Moon citadels
  133. desc:An ornate palace standing on the moon, ruled by panda chancellors and staffed with Chazz Army Royal Guards.<//><b>Effect:</b><.>Produces 4000 pandas per second.
  134. icon:icons[3,7]
  135. cost:70000000 pandas, 16 goldenPandas
  136. on tick:yield 4000 pandas
  137. on tick:if (have moonGardens) yield 0.01 goldenPanda
  138. req:70000000 pandas:earned and independenceDay
  139.  
  140. *fortress
  141. name:Freedom fortress
  142. text:Freedom fortress ([this]%)
  143. desc:A huge panda lair. A monument to the adventurous spirit of pandakind, which will take time and effort to complete.<//><b>The fortress is [this]% complete.</b>
  144. icon:icons[3,8]
  145. cost:300000000 pandas, 100 goldenPandas
  146. req:70000000 pandas:earned and independenceDay
  147. limit:100
  148. cost increase:105%
  149.  
  150. Upgrades
  151. *TEMPLATE
  152. on click:anim glow
  153.  
  154. //food upgrades
  155. //inspiration : https://www.chinahighlights.com/giant-panda/giantpanda-diet.htm
  156.  
  157.  
  158. *bamboo
  159. name:bamboo
  160. desc:The quintessential panda food! Crunchy, green, long, and perfect.<//><b>Effect:</b><.>pandas/click x2<.>panda production +10%
  161. icon:https://clipground.com/images/bamboo-clipart-5.jpg
  162. cost:100000000 pandas
  163. passive:multiply panda yield of pandaButton by 2
  164. passive:multiply yield of pandas by 1.1
  165. req:1000000 pandas:earned
  166.  
  167. //building upgrades
  168.  
  169. *buildingUpgrade1
  170. name:Sippy bottles
  171. desc:Your pandas can drink their fill!<//><b>Effect:</b><.>panda cage production x2<.>panda hutch production x2<.>panda coop production x2
  172. icon:icons[2,0] icons[3,0]
  173. cost:1000 pandas
  174. passive:multiply yield of cage by 2
  175. passive:multiply yield of hutch by 2
  176. passive:multiply yield of coop by 2
  177. req:(cages>=10 or hutches>=10 or coops>=10)
  178.  
  179. *buildingUpgrade2
  180. name:Prime grade hay
  181. desc:Not just for horses anymore!<//><b>Effect:</b><.>panda cage production x2<.>panda hutch production x2<.>panda coop production x2
  182. icon:icons[2,0] icons[3,1]
  183. cost:100000 pandas
  184. passive:multiply yield of cage by 2
  185. passive:multiply yield of hutch by 2
  186. passive:multiply yield of coop by 2
  187. req:(cages>=50 or hutches>=50 or coops>=50)
  188.  
  189. *buildingUpgrade3
  190. name:Shredded newspapers
  191. desc:You'd think they just poop on these, but they really enjoy reading the Sunday comics.<//><b>Effect:</b><.>panda cage production x2<.>panda hutch production x2<.>panda coop production x2
  192. icon:icons[2,0] icons[3,2]
  193. cost:5000000 panda
  194. passive:multiply yield of cage by 2
  195. passive:multiply yield of hutch by 2
  196. passive:multiply yield of coop by 2
  197. req:(cages>=100 or hutches>=100 or coops>=100)
  198.  
  199. *buildingUpgrade4
  200. name:Pretty fences
  201. desc:Just the right size so your pandas can peek through but not climp over!<//><b>Effect:</b><.>panda pen production x2<.>panda meadow production x2
  202. icon:icons[2,0] icons[3,3]
  203. cost:50000 pandass
  204. passive:multiply yield of pen by 2
  205. passive:multiply yield of meadow by 2
  206. req:(pens>=10 or meadows>=10)
  207.  
  208. *buildingUpgrade5
  209. name:Panda playground
  210. desc:If your pandas are outside, they might as well get some exercise!<//><b>Effect:</b><.>panda pen production x2<.>panda meadow production x2
  211. icon:icons[2,0] icons[3,4]
  212. cost:5000000 panda
  213. passive:multiply yield of pen by 2
  214. passive:multiply yield of meadow by 2
  215. req:(pens>=50 or meadows>=50)
  216.  
  217. *buildingUpgrade6
  218. name:Panda TVs
  219. desc:Televisions that broadcast panda cartoons, funny sitcoms, and Chazz Woodson's Mayoral Campaigns!.<//><b>Effect:</b><.>panda village production x2<.>panda city production x2
  220. icon:icons[2,0] icons[3,5]
  221. cost:1000000 pandas
  222. passive:multiply yield of village by 2
  223. passive:multiply yield of city by 2
  224. req:(villages>=10 or cities>=10)
  225.  
  226. *buildingUpgrade7
  227. name:Wee little panda cars
  228. desc:Your pandas drive around in these. How nice!<//><b>Effect:</b><.>panda village production x2<.>panda city production x2
  229. icon:icons[2,0] icons[3,6]
  230. cost:500000000 pandas
  231. passive:multiply yield of village by 2
  232. passive:multiply yield of city by 2
  233. req:(villages>=50 or cities>=50)
  234.  
  235. *buildingUpgrade8
  236. name:Soothing moon crystals
  237. desc:Just really nice to be around.<//><b>Effect:</b><.>moon citadel production x2
  238. icon:icons[2,0] icons[3,7]
  239. cost:1000000000 pandas
  240. passive:multiply yield of citadel by 2
  241. req:10 citadels
  242.  
  243. //golden panda upgrades
  244.  
  245. *goldenTouch
  246. name:Golden touch
  247. desc:The delicate art of finding pandas made of precious metals.<//><b>Effect:</b><.>1% chance of gaining 1 golden panda per panda click
  248. icon:https://comps.canstockphoto.com/golden-thumbs-up-clipart_csp1817471.jpg
  249. cost:1 goldenPanda
  250. req:1 goldenPanda:earned
  251.  
  252. *pandaHaste
  253. name:Panda's haste
  254. desc:I'm late! I'm late! For a very important date!<//><b>Effect:</b><.>lucky pandas appear 30% more often
  255. icon:https://s-media-cache-ak0.pinimg.com/736x/7a/42/2d/7a422d31bb8973bc7fd61f344fe18282.jpg
  256. passive:multiply frequency of luckypanda by 0.7
  257. cost:5 goldenPandas
  258. req:1 goldenPanda:earned
  259.  
  260. *independenceDay
  261. name:Independence day
  262. desc:Your pandas are making their first step towards declaring their independence from the oppressive shackles of pens and cages.<//><b>Effect:</b><.>unlocks new buildings
  263. icon:icons[2,7]
  264. cost:10 goldenPandas
  265. req:5 goldenPandas:earned
  266.  
  267. *clover
  268. name:Clover
  269. desc:A delicious herb that tastes lucky.<//><b>Effect:</b><.>lucky panda effects are 4 times more powerful
  270. icon:icons[2,8]
  271. cost:100 goldenPanda
  272. req:50 goldenPandas:earned
  273.  
  274. *moonGardens
  275. name:Moon gardens
  276. desc:The royal botanists in your moon citadels have found new ways of cultivating plants in reduced gravity!<//><b>Effect:</b><.>moon citadels now produce 1 golden panda every 100 seconds
  277. icon:icons[2,9]
  278. cost:100 goldenPandas
  279. req:50 goldenPandas:earned
  280.  
  281. Achievements
  282. *TEMPLATE
  283. on click:anim glow
  284.  
  285. *pandaAchiev1
  286. name:Crawl panda crawl
  287. desc:Have <b>1</b> panda.
  288. req:1 panda
  289. icon:icons[2,4] icons[0,2] icons[0,6]
  290. *pandaAchiev2
  291. name:Funniest home videos
  292. desc:Have <b>1000</b> pandas.
  293. req:1000 pandas
  294. icon:icons[2,4] icons[0,3] icons[0,6]
  295. *pandaAchiev3
  296. name:You got buns, hun
  297. desc:Have <b>1000000</b> pandas.
  298. req:10000000 pandas
  299. icon:icons[2,4] icons[0,4] icons[0,6]
  300.  
  301. *clickAchiev1
  302. name:That tickles
  303. desc:Click the panda <b>10</b> times.
  304. req:10 pandaButton clicks
  305. icon:icons[2,2] icons[0,2] icons[0,6]
  306. *clickAchiev2
  307. name:Don't squeeze me I'll fart
  308. desc:Click the panda <b>100</b> times.
  309. req:100 pandaButton clicks
  310. icon:icons[2,2] icons[0,3] icons[0,6]
  311. *clickAchiev3
  312. name:You're cruising for a bruising, dude
  313. desc:Click the panda <b>2000</b> times.
  314. req:2000 pandaButton clicks
  315. icon:icons[2,2] icons[0,4] icons[0,6]
  316.  
  317. *bunnyPsAchiev1
  318. name:Be vewy vewy quiet
  319. desc:Produce <b>10</b> bunnies per second.
  320. req:10 bunnies per second
  321. icon:icons[2,3] icons[0,2] icons[0,6]
  322. *bunnyPsAchiev2
  323. name:Hop and a skip
  324. desc:Produce <b>1000</b> bunnies per second.
  325. req:1000 bunnies per second
  326. icon:icons[2,3] icons[0,3] icons[0,6]
  327. *pandaPsAchiev3
  328. name:Go forth and multiply
  329. desc:Produce <b>100000</b> pandas per second.
  330. req:100000 pandas per second
  331. icon:icons[2,3] icons[0,4] icons[0,6]
  332.  
  333. *bambooAchiev1
  334. name:Isn't it neat
  335. desc:Have <b>1</b> golden panda.
  336. req:1 goldenPanda
  337. icon:icons[0,1] icons[0,2]
  338. *bambooAchiev2
  339. name:All that glitters
  340. desc:Have <b>100</b> golden pandas.
  341. req:100 goldenPanda
  342. icon:icons[0,1] icons[0,3]
  343. *pandaAchiev3
  344. name:Zero nutritional value
  345. desc:Have <b>1000</b> golden pandas.
  346. req:1000 goldenPanda
  347. icon:icons[0,1] icons[0,4]
  348.  
  349. *fortressAchie
  350. name:Freedom!
  351. desc:Complete building the <b>freedom fortress</b>.<//>This is it. You beat the game!
  352. req:100 fortress
  353. icon:icons[3,8] icons[0,4]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement