Advertisement
Guest User

ddy

a guest
Feb 20th, 2020
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. Buttons
  19. *bunnyButton
  20. name:Move in new resident
  21. desc:Click the mars to move in a resident!
  22. on click:anim icon wobble
  23. on click:yield 1 bunny
  24. on click:if (have parsley and chance(1%)) yield 1 bunny
  25. icon:https://i.imgur.com/ck3Xvlm.png
  26. no text
  27. class:bigButton hasFlares
  28. icon class:shadowed
  29.  
  30.  
  31. Resources
  32. *bunny|bunnies
  33. name:Resident|Residents
  34. 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!!
  35. icon:icons[0,0]
  36. class:noBackground
  37. show earned
  38.  
  39.  
  40. Shinies
  41. *luckyBunny
  42. on click:log Woop
  43. movement:onRight moveLeft fade bounce:0.05
  44. duration:500
  45. frequency:5
  46. frequency variation:0
  47. icon:https://i.imgur.com/wx45WNz.png
  48. class:shinie thing
  49. on click:
  50. $boost=1
  51. if (have parsley) $boost=4
  52. if (chance(25%))
  53. //get at least 7, or between 1 and 3 minutes of our bunny production
  54. $amount=max(7,random(bunnies:ps*60*1,bunnies:ps*60*3))*$boost
  55. toast The lucky bunny grants you<//><b>[$amount] bunnies</b>.
  56. yield $amount bunnies
  57. else
  58. $amount=1*$boost
  59. toast The lucky bunny grants you<//><b>[$amount] golden carrot[s?$amount]</b>!
  60. yield $amount bunny
  61. end
  62. end
  63.  
  64. Buildings
  65. *TEMPLATE
  66. on click:anim glow
  67.  
  68. *cage|cages
  69. name:Space Station|Space Stations
  70. desc:A tiny little cage.<//><b>Effect:</b><.>Produces 1 rabbit every 10 seconds.
  71. icon:https://i.imgur.com/pkYU0AJ.png
  72. cost:15 bunnies
  73. on tick:yield 0.1 bunny
  74. unlocked
  75.  
  76. *hutch|hutches
  77. name:Rabbit hutch|Rabbit hutches
  78. desc:A bit roomier than a cage, with enough space to hop around.<//><b>Effect:</b><.>Produces 1 rabbit every 2 seconds.
  79. icon:icons[3,1]
  80. cost:100 bunnies
  81. on tick:yield 0.5 bunnies
  82. req:100 bunnies:earned
  83.  
  84.  
  85.  
  86. Upgrades
  87. *TEMPLATE
  88. on click:anim glow
  89.  
  90. //food upgrades
  91. //inspiration : http://rabbit.org/suggested-vegetables-and-fruits-for-a-rabbit-diet/
  92.  
  93. *parsley
  94. name:Parsley
  95. desc:A nice little supplement to your bunnies' diet.<//><b>Effect:</b><.>+1 bunny/click
  96. icon:icons[1,1]
  97. cost:100 bunnies
  98. passive:increase bunny yield of bunnyButton by 1
  99. req:10 bunnies:earned
  100.  
  101. *spinach
  102. name:Spinach
  103. desc:Big tasty leaves, perfect for hungry bunnies.<//><b>Effect:</b><.>+1 bunny/click
  104. icon:icons[1,2]
  105. cost:200 bunnies
  106. passive:increase bunny yield of bunnyButton by 1
  107. req:50 bunnies:earned
  108.  
  109.  
  110. Achievements
  111. *TEMPLATE
  112. on click:anim glow
  113.  
  114. *bunnyAchiev1
  115. name:Run rabbit run
  116. desc:Have <b>1</b> bunny.
  117. req:1 bunny
  118. icon:icons[2,4] icons[0,2] icons[0,6]
  119. *bunnyAchiev2
  120. name:Bunniest home videos
  121. desc:Have <b>1000</b> bunnies.
  122. req:1000 bunnies
  123. icon:icons[2,4] icons[0,3] icons[0,6]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement