Advertisement
Guest User

ywwe

a guest
Jan 16th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.97 KB | None | 0 0
  1. "let's make a game!"
  2. name:Cake Clicker
  3. by:AdamE
  4. desc:im a random 12 yearold who decided to make a game at 2.15AM
  5. created:17/1/2019
  6. version:0.1
  7.  
  8. //this is gonna be fun
  9.  
  10. Settings
  11. background:.png
  12. tilting bacrground:.png
  13. building cost increase:110%
  14. building cost refund:55%
  15. spritesheet:icons, 48 by 48, .png
  16. stylesheet:url
  17.  
  18. CSS
  19. #game
  20. {
  21. background: ;
  22. front-family:"Arial Black", Gadget, sans-serif;
  23. color:black;
  24. }
  25.  
  26. .thing
  27. {
  28. border-radius:8px;
  29. background:rgba(255,255,255,0.5);
  30. }
  31.  
  32. .thing-icon,.particle
  33. {
  34. width:64px;
  35. height:64px;
  36. }
  37.  
  38. #game.filtersOn .thing.cantAfford.notOwned
  39. {
  40. filter:blur(3px);
  41. }
  42.  
  43. .thing
  44. {
  45. text-shadow:1px 1px 0 white;
  46. }
  47.  
  48. Layout
  49. use default
  50.  
  51. Buttons
  52. *CakeButton
  53. name:Make a cake
  54. desc:Click this cake to produce more cakes!!
  55. on click:anim icon wobble
  56. on click:yield 1 cake
  57. on click:if (have goldenTouch and chance(1%)) yield 1 goldenCake
  58. icon: .png
  59. no text
  60. class:bigButton hasFlares
  61. icon class:shadowed
  62. tooltip origin:bottom
  63. tooltip class:red
  64.  
  65. Resources
  66. *cake|cakes
  67. name:cake|cakes
  68. desc:These cakes belong to you. You can buy things with them.
  69. icon:icons[0,0]
  70. class:noBackground
  71. show earned
  72.  
  73. *goldenCake|goldenCakes
  74. name:Goldencake|Goldencakes
  75. desc:yum yum yum!!
  76. icon:icons[0,1]
  77. class:noBackground
  78. hidden when 0
  79.  
  80. Shinies
  81. *luckyCake
  82. on click:log Woop
  83. movement:onRight moveLeft fade bounce:0.05
  84. frequency:60
  85. frequency variation:30
  86. icon: .png
  87. class:bigButton
  88. on click:
  89. $boost=1
  90. if (have clover) $boost=4
  91. if (chance(25%))
  92. //get at least 8, or between 1 and 3 minutes of our cake production
  93. $amount=max(8,random(cakes:ps*60*1,cakes:ps*60*3))*$boost
  94. toast The lucky cake grants you<//><b>[$amount] cakes</b>.
  95. yield $amount cakes
  96. else
  97. $amount=1*$boost
  98. toast The lucky cake grants you<//><b>[$amount] golden cake[s?$amount]</b>!
  99. yield $amount goldenCake
  100. end
  101. end
  102.  
  103. Buildings
  104. *TEMPLATE
  105. on click:anim glow
  106.  
  107. *fire|fires
  108. name:Cake fire|Cake fires
  109. desc:The most basic way of baking a cake.<//><b>Effect:</b><.>Produces 1 cake every 10 seconds
  110. icon:icons[3,0]
  111. cost:15 cakes
  112. on tick:yield 0.1 cake
  113. unlocked
  114.  
  115. Upgrades
  116. *TEMPLATE
  117. on click:anim glow
  118.  
  119. *butterCream
  120. name:Butter cream
  121. desc:A nice addition to a plain cake.<//><b>Effect:</b><.>+1 cake/click
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement