Leaaa

haha

Feb 13th, 2020
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.39 KB | None | 0 0
  1. Let's make a game!
  2. name:After Earth
  3. by:Lea
  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://i.imgur.com/fWFBa8q.png
  11. building cost increase:115%
  12. building cost refund:50%
  13. spritesheet:icons, 48 by 48, stuff/bunnyIcons.png
  14. stylesheet:https://codepen.io/Lea210/pen/gOpPOxE.css
  15. Layout
  16. use default
  17.  
  18.  
  19. Buttons
  20. *MarsButton
  21. name:Move in new resident
  22. desc:Click the mars to move in a resident!
  23. on click:anim icon wobble
  24. on click:yield 1 resident
  25. on click:if (have hospital and chance(1%)) yield 1 resident
  26. icon:https://i.imgur.com/ck3Xvlm.png
  27. no text
  28. class:bigButton hasFlares
  29. icon class:shadowed
  30.  
  31.  
  32. Resources
  33. *resident
  34. name:Resident|Residents
  35. desc:Life on earth has become incredibly hard. You are a space architect and engineer who works for Elon Musk. He wants that humans live on Mars. Your job is to pobulate Mars with new residents. They work for you and build necessary buildings. Move the whole of humanity to Mars and make Elon proud!!
  36. icon:https://i.imgur.com/IlXFsce.png
  37. class:noBackground
  38. show earned
  39. start with:1
  40.  
  41. *aliens
  42. name:Alien Residents
  43. desc:The alien Population of Mars, that arive via their spaceships. Maybe it's not the best idea to have to many of them.
  44. icon:
  45. show earned
  46. start with:0
  47. req:aliens:earned>0
  48.  
  49.  
  50. Shinies
  51. *alienSh
  52. on click:log Woop
  53. movement:onRight moveLeft fade bounce:0.05
  54. frequency:1
  55. frequency variation:1
  56. icon:https://i.imgur.com/2zizQYk.png
  57. class:shinie
  58. on click:
  59. $boost=5
  60. if (have alienBabies) $boost=4
  61. if (chance(25%))
  62. //get at least 7, or between 1 and 3 minutes of our Alien Resident production
  63. $amount=max(7,random(aliens:ps*60*1,aliens:ps*60*3))*$boost
  64. toast <//><b>[$amount] Alien residents want to move in!</b>
  65. yield $amount aliens
  66. else
  67. $amount=round(random(10,1))*$boost
  68. toast <//><b>[$amount] Alien residents want to move in![?$amount]</b>
  69. yield $amount aliens
  70. end
  71. end
  72.  
  73. Buildings
  74. *TEMPLATE
  75. on click:anim glow
  76.  
  77.  
  78. *basicDome
  79. name:Basic Dome
  80. desc:This dome is a necessity for living on Mars.
  81. icon:https://i.imgur.com/ShLV4hE.png
  82. cost:1 resident
  83. on tick:yield 0.1 resident
  84.  
  85. *o2Dome|o2Domes
  86. name:o2 Dome
  87. desc:This dome produces o2 and allows Basic Living on Mars.<//><b>Effect:</b><.>Allows one human every two seconds to come.
  88. icon:https://i.imgur.com/ShLV4hE.png
  89. cost:20 resident
  90. on tick:yield 0.2 resident
  91. req:100 resident:earned
  92.  
  93. *livingDome|livingDomes
  94. name:Living Dome
  95. desc:The apartments of your residents.<//><b>Effect:</b><.> A human moves in every 1 seconds.
  96. icon:https://i.imgur.com/p6wG5Js.png
  97. cost:150 resident
  98. req:150 resident:earned
  99. on tick:yield 1 resident
  100.  
  101. *spaceStation|spaceStations
  102. name:Space Station|Space Stations
  103. desc:A Space Station floating above Mars.<//><b>Effect:</b><.> Every 10 seconds a human moves from the Space Station to Mars.
  104. icon:https://i.imgur.com/pkYU0AJ.png
  105. cost:500 resident
  106. req:500 resident:earned
  107. on tick:yield 10 resident
  108.  
  109. *hospital
  110. name:Hospital Dome
  111. desc:A Doam that helps sick residents and help the birthrate on Mars
  112. icon:
  113. cost:1150 resident
  114. req:1000 resident:earned
  115. on tick:yield 150 resident
  116.  
  117. *waterTank
  118. name:Water Tank
  119. desc:A tank that converts waste water into usable water
  120. icon:
  121. cost:1 resident
  122. req:1 resident:earned
  123. on tick:yield 1 resident
  124.  
  125. *argrarDome
  126. name:Argrar Dome
  127. desc:A dome with the purpos of creating food
  128. icon:
  129. cost:1 resident
  130. req:1 resident:earned
  131. on tick:yield 1 resident
  132.  
  133. *factory
  134. name:Factory
  135. desc:The factory help with crating tools and machines
  136. icon:
  137. cost:1 resident
  138. req:1 resident:earned
  139. on tick:yield 1 resident
  140.  
  141. *parkDome
  142. name:Park Dome
  143. desc:A Park inside a Dome for walk and other thing
  144. icon:
  145. cost:1 resident
  146. req:1 resident:earned
  147. on tick:yield 1 resident
  148.  
  149. *largeCityDome
  150. name:Large City Dome
  151. desc:A whole city under a Dome with lots of intersting places
  152. icon:
  153. cost:1 resident
  154. req:1 resident:earned
  155. on tick:yield 1 resident
  156.  
  157. *basicAlienGrowth
  158. name:BasicAlienGrowth
  159. desc:Basic growth of the alien population
  160. hidden
  161. on tick:yield (1-1) aliens
  162. req:have alienBabies
  163. start with:1
  164.  
  165.  
  166. Upgrades
  167. *TEMPLATE
  168. on click:anim glow
  169.  
  170. *teslaRocket
  171. name:Tesla Rocket
  172. desc:This tiny rocket can transport about 10 people to mars.<//><b>Effect:</b><.>+10 residents/click
  173. icon:https://i.imgur.com/JWJGOks.png
  174. cost:100 resident
  175. passive:increase resident yield of MarsButton by 10
  176. req:10 resident:earned
  177.  
  178. *cybertruck
  179. name:Cybertruck
  180. desc:Makes movement on Mars more efficient.<//><b>Effect:</b><.>+1 resident/click
  181. icon:https://i.imgur.com/v9mqMXT.png
  182. cost:200 resident
  183. passive:increase resident yield of MarsButton by 1
  184. req:50 resident:earned
  185.  
  186. *teleporter
  187. name:Teleporter
  188. desc:A Teleporter which will transport residents faster
  189. icon:
  190. cost:1 resident
  191. passive:increase resident yield of MarsButton by 2
  192. req:1 resident
  193.  
  194. *alienBabies
  195. name:AlienBabies
  196. desc:Aliens are now able to reproduce on there own.
  197. icon:
  198. cost:100 aliens
  199. passive:increase yield of basicAlienGrowth by 1
  200. req:alienSh:clicks>0
  201.  
  202.  
  203. Achievements
  204. *TEMPLATE
  205. on click:anim glow
  206.  
  207. *Achiev1
  208. name:Mars is multicultural!
  209. desc: You have moved in some aliens who want to live on mars.
  210. req:alienSh:clicks>0
  211. icon:https://i.imgur.com/BQhkvDk.png
  212. *Achiev2
  213. name:Daddy is proud of you!
  214. desc:You have moved the whole humanity to Mars!(7530000000 people)
  215. req:7530000000 resident
  216. icon:https://i.imgur.com/TzEl5EW.png
Add Comment
Please, Sign In to add comment