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 bunny | |
25 | on click:if (have parsley and chance(1%)) yield 1 bunny | |
26 | icon:stuff/bunny.png | |
27 | no text | |
28 | class:bigButton hasFlares | |
29 | icon class:shadowed | |
30 | ||
31 | ||
32 | Resources | |
33 | *bunny|bunnies | |
34 | name:Bunny|Bunnies | |
35 | desc:These are your bunnies. You can use them to purchase things. Your goal is to have as many bunnies as possible! | |
36 | icon:icons[0,0] | |
37 | class:noBackground | |
38 | show earned | |
39 | ||
40 | ||
41 | Shinies | |
42 | *luckyBunny | |
43 | on click:log Woop | |
44 | movement:onRight moveLeft fade bounce:0.05 | |
45 | frequency:60 | |
46 | frequency variation:30 | |
47 | icon:stuff/luckyBunny.png | |
48 | class:bigButton | |
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:Rabbit cage|Rabbit cages | |
70 | desc:A tiny little cage.<//><b>Effect:</b><.>Produces 1 rabbit every 10 seconds. | |
71 | - | icon:https://i.imgur.com/h3pg27B.png |
71 | + | icon:https://i.imgur.com/wx45WNz.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] |
79 | + | icon:https://i.imgur.com/wx45WNz.png |
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] |