MiningcookiesVIII

Gold Star Clicker!

Dec 3rd, 2018
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.63 KB | None | 0 0
  1. Let's make a game!
  2. name:Gold Star Clicker
  3. by:Ming
  4. desc:MEWW<//>shoot for the stars!
  5. created:3/12/2018
  6. updated:3/12/2017
  7. version:1
  8.  
  9. Settings
  10. background:https://cdn.arstechnica.net/wp-content/uploads/2018/03/heic1806a-800x533.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. CSS
  17. #game
  18. {
  19. background:#424242;
  20. font-family:"Oswald",Oswald,sansserif;
  21. font-size:14px;
  22. color:white;
  23. }
  24. .creamFX1 .thing{
  25. position:relative;
  26. height:256px;
  27. width:256px;
  28. left:160px;
  29. top:260px;
  30. }
  31. .creamFX2 .thing-icon{
  32. height:256px;
  33. width:256px;
  34. }
  35. .catfishFX .thing-icon{
  36. position:relative;
  37. height:100px;
  38. width:300px;
  39. }
  40. Layout
  41. use default
  42.  
  43. Buttons
  44. *starButton
  45. name:Earn a Star
  46. desc:Click this gold star to get gold stars!!!
  47. on click:anim icon wobble
  48. on click:yield (1+(creamtracker*(creamboost))) star
  49. icon:https://i.imgur.com/nnWuoOe.png
  50. no text
  51. class:bigButton
  52. icon class:shadowed
  53. tooltip origin:bottom
  54. tooltip class:red
  55. *creamButton
  56. name:get the cream!!
  57. desc:Click to trade in 50 gold stars for 1 ice cream!!!
  58. on click:
  59. if (stars>=50)
  60. yield 1 cream
  61. lose 50 stars
  62. end
  63. end
  64. icon:https://www.emoji.co.uk/files/apple-emojis/food-drink-ios/399-soft-ice-cream.png
  65. no text
  66. class:creamFX1 creamFX2 noBackground
  67. icon class:shadowed
  68. tooltip origin:bottom
  69. tooltip class:red
  70. hidden
  71.  
  72. Resources
  73. *star|stars
  74. name:Gold Star|Gold Stars
  75. desc:These are your gold stars. Get to 50 gold stars for free ice cream!!!!
  76. icon:http://www.pngmart.com/files/1/Gold-Star-Sticker-PNG-Image.png
  77. on tick:if ((stars:earned)>=50) show creamButton
  78. class:noBackground
  79. show earned
  80. *cream|creams
  81. name:Ice Cream|Ice Creams
  82. desc:Ice cream!!!! Click to eat it and feel good! (not 2 much or u wil be sick)<//>Eaten: <b>[creamtracker]</b><//>[?creamtracker=10|<#80acf2>You are experiencing <b>brain freeze</b>. you cant eat any more ice cream :(</#>|]
  83. icon:http://www.stickpng.com/assets/images/580b57fcd9996e24bc43c1be.png
  84. on click:
  85. if (10>creamtracker)
  86. yield 1 creamtracker
  87. lose 1 cream
  88. end
  89. end
  90. class:noBackground
  91. show earned
  92. req:(creams:earned)>0
  93. *creamtracker
  94. always hidden
  95. *cfTime
  96. *cfClicked
  97. on tick:if ((cfClicked)>1) cfClicked is 1
  98. on earn:
  99. if ((cfStreak)>=0) yield 1 cfStreak
  100. else if (0>(cfStreak)) cfStreak is 1
  101. end
  102. on loss:
  103. if (0>=(cfStreak)) lose 1 cfStreak
  104. else if ((cfStreak)>0) cfStreak is -1
  105. end
  106. always hidden
  107. *cfStreak
  108. can be negative
  109. always hidden
  110. *meat
  111. name:Catfish Meat
  112. desc:i try to eat but it does NOT taste good. use as currency instead.<//><b>Catfish Info:</b><.>Total Catfish Clicks: [catfish:clicks]<.>Current Stars Stolen: [stolenStars]<.>Current Catfish Streak: [?cfStreak>0|[cfStreak] consecutive click[s?cfStreak]|[cfStreak*-1] consecutive raid[s?cfStreak*-1]]
  113. icon:https://img00.deviantart.net/5a0d/i/2018/303/f/f/fish_catfish_on_a_transparent_background__by_zoostock-dcqpq0a.png
  114. class:noBackground
  115. show earned
  116. req:(catfish:clicks)>0
  117. *stolenStars
  118. always hidden
  119. Shinies
  120. *catfish
  121. icon:https://i.imgur.com/3RKM316.png
  122. movement:onRight moveLeft wiggle bobVertical
  123. duration:10
  124. on click:
  125. yield 1 cfClicked
  126. do meatyield
  127. toast Catfish clicked! [?stolenStars>0|+[stolenStars*1.5] stars!|]
  128. yield ((stolenStars)*1.5) stars
  129. lose stolenStars
  130. end
  131. on meatyield:
  132. if ((cfStreak)=0) yield random(5,6) meat
  133. else if (((cfStreak)=1) or ((cfStreak)=2)) yield random(4,6) meat
  134. else if ((cfStreak)>2) yield random(2,6) meat
  135. else if (((cfStreak)=-1) or ((cfStreak)=-2)) yield random(3,6) meat
  136. else if (-2>(cfStreak)) yield random(5,6) meat
  137. end
  138. class:catfishFX
  139.  
  140. Buildings
  141. *krispion|krispions
  142. name:Krispion|Krispions
  143. desc:BIG strong man to giv u gold star ((he kind of stingy tho))<//><b>Effect:</b><.>Produces a gold star every 2 seconds.
  144. icon:https://avatars3.githubusercontent.com/u/27762896?s=400&v=4
  145. cost:50 stars
  146. on tick:yield 0.5 stars
  147. unlocked
  148.  
  149. *hamboy|hamboys
  150. name:Hamboy|Hamboys
  151. desc:cute GENEROSE smol pig to dispense MANY star ((mewmewmewm))<//><b>Effect:</b><.>Produces 5 gold stars every second.
  152. icon:https://cdn.discordapp.com/attachments/353739509675851777/519296723714179084/ham.png
  153. cost:800 stars
  154. on tick:yield 5 stars
  155. req:400 stars:earned
  156. unlocked
  157.  
  158. *deryk|deryks
  159. name:Deryk|Deryks
  160. desc:VERy smol pengu to encourage other people to be nicer (nya)<//><b>Effect:</b><.>multiplies efficiency of other buildings by 10%. (additive)
  161. icon:https://cdn.discordapp.com/attachments/353739509675851777/519308295551451136/deryk.png
  162. cost:10 creams
  163. cost increase:100%
  164. passive:
  165. increase yield of krispion by .05
  166. increase yield of hamboy by .5
  167. end
  168. req:10 creamtracker
  169. unlocked
  170.  
  171. Upgrades
  172. *creamboost
  173. name:Sugar Rush
  174. desc:mewmwmemwemwemwemewmmwemew<//><b>Effect:</b><.>+1 star per click for every ice cream eaten
  175. icon:http://www.stickpng.com/assets/images/580b57fcd9996e24bc43c1be.png
  176. cost:1 cream
  177. req:1 creamtracker:earned
  178.  
  179. *catfishunlock
  180. name:Star Beacon
  181. desc:summons the GREAT and MIGHTY catfish, alena...<//><b>Effect:</b><.>A catfish will spawn once every couple minutes, stealing stars unless it is clicked. Drops unique rewards when attacked, along with 150% of the stars it has stolen.
  182. icon:https://cdn.discordapp.com/avatars/433719780902436905/b57f697cae9ea7c6d7c45315f74379fd.png?size=64
  183. cost:25 cream
  184. on earn:cfTime=random(120,140)
  185. on tick:
  186. yield -1 cfTime
  187. if ((cfTime)=10) spawn catfish
  188. if ((cfTime)=0) do reset
  189. end
  190. on reset:
  191. if ((cfClicked)=0)
  192. $starSteal=((stars:ps)*random(45,75))
  193. lose $starSteal stars
  194. yield $starSteal stolenStars
  195. toast Catfish raid! You lost [$starSteal] stars.
  196. do loss with cfClicked
  197. end
  198. if ((cfClicked)>0) lose 1 cfClicked
  199. yield random(120,140) cfTime
  200. end
  201. on click:cfTime is 10
  202. req:25 cream:earned
  203.  
  204. Achievements
  205. *cheevo1
  206. name:You can get free ice cream!!!!!!
  207. desc:u got 50 stars!!.<//><i>Oh no u have bankrupted the crown :ppogsda</i>
  208. req:50 stars
  209. icon:http://www.pngmart.com/files/1/Gold-Star-Sticker-PNG-Image.png
  210. *cheevo2
  211. name:You ate ice cream!!!!!!
  212. desc:mew!!<//><i>krispion says eat ur dinner first but U DISOBEY (hehe)</i>
  213. req:1 creamtracker
  214. icon:http://www.pngmart.com/files/1/Gold-Star-Sticker-PNG-Image.png
  215. *cheevo3
  216. name:too much ice cream....
  217. desc:mew..<//><i>krpoisn warned u. bad cat.</i>
  218. req:10 creamtracker
  219. icon:http://www.pngmart.com/files/1/Gold-Star-Sticker-PNG-Image.png
Advertisement
Add Comment
Please, Sign In to add comment