View difference between Paste ID: J1t0UXeN and fyc34GnA
SHOW: | | - or go back to the newest paste.
1
Let's make a game!
2-
    name:After Earth
2+
	name:After Earth
3-
    by:Lea
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!
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
5+
	created:25/7/2017
6-
    updated:24/10/2017
6+
	updated:24/10/2017
7-
    version:1
7+
	version:1
8
9
Settings
10-
    background:https://i.imgur.com/fWFBa8q.png
10+
	background:https://i.imgur.com/fWFBa8q.png
11-
    building cost increase:115%
11+
	building cost increase:115%
12-
    building cost refund:50%
12+
	building cost refund:50%
13
    spritesheet:icons, 48 by 48, stuff/bunnyIcons.png
14-
    stylesheet:https://codepen.io/Lea210/pen/gOpPOxE.css
14+
	stylesheet:https://codepen.io/Lea210/pen/gOpPOxE.css
15
Layout
16-
    use default
16+
	use default
17
		
18
Buttons
19
    *bunnyButton
20-
    *MarsButton
20+
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:yield 1 resident
24+
        on click:if (have parsley and chance(1%)) yield 1 bunny
25-
        on click:if (have hospital and chance(1%)) yield 1 resident
25+
26
        no text
27
        class:bigButton hasFlares
28
        icon class:shadowed
29
 
30
       
31
Resources
32
    *bunny|bunnies
33-
    *resident
33+
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-
        icon:https://i.imgur.com/IlXFsce.png
36+
37
        show earned
38
		
39-
		start with:1
39+
		
40
Shinies
41-
	*aliens
41+
	*luckyBunny
42-
		name:Alien Residents
42+
		on click:log Woop
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.
43+
		movement:onRight moveLeft fade bounce:0.05
44-
		icon:
44+
		duration:500
45-
		show earned
45+
		frequency:5
46-
		start with:0
46+
		frequency variation:0
47-
		req:aliens:earned>0
47+
		icon:https://i.imgur.com/730LPPN.png
48
		class:shinie
49
		on click:
50
			$boost=1
51-
    *alienSh
51+
			if (have parsley) $boost=4
52-
        on click:log Woop
52+
			if (chance(25%))
53-
        movement:onRight moveLeft fade bounce:0.05
53+
				//get at least 7, or between 1 and 3 minutes of our bunny production
54-
        frequency:1
54+
				$amount=max(7,random(bunnies:ps*60*1,bunnies:ps*60*3))*$boost
55-
        frequency variation:1
55+
				toast The lucky bunny grants you<//><b>[$amount] bunnies</b>.
56-
        icon:https://i.imgur.com/2zizQYk.png
56+
				yield $amount bunnies
57-
        class:shinie
57+
			else
58-
        on click:
58+
				$amount=1*$boost
59-
            $boost=5
59+
				toast The lucky bunny grants you<//><b>[$amount] golden carrot[s?$amount]</b>!
60-
            if (have alienBabies) $boost=4
60+
				yield $amount bunny
61-
            if (chance(25%))
61+
			end
62-
                //get at least 7, or between 1 and 3 minutes of our Alien Resident production
62+
		end
63-
                $amount=max(7,random(aliens:ps*60*1,aliens:ps*60*3))*$boost
63+
64-
                toast <//><b>[$amount] Alien residents want to move in!</b>
64+
65-
                yield $amount aliens
65+
	*TEMPLATE
66-
            else
66+
		on click:anim glow
67-
                $amount=round(random(10,1))*$boost
67+
		
68-
                toast <//><b>[$amount] Alien residents want to move in![?$amount]</b>
68+
	*cage|cages
69-
                yield $amount aliens
69+
		name:Space Station|Space Stations
70-
            end
70+
		desc:A tiny little cage.<//><b>Effect:</b><.>Produces 1 rabbit every 10 seconds.
71-
        end
71+
		icon:https://i.imgur.com/pkYU0AJ.png
72
		cost:15 bunnies
73
		on tick:yield 0.1 bunny
74-
    *TEMPLATE
74+
		unlocked
75-
        on click:anim glow
75+
	
76
	*hutch|hutches
77-
  
77+
		name:Rabbit hutch|Rabbit hutches
78-
    *basicDome
78+
		desc:A bit roomier than a cage, with enough space to hop around.<//><b>Effect:</b><.>Produces 1 rabbit every 2 seconds.
79-
        name:Basic Dome
79+
		icon:icons[3,1]
80-
        desc:This dome is a necessity for living on Mars.
80+
		cost:100 bunnies
81-
        icon:https://i.imgur.com/ShLV4hE.png
81+
		on tick:yield 0.5 bunnies
82-
        cost:1 resident
82+
		req:100 bunnies:earned
83-
        on tick:yield 0.1 resident   
83+
	
84-
     
84+
85-
    *o2Dome|o2Domes
85+
		
86-
        name:o2 Dome
86+
87-
        desc:This dome produces o2 and allows Basic Living on Mars.<//><b>Effect:</b><.>Allows one human every two seconds to come.
87+
	*TEMPLATE
88-
        icon:https://i.imgur.com/ShLV4hE.png
88+
		on click:anim glow
89-
        cost:20 resident
89+
	
90-
        on tick:yield 0.2 resident
90+
	//food upgrades
91-
        req:100 resident:earned
91+
	//inspiration : http://rabbit.org/suggested-vegetables-and-fruits-for-a-rabbit-diet/
92
	
93-
  *livingDome|livingDomes
93+
	*parsley
94-
        name:Living Dome
94+
		name:Parsley
95-
        desc:The apartments of your residents.<//><b>Effect:</b><.> A human moves in every 1 seconds.
95+
		desc:A nice little supplement to your bunnies' diet.<//><b>Effect:</b><.>+1 bunny/click
96-
        icon:https://i.imgur.com/p6wG5Js.png
96+
		icon:icons[1,1]
97-
        cost:150 resident
97+
		cost:100 bunnies
98-
		req:150 resident:earned
98+
		passive:increase bunny yield of bunnyButton by 1
99-
        on tick:yield 1 resident
99+
		req:10 bunnies:earned
100-
   
100+
		
101-
   *spaceStation|spaceStations
101+
	*spinach
102-
        name:Space Station|Space Stations
102+
		name:Spinach
103-
        desc:A Space Station floating above Mars.<//><b>Effect:</b><.> Every 10 seconds a human moves from the Space Station to Mars.
103+
		desc:Big tasty leaves, perfect for hungry bunnies.<//><b>Effect:</b><.>+1 bunny/click
104-
        icon:https://i.imgur.com/pkYU0AJ.png
104+
		icon:icons[1,2]
105-
        cost:500 resident
105+
		cost:200 bunnies
106-
		req:500 resident:earned
106+
		passive:increase bunny yield of bunnyButton by 1
107-
        on tick:yield 10 resident
107+
		req:50 bunnies:earned
108
		
109-
	*hospital
109+
		
110-
		name:Hospital Dome
110+
111-
		desc:A Doam that helps sick residents and help the birthrate on Mars
111+
	*TEMPLATE
112-
		icon:
112+
		on click:anim glow
113-
		cost:1150 resident
113+
		
114-
		req:1000 resident:earned
114+
	*bunnyAchiev1
115-
		on tick:yield 150 resident
115+
		name:Run rabbit run
116
		desc:Have <b>1</b> bunny.
117-
	*waterTank
117+
		req:1 bunny
118-
		name:Water Tank
118+
		icon:icons[2,4] icons[0,2] icons[0,6]
119-
		desc:A tank that converts waste water into usable water
119+
	*bunnyAchiev2
120-
		icon:
120+
		name:Bunniest home videos
121-
		cost:1 resident
121+
		desc:Have <b>1000</b> bunnies.
122-
		req:1 resident:earned
122+
		req:1000 bunnies
123-
		on tick:yield 1 resident
123+
		icon:icons[2,4] icons[0,3] icons[0,6]