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:150%
- building cost refund:100%
- spritesheet:icons, 48 by 48, stuff/bunnyIcons.png
- stylesheet:stuff/bigBlue.css
- Layout
- use default
- Buttons
- *FoodButton
- name:Make Food
- desc:Click this button to get food!
- on click:anim icon wobble
- on click:yield 1 Food
- on click:if (have goldenTouch and chance(1%)) yield 1 Science
- icon:stuff/bunny.png
- no text
- class:bigButton hasFlares
- icon class:shadowed
- tooltip origin:bottom
- tooltip class:red
- *WoodButton
- name:Make Wood
- desc:Click this button to get Wood!
- on click:anim icon wobble
- on click:yield 1 Wood
- on click:if (have goldenTouch and chance(1%)) yield 1 Science
- icon:stuff/bunny.png
- no text
- class:bigButton hasFlares
- icon class:shadowed
- tooltip origin:bottom
- tooltip class:red
- Resources
- *food|food
- name:Food|Food
- desc:These is your Food.
- icon:icons[0,0]
- class:noBackground
- show earned
- *wood|wood
- name:Wood|Wood
- desc:These is your Wood.
- icon:icons[0,1]
- class:noBackground
- show earned
- *science|science
- name:Science|Science
- desc:These is Science thing.
- icon:icons[0,2]
- class:noBackground
- hidden when 0
- Shinies
- *Lucky Science
- 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 clover) $boost=4
- if (chance(50%))
- //get at least 10, or between 10 and 30 minutes of our Food production
- $amount=max(10,random(food:ps*60*10,food:ps*60*100))*$boost
- toast The lucky science grants you<//><b>[$amount] Food</b>.
- yield $amount food
- else
- $amount=max(10,random(wood:ps*60*10,wood:ps*60*100))*$boost
- toast The lucky science grants you<//><b>[$amount] Wood</b>.
- yield $amount wood
- end
- end
- Buildings
- *TEMPLATE
- on click:anim glow
- *worker|workers
- name:Worker|Workers
- desc:A Worker.<//><b>Effect:</b><.>Produces 1 Food and 1 Wood every 1 second.
- icon:icons[3,0]
- cost:10 food
- on tick:yield 1 food
- on tick:yield 1 wood
- unlocked
- *farmer|farmers
- name:Farmer|Farmers
- desc:A Farmer.<//><b>Effect:</b><.>Produces 10 Food 1 second.
- icon:icons[3,1]
- cost:20 food
- on tick:yield 10 food
- unlocked
- *woodcutter|woodcutters
- name:Woodcutter|Woodcutters
- desc:A Woodcutter.<//><b>Effect:</b><.>Produces 10 Wood every 1 second.
- icon:icons[3,2]
- cost:10 food
- on tick:yield 10 wood
- unlocked
- *farm|farms
- name:Farm|Farms
- desc:A farm.<//><b>Effect:</b><.>Produces 1000 food every 1 seconds.
- icon:icons[3,3]
- cost:200 wood
- on tick:yield 1000 food
- req:100 wood:earned
- *sawhill|sawhills
- name:Sawhill|Sawhills
- desc:A sawhill.<//><b>Effect:</b><.>Produces 100 wood every 1 seconds.
- icon:icons[3,4]
- cost:500 wood
- on tick:yield 1000 wood
- req:100 wood:earned
- *village|villages
- name:Rabbit village|Rabbit villages
- desc:Your bunnies are building their own villages now!<//><b>Effect:</b><.>Produces 300 rabbits per second.
- icon:icons[3,5]
- cost:10000 food, 1 science
- on tick:yield 50000 food
- req:2000 food:earned
- *city|cities
- name:Rabbit city|Rabbit cities
- desc:A bustling little city, populated with busy rabbits.<//><b>Effect:</b><.>Produces 1000 rabbits per second.
- icon:icons[3,6]
- cost:200000 food, 4 science
- on tick:yield 400000 food
- on tick:if (have moonGardens) yield 0.01 science
- req:100000 food:earned
- limit:100
- cost increase:110%
- *sage|sages
- name:Sage|Sages
- desc:A Sage.<//><b>Effect:</b><.>Produces 1 Science every 1 second.
- icon:icons[3,7]
- cost:10 food
- on tick:yield 1 science
- unlocked
- cost increase:1000%
- 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:1 science
- passive:multiply yield of food by 1.25
- req:10 food:earned
- *spinach
- name:Spinach
- desc:Big tasty leaves, perfect for hungry bunnies.<//><b>Effect:</b><.>+1 bunny/click
- icon:icons[1,2]
- cost:2 science
- passive:multiply yield of wood by 1.25
- req:10 wood:earned
- //building upgrades
- *buildingUpgrade1
- name:Sippy bottles
- desc:Your bunnies can drink their fill!<//><b>Effect:</b><.>rabbit cage production x2<.>rabbit hutch production x2<.>rabbit coop production x2
- icon:icons[2,0] icons[3,0]
- cost:20 science
- passive:multiply yield of worker by 20
- passive:multiply yield of farmer by 20
- passive:multiply yield of woodcutter by 20
- req:10 science
- //golden carrot upgrades
- *goldenTouch
- name:Golden touch
- desc:The delicate art of finding vegetables made of precious metals.<//><b>Effect:</b><.>1% chance of gaining 1 golden carrot per bunny click
- icon:icons[2,5]
- cost:1 science
- req:1 science:earned
- *rabbitHaste
- name:Rabbit's haste
- desc:I'm late! I'm late! For a very important date!<//><b>Effect:</b><.>lucky bunnies appear 30% more often
- icon:icons[2,6]
- passive:multiply yield of sage by 20
- cost:5 science
- req:1 science:earned
- Achievements
- *TEMPLATE
- on click:anim glow
- *bunnyAchiev1
- name:Run rabbit run
- desc:Have <b>1</b> bunny.
- req:1 food
- icon:icons[2,4] icons[0,2] icons[0,6]
- *bunnyAchiev2
- name:Bunniest home videos
- desc:Have <b>1000</b> bunnies.
- req:1 wood
- icon:icons[2,4] icons[0,3] icons[0,6]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement