View difference between Paste ID: PR5xrVGh and ajqTsjCB
SHOW: | | - or go back to the newest paste.
1
Let's make a game!
2
	name:Bunny Clicker
3
	by:Orteil
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:stuff/meadow.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
Layout
17
	use default
18
		
19
Buttons
20
	*bunnyButton
21
		name:Make a bunny
22
		desc:Click this little bunny to get more bunnies!
23
		on click:anim icon wobble
24
		on click:yield 1 dollar
25
		on click:yield 1 euros
26
		
27
		icon:stuff/bunny.png
28
		no text
29
		class:bigButton hasFlares
30
		icon class:shadowed
31
		tooltip origin:bottom
32
		tooltip class:red
33
		
34
Resources
35
	*dollar|dollars
36
		name:Dollar|Dollars
37
		desc:These are your bunnies. You can use them to purchase things. Your goal is to have as many bunnies as possible!
38
		icon:icons[0,0]
39
		class:noBackground
40
		show earned
41
	
42
	*euro|euros
43
		name:Euro|Euros
44
		desc:United Nations? yes
45
		icon:icons[0,0]
46
		class:noBackground
47
		show earned
48
		
49
	
50
		
51
52
53
Buildings
54
	*TEMPLATE
55
		on click:anim glow
56
		
57
	*cage|cages
58
		name:Rabbit cage|Rabbit cages
59
		desc:A tiny little cage.<//><b>Effect:</b><.>Produces 1 dollar every 10 seconds.
60
		icon:icons[3,0]
61
		cost:5 dollars
62
		on tick:yield 0.1 dollars
63
		unlocked
64
	
65
	*hutch|hutches
66
		name:Rabbit hutch|Rabbit hutches
67
		desc:A bit roomier than a cage, with enough space to hop around.<//><b>Effect:</b><.>Produces 2 dollars per second.
68
		icon:icons[3,1]
69
		cost:50 dollars
70
		on tick:yield 2 dollars
71
		req:50 dollars:earned
72
	
73
	*coop|coops
74
		name:Rabbit coop|Rabbit coops
75
		desc:A much nicer rabbit home where full bunny families can live.<//><b>Effect:</b><.>Produces 20 dollars per second.
76
		icon:icons[3,2]
77
		cost:300 dollars
78
		on tick:yield 20 dollars
79
		req:300 dollars:earned
80
	
81
	*pen|pens
82
		name:Rabbit pen|Rabbit pens
83
		desc:A lovely enclosure with plenty of green space.<//><b>Effect:</b><.>Produces 120 dollars per second.
84
		icon:icons[3,3]
85
		cost:4000 dollars
86
		on tick:yield 120 dollars
87
		req:4000 dollars:earned
88
	
89
	*meadow|meadows
90
		name:Rabbit meadow|Rabbit meadows
91
		desc:A wide open space full of shade and lush grass.<//><b>Effect:</b><.>Produces 900 dollars per second.
92
		icon:icons[3,4]
93
		cost:20000 dollars
94
		on tick:yield 900 dollars
95
		req:20000 dollars:earned
96
	
97
	*village|villages
98
		name:Rabbit village|Rabbit villages
99
		desc:Your bunnies are building their own villages now!<//><b>Effect:</b><.>Produces 3000 dollars per second.
100
		icon:icons[3,5]
101
		cost:200000 dollars
102
		on tick:yield 3000 dollars
103
		req:200000 dollars:earned 
104
		
105
	*city|cities
106
		name:Rabbit city|Rabbit cities
107
		desc:A bustling little city, populated with busy rabbits.<//><b>Effect:</b><.>Produces 10000 dollars per second.
108
		icon:icons[3,6]
109
		cost:3000000 dollars
110
		on tick:yield 10000 dollars
111
		req:3000000 dollars:earned
112
		
113
	*citadel|citadels
114
		name:Moon citadel|Moon citadels
115
		desc:An ornate palace standing on the moon, ruled by bunny kings and queens and staffed with royal bunny guards.<//><b>Effect:</b><.>Produces 40000 dollars per second.
116
		icon:icons[3,7]
117
		cost:70000000 dollars
118
		on tick:yield 40000 dollars
119
		
120
		req:70000000 dollars:earned
121
		
122
	
123
		
124
Upgrades
125
	*TEMPLATE
126
		on click:anim glow
127
	
128
	//food upgrades
129
	//inspiration : http://rabbit.org/suggested-vegetables-and-fruits-for-a-rabbit-diet/
130
	
131
	*parsley
132
		name:Parsley
133
		desc:A nice little supplement to your bunnies' diet.<//><b>Effect:</b><.>+1 dollar/click
134
		icon:icons[1,1]
135
		cost:10 dollars
136
		passive:increase dollar yield of bunnyButton by 1
137
		req:10 dollars:earned
138
		
139
	*spinach
140
		name:Spinach
141
		desc:Big tasty leaves, perfect for hungry bunnies.<//><b>Effect:</b><.>+10 dollars/click
142
		icon:icons[1,2]
143
		cost:200 dollars
144
		passive:increase dollar yield of bunnyButton by 10
145
		req:200 dollars:earned
146
		
147
	*lettuce
148
		name:Lettuce
149
		desc:Frilly greens loved by all bunnies.<//><b>Effect:</b><.>+100 dollars/click
150
		icon:icons[1,3]
151
		cost:1000 dollars 
152
		passive:increase dollar yield of bunnyButton by 100
153
		req:1000 dollars:earned
154
		
155
	*broccoli
156
		name:Broccoli
157
		desc:Crunchy greens that look like little trees.<//><b>Effect:</b><.>bunnies/click x2<.>dollar production +50%
158
		icon:icons[1,4]
159
		cost:3000 dollars
160
		passive:multiply dollar yield of bunnyButton by 2
161
		passive:multiply yield of dollars by 1.5
162
		req:3000 dollars:earned
163
		
164
	*apple
165
		name:Apple
166
		desc:Nice pieces of juicy red apples.<//><b>Effect:</b><.>dollars/click x10<.>dollar production +99%
167
		icon:icons[1,5]
168
		cost:10000 dollars
169
		passive:multiply dollar yield of bunnyButton by 10
170
		passive:multiply yield of dollars by 1.99
171
		req:10000 dollars:earned
172
		
173
	*radish
174
		name:Radish
175
		desc:Purple, crunchy, and strangely spicy.<//><b>Effect:</b><.>dollars/click x100<.>dollar production x3
176
		icon:icons[1,6]
177
		cost:500000 dollars
178
		passive:multiply dollar yield of bunnyButton by 100
179
		passive:multiply yield of dollars by 3
180
		req:500000 dollars:earned
181
		
182
183
		
184
	*carrot
185
		name:Carrot
186-
		desc:The quintessential rabbit food! Crunchy, orange, and perfect.<//><b>Effect:</b><.>bunnies/click x200<.>dollar production +10%
186+
		desc:The quintessential rabbit food! Crunchy, orange, and perfect.<//><b>Effect:</b><.>bunnies/click x200<.>dollar production +10%<.>euros/click x100000000
187
		icon:icons[1,0]
188
		cost:100000000 dollars
189
		passive:multiply dollar yield of bunnyButton by 200
190
		passive:multiply yield of dollars by 1.1
191
		req:100000000 dollars:earned
192
193
	*pasta
194
		name:Pasta
195
		desc:Awesome<//?<b>Effect:</b><.>dollars/click x10000<.>dollar production x200
196
197
		icon:icons[1,0]
198
		cost:9999999999 dollars
199
		passive:multiply dollar yield of bunnyButton by 10000
200
		passive:multiply yield of dollars by 200
201
		req:9999999999 dollars:earned
202
203
	*sushi
204
		name:Sushi
205
		desc:Japanese<//?<b>Effect:</b><.>dollars/click x99999999<.>dollar production x88888
206
207
		icon:icons[1,0]
208
		cost: 2000000000000000 dollars
209
		passive:multiply dollar yield of bunnyButton by 99999999
210
		passive:multiply yield of dollars by 88888
211
		req:1000000000000 dollars:earned
212
213
	*capitalism
214
		name:Capitalism
215
		desc:Yay!<//?<b?Effect:</b><.>dollars/click x999999999999999<.>dollar production x8888888888888
216
217
		icon:icons[1,0]
218
		cost: 50000000000 euros
219
		passive:multiply dollar yield of bunnyButton by 999999999999999
220
		passive:multiply yield of dollars by 8888888888888
221
		req:50000000000 euros:earned
222
	
223
	*youbeatthegame
224
		name:YouBeatTheGame!
225
		desc:You beat the game!<//?<b?Effect:</b><.>dollars/click x99999999999999999999999999999
226
		
227
		icon:icons[1,0]
228
		cost: 50000000000000 euros
229
		passive:multiply dollar yield of bunnyButton by 999999999999999999999999999999
230
		req:50000000000000 euros:earned