Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Let's make a game!
- name:Bunny Clicker
- by:Orteil
- 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:stuff/meadow.jpg
- building cost increase:115%
- building cost refund:50%
- spritesheet:icons, 48 by 48, stuff/bunnyIcons.png
- stylesheet:stuff/bigBlue.css
- Layout
- use default
- Buttons
- *bunnyButton
- name:Make a bunny
- desc:Click this little bunny to get more bunnies!
- on click:anim icon wobble
- on click:yield 1 bunny
- on click:if (have parsley and chance(1%)) yield 1 bunny
- icon:stuff/bunny.png
- no text
- class:bigButton hasFlares
- icon class:shadowed
- Resources
- *bunny|bunnies
- name:Bunny|Bunnies
- desc:These are your bunnies. You can use them to purchase things. Your goal is to have as many bunnies as possible!
- icon:icons[0,0]
- class:noBackground
- show earned
- Shinies
- *luckyBunny
- on click:log Woop
- movement:onRight moveLeft fade bounce:0.05
- frequency:60
- frequency variation:30
- icon:stuff/luckyBunny.png
- class:bigButton
- on click:
- $boost=1
- if (have parsley) $boost=4
- if (chance(25%))
- //get at least 7, or between 1 and 3 minutes of our bunny production
- $amount=max(7,random(bunnies:ps*60*1,bunnies:ps*60*3))*$boost
- toast The lucky bunny grants you<//><b>[$amount] bunnies</b>.
- yield $amount bunnies
- else
- $amount=1*$boost
- toast The lucky bunny grants you<//><b>[$amount] golden carrot[s?$amount]</b>!
- yield $amount bunny
- end
- end
- Buildings
- *TEMPLATE
- on click:anim glow
- *cage|cages
- name:Rabbit cage|Rabbit cages
- desc:A tiny little cage.<//><b>Effect:</b><.>Produces 1 rabbit every 10 seconds.
- icon:https://i.imgur.com/wx45WNz.png
- cost:15 bunnies
- on tick:yield 0.1 bunny
- unlocked
- *hutch|hutches
- name:Rabbit hutch|Rabbit hutches
- desc:A bit roomier than a cage, with enough space to hop around.<//><b>Effect:</b><.>Produces 1 rabbit every 2 seconds.
- icon:https://i.imgur.com/wx45WNz.png
- cost:100 bunnies
- on tick:yield 0.5 bunnies
- req:100 bunnies:earned
- Upgrades
- *TEMPLATE
- on click:anim glow
- //food upgrades
- //inspiration : http://rabbit.org/suggested-vegetables-and-fruits-for-a-rabbit-diet/
- *parsley
- name:Parsley
- desc:A nice little supplement to your bunnies' diet.<//><b>Effect:</b><.>+1 bunny/click
- icon:icons[1,1]
- cost:100 bunnies
- passive:increase bunny yield of bunnyButton by 1
- req:10 bunnies:earned
- *spinach
- name:Spinach
- desc:Big tasty leaves, perfect for hungry bunnies.<//><b>Effect:</b><.>+1 bunny/click
- icon:icons[1,2]
- cost:200 bunnies
- passive:increase bunny yield of bunnyButton by 1
- req:50 bunnies:earned
- Achievements
- *TEMPLATE
- on click:anim glow
- *bunnyAchiev1
- name:Run rabbit run
- desc:Have <b>1</b> bunny.
- req:1 bunny
- icon:icons[2,4] icons[0,2] icons[0,6]
- *bunnyAchiev2
- name:Bunniest home videos
- desc:Have <b>1000</b> bunnies.
- req:1000 bunnies
- icon:icons[2,4] icons[0,3] icons[0,6]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement