Advertisement
thomthorn

my game not done

Nov 8th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.32 KB | None | 0 0
  1. Let's make a game!
  2. name:Pencil Clicker
  3. by:Me
  4. desc:This is a simple idle game to showcase some of the basic functionalities of Idle Game Maker.<//>Make Pencils 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:115%
  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. *bunnyButton
  21. name:Make a pencil
  22. desc:Click this little pencil to get more pencils!
  23. on click:anim icon wobble
  24. on click:yield 1 pencil
  25. on click:if (have rainbowTouch and chance(1%)) yield 1 colorPencil
  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.  
  33. Resources
  34. *pencil|pencils
  35. name:Pencil|Pencils
  36. desc:These are your Pencils. You can use them to purchase things. Your goal is to have as many pencils as possible!
  37. icon:icons[0,0]
  38. class:noBackground
  39. show earned
  40.  
  41. *colorPencil|colorPencils
  42. name:Color Pencil|Color pencils
  43. desc:These color pencils are terribly rare, terribly precious and terribly colorful!
  44. icon:icons[0,1]
  45. class:noBackground
  46. hidden when 0
  47.  
  48. Shinies
  49. *luckyPencil
  50. on click:log Woop
  51. movement:onRight moveLeft fade bounce:0.05
  52. frequency:60
  53. frequency variation:30
  54. icon:stuff/luckyBunny.png
  55. class:bigButton
  56. on click:
  57. $boost=1
  58. if (chance(25%))
  59. //get at least 7, or between 1 and 3 minutes of our bunny production
  60. $amount=max(7,random(pencils:ps*60*1,pencils:ps*60*3))*$boost
  61. toast The lucky pencil grants you<//><b>[$amount] pencils</b>.
  62. yield $amount pencils
  63. else
  64. $amount=1*$boost
  65. toast The lucky pencil grants you<//><b>[$amount] color pencil[s?$amount]</b>!
  66. yield $amount colorPencil
  67. end
  68. end
  69.  
  70. Buildings
  71. *TEMPLATE
  72. on click:anim glow
  73.  
  74. *cage|cages
  75. name:Pencil cursor|Pencil cursors
  76. desc:A tiny little pencil.<//><b>Effect:</b><.>Produces 1 pencil every 10 seconds.
  77. icon:icons[3,0]
  78. cost:15 pencils
  79. on tick:yield 0.1 pencil
  80. unlocked
  81.  
  82. *hutch|hutches
  83. name:Old man|Old men
  84. desc:Old and tired, but not too tired to make pencils.<//><b>Effect:</b><.>Produces 1 pencil every 2 seconds.
  85. icon:icons[3,1]
  86. cost:100 pencils
  87. on tick:yield 0.5 pencils
  88. req:100 pencils:earned
  89.  
  90. *coop|coops
  91. name:Lead tree|Lead trees
  92. desc:Produces lead and wood.<//><b>Effect:</b><.>Produces 5 pencils per second.
  93. icon:icons[3,2]
  94. cost:600 pencils
  95. on tick:yield 5 pencils
  96. req:600 pencils:earned
  97.  
  98. *pen|pens
  99. name:Pencil factory|Pencil factories
  100. desc:A dark facility devoted to making pencils.<//><b>Effect:</b><.>Produces 12 pencils per second.
  101. icon:icons[3,3]
  102. cost:4000 pencils
  103. on tick:yield 12 pencils
  104. req:4000 pencils:earned
  105.  
  106. *meadow|meadows
  107. name:Pencil shrine|Pencil shrines
  108. desc:Requires blood, but I think it’s worth it.<//><b>Effect:</b><.>Produces 90 pencils per second.
  109. icon:icons[3,4]
  110. cost:20000 pencils
  111. on tick:yield 90 pencils
  112. req:20000 pencils:earned
  113.  
  114. *village|villages
  115. name:Magic marker|Magic markers
  116. desc:Uses ancient magic to make pencils.<//><b>Effect:</b><.>Produces 300 pencils per second.
  117. icon:icons[3,5]
  118. cost:200000 pencils, 1 colorPencil
  119. on tick:yield 300 pencils
  120. req:200000 pencils:earned and independenceDay
  121.  
  122. *city|cities
  123. name:Black magic marker|Black magic markers
  124. desc:Uses forbidden dark magic to produce many many pencils.<//><b>Effect:</b><.>Produces 1000 pencils per second.
  125. icon:icons[3,6]
  126. cost:3000000 pencils, 4 colorPencil
  127. on tick:yield 1000 pencils
  128. req:3000000 pencils:earned and independenceDay
  129.  
  130. *citadel|citadels
  131. name:Pencil planet|Pencil planets
  132. desc:An entire planet devoted to furthering your pencil empire. However, show them no gratitude.<//><b>Effect:</b><.>Produces 4000 rabbits per second.
  133. icon:icons[3,7]
  134. cost:70000000 pencils, 16 colorPencils
  135. on tick:yield 4000 pencils
  136. on tick:if (have rainbowFactories) yield 0.01 colorPencil
  137. req:70000000 pencils:earned and independenceDay
  138.  
  139. *enchantmenttower
  140. name:Enchantment tower
  141. text:Enchantment tower ([this]%)
  142. desc:A tower to enchant the pencils and make them sentient. This may get out of hand. You have been warned.<//><b>The tower is [this]% complete.</b>
  143. icon:icons[3,8]
  144. cost:300000000 pencils, 100 colorPencils
  145. req:70000000 pencils:earned and independenceDay
  146. limit:100
  147. cost increase:105%
  148.  
  149. Upgrades
  150. *TEMPLATE
  151. on click:anim glow
  152.  
  153. //food upgrades
  154. //inspiration : http://rabbit.org/suggested-vegetables-and-fruits-for-a-rabbit-diet/
  155.  
  156. *parsley
  157. name:Eraser
  158. desc:Just incase you change your mind.<//><b>Effect:</b><.>+1 pencil/click
  159. icon:icons[1,1]
  160. cost:100 pencils
  161. passive:increase pencil yield of bunnyButton by 1
  162. req:10 pencils:earned
  163.  
  164. *spinach
  165. name:Eraserholder
  166. desc:Who said it would stay on the pencil by itself?.<//><b>Effect:</b><.>+1 pencil/click
  167. icon:icons[1,2]
  168. cost:200 pencils
  169. passive:increase pencil yield of bunnyButton by 1
  170. req:50 pencils:earned
  171.  
  172. *lettuce
  173. name:Dullknife
  174. desc:Has sharpened a few too many pencils.<//><b>Effect:</b><.>+1 pencil/click
  175. icon:icons[1,3]
  176. cost:400 pencils
  177. passive:increase pencil yield of bunnyButton by 1
  178. req:200 pencils:earned
  179.  
  180. *broccoli
  181. name:Sharpknife
  182. desc:Use with care.<//><b>Effect:</b><.>pencil/click x2<.>pencil production +5%
  183. icon:icons[1,4]
  184. cost:3000 pencils
  185. passive:multiply pencil yield of bunnyButton by 2
  186. passive:multiply yield of pencils by 1.05
  187. req:1000 pencils:earned
  188.  
  189. *apple
  190. name:Sharpener
  191. desc:Definitely not for your pinky finger.<//><b>Effect:</b><.>pencils/click x1.5<.>pencil production +5%
  192. icon:icons[1,5]
  193. cost:10000 pencils
  194. passive:multiply pencil yield of bunnyButton by 1.5
  195. passive:multiply yield of pencils by 1.05
  196. req:1000 pencils:earned
  197.  
  198. *radish
  199. name:Yellowpaint
  200. desc:Exciting.<//><b>Effect:</b><.>pencils/click x1.5<.>pencil production +5%
  201. icon:icons[1,6]
  202. cost:50000 pencils
  203. passive:multiply pencil yield of bunnyButton by 1.5
  204. passive:multiply yield of pencils by 1.05
  205. req:10000 pencils:earned
  206.  
  207. *mint
  208. name:Orangepaint
  209. desc:Very exciting.<//><b>Effect:</b><.>pencils/click x1.5<.>pencil production +5%
  210. icon:icons[1,7]
  211. cost:100000 pencils
  212. passive:multiply pencil yield of bunnyButton by 1.5
  213. passive:multiply yield of pencils by 1.05
  214. req:50000 pencils:earned
  215.  
  216. *chard
  217. name:Bluepaint
  218. desc:Yes, very very exciting.<//><b>Effect:</b><.>pencils/click x1.5<.>pencil production +5%
  219. icon:icons[1,8]
  220. cost:500000 pencils
  221. passive:multiply pencil yield of bunnyButton by 1.5
  222. passive:multiply yield of pencils by 1.05
  223. req:100000 pencils:earned
  224.  
  225. *cherry
  226. name:Blackpaint
  227. desc:Yes, very exciting in a dark way.<//><b>Effect:</b><.>pencils/click x1.5<.>pencil production +5%
  228. icon:icons[1,9]
  229. cost:1000000 pencils
  230. passive:multiply pencil yield of bunnyButton by 1.5
  231. passive:multiply yield of pencils by 1.05
  232. req:500000 pencils:earned
  233.  
  234. *carrot
  235. name:Goldpaint
  236. desc:Yes, extremely exiting in many more ways than one, sir.<//><b>Effect:</b><.>pencils/click x2<.>pencil production +10%
  237. icon:icons[1,0]
  238. cost:100000000 pencils
  239. passive:multiply pencil yield of bunnyButton by 2
  240. passive:multiply yield of pencils by 1.1
  241. req:1000000 pencils:earned
  242.  
  243. //building upgrades
  244.  
  245. *buildingUpgrade1
  246. name:Sippy bottles
  247. desc:Your bunnies can drink their fill!<//><b>Effect:</b><.>rabbit cage production x2<.>rabbit hutch production x2<.>rabbit coop production x2
  248. icon:icons[2,0] icons[3,0]
  249. cost:1000 bunnies
  250. passive:multiply yield of cage by 2
  251. passive:multiply yield of hutch by 2
  252. passive:multiply yield of coop by 2
  253. req:(cages>=10 or hutches>=10 or coops>=10)
  254.  
  255. *buildingUpgrade2
  256. name:Prime grade hay
  257. desc:Not just for horses anymore!<//><b>Effect:</b><.>rabbit cage production x2<.>rabbit hutch production x2<.>rabbit coop production x2
  258. icon:icons[2,0] icons[3,1]
  259. cost:100000 bunnies
  260. passive:multiply yield of cage by 2
  261. passive:multiply yield of hutch by 2
  262. passive:multiply yield of coop by 2
  263. req:(cages>=50 or hutches>=50 or coops>=50)
  264.  
  265. *buildingUpgrade3
  266. name:Shredded newspapers
  267. desc:You'd think they just poop on these, but they really enjoy reading the Sunday comics.<//><b>Effect:</b><.>rabbit cage production x2<.>rabbit hutch production x2<.>rabbit coop production x2
  268. icon:icons[2,0] icons[3,2]
  269. cost:5000000 bunnies
  270. passive:multiply yield of cage by 2
  271. passive:multiply yield of hutch by 2
  272. passive:multiply yield of coop by 2
  273. req:(cages>=100 or hutches>=100 or coops>=100)
  274.  
  275. *buildingUpgrade4
  276. name:Pretty fences
  277. desc:Just the right size so your bunnies can peek through but not hop over!<//><b>Effect:</b><.>rabbit pen production x2<.>rabbit meadow production x2
  278. icon:icons[2,0] icons[3,3]
  279. cost:50000 bunnies
  280. passive:multiply yield of pen by 2
  281. passive:multiply yield of meadow by 2
  282. req:(pens>=10 or meadows>=10)
  283.  
  284. *buildingUpgrade5
  285. name:Bunny playground
  286. desc:If your bunnies are outside, they might as well get some exercise!<//><b>Effect:</b><.>rabbit pen production x2<.>rabbit meadow production x2
  287. icon:icons[2,0] icons[3,4]
  288. cost:5000000 bunnies
  289. passive:multiply yield of pen by 2
  290. passive:multiply yield of meadow by 2
  291. req:(pens>=50 or meadows>=50)
  292.  
  293. *buildingUpgrade6
  294. name:Bunny TVs
  295. desc:Televisions that broadcast bunny cartoons, bunny sitcoms, and bunny news bulletins.<//><b>Effect:</b><.>rabbit village production x2<.>rabbit city production x2
  296. icon:icons[2,0] icons[3,5]
  297. cost:1000000 bunnies
  298. passive:multiply yield of village by 2
  299. passive:multiply yield of city by 2
  300. req:(villages>=10 or cities>=10)
  301.  
  302. *buildingUpgrade7
  303. name:Wee little bunny cars
  304. desc:Your bunnies drive around in these. How nice!<//><b>Effect:</b><.>rabbit village production x2<.>rabbit city production x2
  305. icon:icons[2,0] icons[3,6]
  306. cost:500000000 bunnies
  307. passive:multiply yield of village by 2
  308. passive:multiply yield of city by 2
  309. req:(villages>=50 or cities>=50)
  310.  
  311. *buildingUpgrade8
  312. name:Soothing moon crystals
  313. desc:Just really nice to be around.<//><b>Effect:</b><.>moon citadel production x2
  314. icon:icons[2,0] icons[3,7]
  315. cost:1000000000 bunnies
  316. passive:multiply yield of citadel by 2
  317. req:10 citadels
  318.  
  319. //golden carrot upgrades
  320.  
  321. *rainbowTouch
  322. name:Rainbow touch
  323. desc:The heat produced by your hand is transformed into rainbows and shot onto pencils.<//><b>Effect:</b><.>1% chance of gaining 1 colorPencil per bunny click
  324. icon:icons[2,5]
  325. cost:1 colorPencil
  326. req:1 colorPencil:earned
  327.  
  328. *rabbitHaste
  329. name:Pencil haste
  330. desc:I'm late! I'm late! For a very important date!<//><b>Effect:</b><.>colorPencils appear 30% more often
  331. icon:icons[2,6]
  332. passive:multiply frequency of colorPencil by 0.7
  333. cost:5 colorPencils
  334. req:1 colorPencils:earned
  335.  
  336. *independenceDay
  337. name:Independence day
  338. desc:Your sentient pencils are gaining an army. Pray they don't turn against you.<//><b>Effect:</b><.>unlocks new buildings
  339. icon:icons[2,7]
  340. cost:10 colorPencils
  341. req:5 colorPencils:earned
  342.  
  343. *rainbowFactories
  344. name:Rainbow Factories
  345. desc:Giant prisms allow a constant production of color pencils!<//><b>Effect:</b><.>moon citadels now produce 1 colorPencil every 100 seconds
  346. icon:icons[2,9]
  347. cost:100 colorPencils
  348. req:50 colorPencils:earned
  349.  
  350. Achievements
  351. *TEMPLATE
  352. on click:anim glow
  353.  
  354. *pencilAchiev1
  355. name:Your number 2 fan
  356. desc:Have <b>2</b> pencils.
  357. req:2 pencils
  358. icon:icons[2,4] icons[0,2] icons[0,6]
  359. *pencilAchiev2
  360. name:Good point.
  361. desc:Have <b>1000</b> pencils.
  362. req:1000 pencils
  363. icon:icons[2,4] icons[0,3] icons[0,6]
  364. *pencilAchiev3
  365. name:Lets call it a draw.
  366. desc:Have <b>1000000</b> pencils.
  367. req:10000000 pencils
  368. icon:icons[2,4] icons[0,4] icons[0,6]
  369.  
  370. *clickAchiev1
  371. name:Dull puns
  372. desc:Click the pencil <b>10</b> times.
  373. req:10 bunnyButton clicks
  374. icon:icons[2,2] icons[0,2] icons[0,6]
  375. *clickAchiev2
  376. name:Putting pencil to paper
  377. desc:Click the pencil <b>100</b> times.
  378. req:100 bunnyButton clicks
  379. icon:icons[2,2] icons[0,3] icons[0,6]
  380. *clickAchiev3
  381. name:Did you realize this whole thing is pointless?
  382. desc:Click the pencil <b>2000</b> times.
  383. req:2000 bunnyButton clicks
  384. icon:icons[2,2] icons[0,4] icons[0,6]
  385.  
  386. *pencilPsAchiev1
  387. name:Dot
  388. desc:Produce <b>10</b> pencils per second.
  389. req:10 pencils per second
  390. icon:icons[2,3] icons[0,2] icons[0,6]
  391. *pencilPsAchiev2
  392. name:Dot-Dot
  393. desc:Produce <b>1000</b> pencils per second.
  394. req:1000 pencils per second
  395. icon:icons[2,3] icons[0,3] icons[0,6]
  396. *pencilPsAchiev3
  397. name:Scribbles
  398. desc:Produce <b>100000</b> pencils per second.
  399. req:100000 pencils per second
  400. icon:icons[2,3] icons[0,4] icons[0,6]
  401.  
  402. *cpAchiev1
  403. name:Isn't it neat
  404. desc:Have <b>1</b> colorPencil.
  405. req:1 colorPencil
  406. icon:icons[0,1] icons[0,2]
  407. *cpAchiev2
  408. name:Full rainbow
  409. desc:Have <b>100</b> colorPencils.
  410. req:100 colorPencils
  411. icon:icons[0,1] icons[0,3]
  412. *carrotAchiev3
  413. name:Realism
  414. desc:Have <b>1000</b> colorPencils.
  415. req:1000 colorPencils
  416. icon:icons[0,1] icons[0,4]
  417.  
  418. *fortressAchiev
  419. name:Freedom!
  420. desc:Complete building the <b>enchantment tower</b>.<//>This is it. You beat the game!
  421. req:100 enchantmenttower
  422. icon:icons[3,8] icons[0,4]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement