Advertisement
Ematio

Bullet Clicker

Apr 25th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.11 KB | None | 0 0
  1. Let's make a game!
  2. name:Bullet Clicker
  3. by:Ematio
  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:https://cdn.athlonoutdoors.com/wp-content/uploads/sites/8/2013/03/8347107651_4dd505a1ba_b.jpg
  11. building cost increase:120%
  12. building cost refund:60%
  13. spritesheet:icons, 48 by 48, https://s19.postimg.cc/88juobilv/Bullet_sprites_NEW.png
  14. stylesheet:stuff/bigBlue.css
  15.  
  16. Layout
  17. use default
  18.  
  19. Buttons
  20. *bulletButton
  21. name:Craft a bullet
  22. desc:Activate this machine to create more bullets!
  23. on click:anim icon wobble
  24. on click:yield 1 bullet
  25. on click:if (have goldenTouch and chance(1%)) yield 1 goldenBullet
  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. *bullet|bullets
  35. name:Bullet|Bullets
  36. desc:This is your bullet stash. You can use them to purchase or shoot things. Store up as many bullets as possible!
  37. icon:icons[0,0]
  38. class:noBackground
  39. show earned
  40.  
  41. *goldenBullet|goldenBullets
  42. name:Golden bullet|Golden bullets
  43. desc:These solid gold bullets are rare malfunctions of the bullet machine! They don't work, but they look cool!
  44. icon:icons[0,1]
  45. class:noBackground
  46. hidden when 0
  47.  
  48. Shinies
  49. *luckyBullet
  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 (have sentience) $boost=4
  59. if (chance(25%))
  60. //get at least 7, or between 1 and 3 minutes of our bullet production
  61. $amount=max(7,random(bullets:ps*60*1,bullets:ps*60*3))*$boost
  62. toast The lucky bullet grants you<//><b>[$amount] bullets</b>.
  63. yield $amount bullets
  64. else
  65. $amount=1*$boost
  66. toast The lucky bullet grants you<//><b>[$amount] golden bullet[s?$amount]</b>!
  67. yield $amount goldenBullet
  68. end
  69. end
  70.  
  71. Buildings
  72. *TEMPLATE
  73. on click:anim glow
  74.  
  75. *press|presses
  76. name:Hand press|Hand presses
  77. desc:You gotta start somewhere.<//><b>Effect:</b><.>Produces 1 bullet every 10 seconds.
  78. icon:icons[1,0]
  79. cost:15 bullets
  80. on tick:yield 0.1 bullet
  81. unlocked
  82.  
  83. *grandpa|grandpas
  84. name:Grandpa|Grandpas
  85. desc:They might be slow, but someone's gotta help with this. Employ your grandpa!<//><b>Effect:</b><.>Produces 1 bullet every 2 seconds.
  86. icon:icons[2,0]
  87. cost:100 bullets
  88. on tick:yield 0.5 bullets
  89. req:80 bullets:earned
  90.  
  91. *farm|farms
  92. name:Bullet farm|Bullet farms
  93. desc:These things don't grow on trees you know! They're more like potatoes...<//><b>Effect:</b><.>Produces 5 bullets per second.
  94. icon:icons[3,0]
  95. cost:600 bullets
  96. on tick:yield 5 bullets
  97. req:600 bullets:earned
  98.  
  99. *owner|owners
  100. name:Gun Owner|Gun Owners
  101. desc:These guys know what they're doing!<//><b>Effect:</b><.>Produces 12 bullets per second.
  102. icon:icons[4,0]
  103. cost:4000 bullets
  104. on tick:yield 12 bullets
  105. req:4000 bullets:earned
  106.  
  107. *machine|machines
  108. name:Bullet Machine|Bullet Machines
  109. desc:Takes bullets to make bullets!<//><b>Effect:</b><.>Produces 90 bullets per second.
  110. icon:icons[5,0]
  111. cost:20000 bullets
  112. on tick:yield 90 bullets
  113. req:20000 bullets:earned
  114.  
  115. *factory|factories
  116. name:Bullet factory|Bullet factories
  117. desc:Now you've got a factory! What next?<//><b>Effect:</b><.>Produces 300 bullets per second.
  118. icon:icons[3,5]
  119. cost:200000 bullets, 1 goldenBullet
  120. on tick:yield 300 bullets
  121. req:200000 bullets:earned
  122.  
  123. *living|livings
  124. name:Living bullet|Living bullets
  125. desc:You see son, when a mommy bullet and a daddy bullet love each other very much...<//><b>Effect:</b><.>Produces 1000 bullets per second.
  126. icon:icons[3,6]
  127. cost:3000000 bullets, 4 goldenBullets
  128. on tick:yield 1000 bullets
  129. req:3000000 bullets:earned and munitionsMagic
  130.  
  131. *reversegun|reverseguns
  132. name:Reverse gun|Reverse guns
  133. desc:These guns put the bullets together instead of taking them apart!<//><b>Effect:</b><.>Produces 4000 bullets per second.
  134. icon:icons[3,7]
  135. cost:70000000 bullets, 16 goldenBullets
  136. on tick:yield 4000 bullets
  137. on tick:if (have bulletology) yield 0.01 goldenBullets
  138. req:70000000 bullets:earned and munitionsMagic
  139. *quantum|quantums
  140. name:Quantum bullet|Quantum bullets
  141. desc:Don't even ask. What do I look like, a rocket surgeon?<//><b>Effect:</b><.>Produces 16000 bullets per second.
  142. icon:icons[3,8]
  143. cost:150000000 bullets, 64 goldenBullets
  144. on tick:yield 16000 bullets
  145. on tick:if (have bulletology) yield 0.01 goldenBullets
  146. req:100000000 bullets:earned and munitionsMagic
  147.  
  148. *megabullet
  149. name:Megabullet
  150. text:Megabullet ([this]%)
  151. desc:One bullet to rule them all. Capable of creating a black hole wherever it hit. This one's gonna take a while<//><b>The fortress is [this]% complete.</b>
  152. icon:icons[3,9]
  153. cost:200000000 bullets, 100 goldenBullets
  154. req:150000000 bullets:earned and munitionsMagic
  155. limit:100
  156. cost increase:105%
  157.  
  158. Upgrades
  159. *TEMPLATE
  160. on click:anim glow
  161.  
  162. //food upgrades
  163. //inspiration : http://rabbit.org/suggested-vegetables-and-fruits-for-a-rabbit-diet/
  164.  
  165. *roundshot
  166. name:Round Shot
  167. desc:The basic bullet. You probably should've read a book before making bullets.<//><b>Effect:</b><.>+1 bullet/click
  168. icon:icons[0,2]
  169. cost:100 bullets
  170. passive:increase bullet yield of bulletButton by 1
  171. req:10 bullets:earned
  172.  
  173. *miniball
  174. name:Minié Ball
  175. desc:A more accurate version of round shot. Sounds like it'd be tiny.<//><b>Effect:</b><.>+1 bullet/click
  176. icon:icons[0,3]
  177. cost:200 bullets
  178. passive:increase bullet yield of bulletButton by 1
  179. req:50 bullets:earned
  180.  
  181. *copperjacket
  182. name:Copper Jacket
  183. desc:A nice jacket so your bullets don't melt mid-flight.<//><b>Effect:</b><.>+1 bullet/click
  184. icon:icons[0,4]
  185. cost:400 bullets
  186. passive:increase bullets yield of bulletButton by 1
  187. req:200 bullets:earned
  188.  
  189. *spitzer
  190. name:Spitzer Bullets
  191. desc:Super pointy! Less resistance!<//><b>Effect:</b><.>bullets/click x2<.>bullet production +5%
  192. icon:icons[0,5]
  193. cost:3000 bullets
  194. passive:multiply bullet yield of bulletButton by 2
  195. passive:multiply yield of bullet by 1.05
  196. req:1000 bullets:earned
  197.  
  198. *ballistictip
  199. name:Ballistic Tip
  200. desc:Hollow point without all the air resistance!<//><b>Effect:</b><.>bullets/click x1.5<.>bullet production +5%
  201. icon:icons[0,6]
  202. cost:10000 bullets
  203. passive:multiply bullet yield of bulletButton by 1.5
  204. passive:multiply yield of bullet by 1.05
  205. req:1000 bullets:earned
  206.  
  207. *fmj
  208. name:Full metal jacket
  209. desc:An even better jacket to go with your shoes.<//><b>Effect:</b><.>bullets/click x1.5<.>bullet production +5%
  210. icon:icons[0,7]
  211. cost:50000 bullets
  212. passive:multiply bullet yield of bulletButton by 1.5
  213. passive:multiply yield of bullets by 1.05
  214. req:10000 bullets:earned
  215.  
  216. *incendiary
  217. name:Incendiary bullets
  218. desc:Good for burning your house down.<//><b>Effect:</b><.>bullets/click x1.5<.>bullet production +5%
  219. icon:icons[0,8]
  220. cost:100000 bullets
  221. passive:multiply bullet yield of bulletButton by 1.5
  222. passive:multiply yield of bullets by 1.05
  223. req:50000 bullets:earned
  224.  
  225. *explosive
  226. name:Explosive bullets
  227. desc:KA-BOOM!<//><b>Effect:</b><.>bullets/click x1.5<.>bullet production +5%
  228. icon:icons[0,9]
  229. cost:500000 bullets
  230. passive:multiply bullet yield of bulletButton by 1.5
  231. passive:multiply yield of bullets by 1.05
  232. req:100000 bullets:earned
  233.  
  234. *diamond
  235. name:Diamond bullets
  236. desc:They said it wouldn't work. You'll show them wrong.<//><b>Effect:</b><.>bullets/click x1.5<.>bullet production +5%
  237. icon:icons[0,10]
  238. cost:1000000 bullets
  239. passive:multiply bullet yield of bulletButton by 1.5
  240. passive:multiply yield of bullets by 1.05
  241. req:500000 bullets:earned
  242.  
  243. *highdensity
  244. name:High density bullets
  245. desc:These bullets weigh as much as the moon! It's crazy how they don't drop in 2 feet!<//><b>Effect:</b><.>bullets/click x2<.>bullet production +10%
  246. icon:icons[0,11]
  247. cost:50000000 bullets
  248. passive:multiply bullet yield of bulletButton by 2
  249. passive:multiply yield of bullets by 1.1
  250. req:1000000 bullets:earned
  251.  
  252. *ultradensity
  253. name:Ultra high density bullets
  254. desc:Made of the same stuff as Thor's Hammer!<//><b>Effect:</b><.>bullets/click x2<.>bullet production +10%
  255. icon:icons[1,0]
  256. cost:100000000 bullets
  257. passive:multiply bullet yield of bulletButton by 2
  258. passive:multiply yield of bullets by 1.1
  259. req:50000000 bullets:earned
  260.  
  261. //building upgrades
  262.  
  263. *buildingUpgrade1
  264. name:Smokeless powder
  265. desc:Now you can see!<//><b>Effect:</b><.>bullet press production x2<.>bullet grandpa production x2<.>bullet farm production x2
  266. icon:icons[2,0] icons[3,0]
  267. cost:1000 bullets
  268. passive:multiply yield of press by 2
  269. passive:multiply yield of grandpa by 2
  270. passive:multiply yield of farm by 2
  271. req:(presses>=10 or grandpas>=10 or farms>=10)
  272.  
  273. *buildingUpgrade2
  274. name:Fewer duds
  275. desc:Nobody like misfires!<//><b>Effect:</b><.>bullet press production x2<.>bullet grandpa production x2<.>bullet farm production x2
  276. icon:icons[2,0] icons[3,1]
  277. cost:100000 bullets
  278. passive:multiply yield of press by 2
  279. passive:multiply yield of grandpa by 2
  280. passive:multiply yield of farm by 2
  281. req:(presses>=50 or grandpas>=50 or farms>=50)
  282.  
  283. *buildingUpgrade3
  284. name:Advanced primers
  285. desc:Makes you go more pew pew pew.<//><b>Effect:</b><.>bullet press production x2<.>bullet grandpa production x2<.>bullet farm production x2
  286. icon:icons[2,0] icons[3,2]
  287. cost:5000000 bullets
  288. passive:multiply yield of press by 2
  289. passive:multiply yield of grandpa by 2
  290. passive:multiply yield of farm by 2
  291. req:(presses>=100 or grandpas>=100 or farms>=100)
  292.  
  293. *buildingUpgrade4
  294. name:Shotgun shells
  295. desc:The fat cousin in the family.<//><b>Effect:</b><.>bullet owner production x2<.>bullet machine production x2
  296. icon:icons[2,0] icons[3,3]
  297. cost:50000 bullets
  298. passive:multiply yield of owner by 2
  299. passive:multiply yield of machine by 2
  300. req:(owners>=10 or machines>=10)
  301.  
  302. *buildingUpgrade5
  303. name:50 cal
  304. desc:I like big bullets and I cannot lie.<//><b>Effect:</b><.>buller owner production x2<.>bullet machine production x2
  305. icon:icons[2,0] icons[3,4]
  306. cost:5000000 bullets
  307. passive:multiply yield of owner by 2
  308. passive:multiply yield of machine by 2
  309. req:(owners>=50 or machines>=50)
  310.  
  311. *buildingUpgrade6
  312. name:Artillery shells
  313. desc:The bullet's big brother.<//><b>Effect:</b><.>bullet factory production x2<.>bullet living production x2
  314. icon:icons[2,0] icons[3,5]
  315. cost:1000000 bullets
  316. passive:multiply yield of factory by 2
  317. passive:multiply yield of living by 2
  318. req:(factories>=10 or livings>=10)
  319.  
  320. *buildingUpgrade7
  321. name:Infinity bullets
  322. desc:Every bullet fired finds its way home.<//><b>Effect:</b><.>bullet factory production x2<.>bullet living production x2
  323. icon:icons[2,0] icons[3,6]
  324. cost:300000000 bullets
  325. passive:multiply yield of factory by 2
  326. passive:multiply yield of living by 2
  327. req:(factories>=50 or livings>=50)
  328.  
  329. *buildingUpgrade8
  330. name:Paradox Bullets
  331. desc:Shoots the person who made them before they were made.<//><b>Effect:</b><.>reversegun production x2
  332. icon:icons[2,0] icons[3,7]
  333. cost:500000000 bullets
  334. passive:multiply yield of reversegun by 2
  335. req:10 reverseguns
  336.  
  337. *buildingUpgrade9
  338. name:Bullet bullets
  339. desc:Bullets that shoot bullets. 'Nuff said.<//><b>Effect:</b><.>quantum production x2
  340. icon:icons[2,0] icons[3,7]
  341. cost:750000000 bullets
  342. passive:multiply yield of quantum by 2
  343. req:10 quantums
  344.  
  345. *buildingUpgrade10
  346. name:Imaginary bullet
  347. desc:Mind over matter.<//><b>Effect:</b><.>megabullet production x2
  348. icon:icons[2,0] icons[3,7]
  349. cost:1000000000 bullets
  350. passive:multiply yield of megabullet by 2
  351. req:10 megabullet
  352.  
  353. //golden carrot upgrades
  354.  
  355. *goldenTouch
  356. name:Gem encrusted
  357. desc:Who's putting gems in the bullet press?.<//><b>Effect:</b><.>1% chance of gaining 1 golden bullet per bullet click
  358. icon:icons[2,5]
  359. cost:1 goldenBullet
  360. req:1 goldenBullet:earned
  361.  
  362. *bulletInspector
  363. name:Bullet inspector
  364. desc:Probably should've had one of these before.<//><b>Effect:</b><.>lucky bullets appear 30% more often
  365. icon:icons[2,6]
  366. passive:multiply frequency of luckyBullet by 0.7
  367. cost:5 goldenBullets
  368. req:1 goldenBullet:earned
  369.  
  370. *munitionsMagic
  371. name:Munitions Magic
  372. desc:The bullet wizards rise, creating bullets which defy the laws of space and time!<//><b>Effect:</b><.>unlocks new buildings
  373. icon:icons[2,7]
  374. cost:10 goldenBullets
  375. req:5 goldenBullets:earned
  376.  
  377. *sentience
  378. name:Sentient Bullet
  379. desc:It knows.<//><b>Effect:</b><.>lucky bullet effects are 4 times more powerful
  380. icon:icons[2,8]
  381. cost:100 goldenBullets
  382. req:50 goldenBullets:earned
  383.  
  384. *bulletology
  385. name:Bulletology
  386. desc:The study of bullets on a micro and macro scale.<//><b>Effect:</b><.>quantums now produce 1 golden carrot every 100 seconds
  387. icon:icons[2,9]
  388. cost:100 goldenBullets
  389. req:50 goldenBullets:earned
  390.  
  391. Achievements
  392. *TEMPLATE
  393. on click:anim glow
  394.  
  395. *bulletAchiev1
  396. name:One shot
  397. desc:Have <b>1</b> bullet.
  398. req:1 bullet
  399. icon:icons[2,4] icons[0,2] icons[0,6]
  400. *bulletAchiev2
  401. name:Whole lotta bullets
  402. desc:Have <b>1000</b> bullets.
  403. req:1000 bullets
  404. icon:icons[2,4] icons[0,3] icons[0,6]
  405. *bunnyAchiev3
  406. name:400,000 bullets
  407. desc:Have <b>400000</b> bullets.
  408. req:400000 bullets
  409. icon:icons[2,4] icons[0,4] icons[0,6]
  410. *bunnyAchiev4
  411. name:Brand name
  412. desc:Have <b>1000000</b> bullets.
  413. req:1000000 bullets
  414. icon:icons[2,4] icons[0,4] icons[0,6]
  415.  
  416. *clickAchiev1
  417. name:Homemade
  418. desc:Click the bullet <b>10</b> times.
  419. req:10 bulletButton clicks
  420. icon:icons[2,2] icons[0,2] icons[0,6]
  421. *clickAchiev2
  422. name:BANG BANG BANG
  423. desc:Click the bullet <b>100</b> times.
  424. req:100 bulletButton clicks
  425. icon:icons[2,2] icons[0,3] icons[0,6]
  426. *clickAchiev3
  427. name:Bleeding hands
  428. desc:Click the bullet <b>2000</b> times.
  429. req:2000 bulletButton clicks
  430. icon:icons[2,2] icons[0,4] icons[0,6]
  431.  
  432. *bulletPsAchiev1
  433. name:Hasta la Vista
  434. desc:Produce <b>10</b> bullets per second.
  435. req:10 bullets per second
  436. icon:icons[2,3] icons[0,2] icons[0,6]
  437. *bulletPsAchiev2
  438. name:Firing on all cylinders
  439. desc:Produce <b>1000</b> bullets per second.
  440. req:1000 bullets per second
  441. icon:icons[2,3] icons[0,3] icons[0,6]
  442. *bunnyPsAchiev3
  443. name:Bullet hose
  444. desc:Produce <b>100000</b> bullets per second.
  445. req:100000 bullets per second
  446. icon:icons[2,3] icons[0,4] icons[0,6]
  447.  
  448. *goldAchiev1
  449. name:Golden gun
  450. desc:Have <b>1</b> golden bullets.
  451. req:1 goldenBullet
  452. icon:icons[0,1] icons[0,2]
  453. *goldAchiev2
  454. name:Stockpiling
  455. desc:Have <b>100</b> golden bullets.
  456. req:100 goldenBullet
  457. icon:icons[0,1] icons[0,3]
  458. *goldAchiev3
  459. name:Fort Knox
  460. desc:Have <b>1000</b> golden bullets.
  461. req:1000 goldenBullet
  462. icon:icons[0,1] icons[0,4]
  463.  
  464. *megabulletAchiev
  465. name:The End
  466. desc:Complete building the <b>Megabullet</b>.<//>This is it. You beat the game! And destroyed the universe...
  467. req:100 megabullet
  468. icon:icons[3,8] icons[0,4]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement