Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Let's make a game!
- name:After Earth
- by:Lea
- 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!
- created:25/7/2017
- updated:24/10/2017
- version:1
- Settings
- background:https://i.imgur.com/fWFBa8q.png
- building cost increase:115%
- building cost refund:50%
- spritesheet:icons, 48 by 48, stuff/bunnyIcons.png
- stylesheet:https://codepen.io/Lea210/pen/gOpPOxE.css
- Layout
- use default
- Buttons
- *MarsButton
- name:Move in new resident
- desc:Click the mars to move in a resident!
- on click:anim icon wobble
- on click:yield 1 resident
- on click:if (have hospital and chance(1%)) yield 1 resident
- icon:https://i.imgur.com/ck3Xvlm.png
- no text
- class:bigButton hasFlares
- icon class:shadowed
- Resources
- *resident
- name:Resident|Residents
- 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!!
- icon:https://i.imgur.com/IlXFsce.png
- class:noBackground
- show earned
- start with:1
- *aliens
- name:Alien Residents
- desc:The alien Population of Mars, that arive via their spaceships. Maybe it's not the best idea to have to many of them.
- icon:
- show earned
- start with:0
- req:aliens:earned>0
- Shinies
- *alienSh
- on click:log Woop
- movement:onRight moveLeft fade bounce:0.05
- frequency:1
- frequency variation:1
- icon:https://i.imgur.com/2zizQYk.png
- class:shinie
- on click:
- $boost=5
- if (have alienBabies) $boost=4
- if (chance(25%))
- //get at least 7, or between 1 and 3 minutes of our Alien Resident production
- $amount=max(7,random(aliens:ps*60*1,aliens:ps*60*3))*$boost
- toast <//><b>[$amount] Alien residents want to move in!</b>
- yield $amount aliens
- else
- $amount=round(random(10,1))*$boost
- toast <//><b>[$amount] Alien residents want to move in![?$amount]</b>
- yield $amount aliens
- end
- end
- Buildings
- *TEMPLATE
- on click:anim glow
- *basicDome
- name:Basic Dome
- desc:This dome is a necessity for living on Mars.
- icon:https://i.imgur.com/ShLV4hE.png
- cost:1 resident
- on tick:yield 0.1 resident
- *o2Dome|o2Domes
- name:o2 Dome
- desc:This dome produces o2 and allows Basic Living on Mars.<//><b>Effect:</b><.>Allows one human every two seconds to come.
- icon:https://i.imgur.com/ShLV4hE.png
- cost:20 resident
- on tick:yield 0.2 resident
- req:100 resident:earned
- *livingDome|livingDomes
- name:Living Dome
- desc:The apartments of your residents.<//><b>Effect:</b><.> A human moves in every 1 seconds.
- icon:https://i.imgur.com/p6wG5Js.png
- cost:150 resident
- req:150 resident:earned
- on tick:yield 1 resident
- *spaceStation|spaceStations
- name:Space Station|Space Stations
- desc:A Space Station floating above Mars.<//><b>Effect:</b><.> Every 10 seconds a human moves from the Space Station to Mars.
- icon:https://i.imgur.com/pkYU0AJ.png
- cost:500 resident
- req:500 resident:earned
- on tick:yield 10 resident
- *hospital
- name:Hospital Dome
- desc:A Doam that helps sick residents and help the birthrate on Mars
- icon:
- cost:1150 resident
- req:1000 resident:earned
- on tick:yield 150 resident
- *waterTank
- name:Water Tank
- desc:A tank that converts waste water into usable water
- icon:
- cost:1 resident
- req:1 resident:earned
- on tick:yield 1 resident
- *argrarDome
- name:Argrar Dome
- desc:A dome with the purpos of creating food
- icon:
- cost:1 resident
- req:1 resident:earned
- on tick:yield 1 resident
- *factory
- name:Factory
- desc:The factory help with crating tools and machines
- icon:
- cost:1 resident
- req:1 resident:earned
- on tick:yield 1 resident
- *parkDome
- name:Park Dome
- desc:A Park inside a Dome for walk and other thing
- icon:
- cost:1 resident
- req:1 resident:earned
- on tick:yield 1 resident
- *largeCityDome
- name:Large City Dome
- desc:A whole city under a Dome with lots of intersting places
- icon:
- cost:1 resident
- req:1 resident:earned
- on tick:yield 1 resident
- *basicAlienGrowth
- name:BasicAlienGrowth
- desc:Basic growth of the alien population
- hidden
- on tick:yield (1-1) aliens
- req:have alienBabies
- start with:1
- Upgrades
- *TEMPLATE
- on click:anim glow
- *teslaRocket
- name:Tesla Rocket
- desc:This tiny rocket can transport about 10 people to mars.<//><b>Effect:</b><.>+10 residents/click
- icon:https://i.imgur.com/JWJGOks.png
- cost:100 resident
- passive:increase resident yield of MarsButton by 10
- req:10 resident:earned
- *cybertruck
- name:Cybertruck
- desc:Makes movement on Mars more efficient.<//><b>Effect:</b><.>+1 resident/click
- icon:https://i.imgur.com/v9mqMXT.png
- cost:200 resident
- passive:increase resident yield of MarsButton by 1
- req:50 resident:earned
- *teleporter
- name:Teleporter
- desc:A Teleporter which will transport residents faster
- icon:
- cost:1 resident
- passive:increase resident yield of MarsButton by 2
- req:1 resident
- *alienBabies
- name:AlienBabies
- desc:Aliens are now able to reproduce on there own.
- icon:
- cost:100 aliens
- passive:increase yield of basicAlienGrowth by 1
- req:alienSh:clicks>0
- Achievements
- *TEMPLATE
- on click:anim glow
- *Achiev1
- name:Mars is multicultural!
- desc: You have moved in some aliens who want to live on mars.
- req:alienSh:clicks>0
- icon:https://i.imgur.com/BQhkvDk.png
- *Achiev2
- name:Daddy is proud of you!
- desc:You have moved the whole humanity to Mars!(7530000000 people)
- req:7530000000 resident
- icon:https://i.imgur.com/TzEl5EW.png
Add Comment
Please, Sign In to add comment