Omtegu2

Code Clicker

May 19th, 2021 (edited)
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1. Let's make a game!
  2.  
  3. name:Code Clicker 0.1.0
  4. version:
  5. by:Omtegu also known as OMTEGU2
  6.  
  7. Settings
  8.  
  9. building cost increase 101%
  10. building cost refund 99%
  11. Resources
  12. *news
  13. on earn:if (news=10):
  14. $new=random(1,2)
  15. if (new=1) log "You have forgotten us -Parents" end
  16. if (new=2) log "A coding Enterprize has appeared out the the blue"
  17. end
  18. end
  19.  
  20. *code
  21. name:Code
  22. desc:Some code for your game
  23. show earned
  24. *art
  25. name:art
  26. desc:Some art for your games
  27. show earned
  28. *programs
  29. name:Programs
  30. desc:Programs you have made
  31. show earned
  32. *games
  33. name:Games
  34. desc:Games you have made
  35. show earned
  36.  
  37. CSS
  38. #game
  39. {
  40. background:cornflowerblue;
  41. color:lightgreen
  42. }
  43. #thing5
  44. {
  45. top: 350px;
  46. right: 450px;
  47. }
  48.  
  49. Layout
  50. use default
  51. *log
  52. contains:log
  53. Buttons
  54. *Code
  55. name:Code{}.
  56. desc:Code
  57. on click:yield 1 code
  58.  
  59. Buildings
  60. *newsticker
  61. no buy
  62. hide
  63. starts at:1
  64. on tick:yield 1 news
  65.  
  66. start with
  67. *cursor
  68. name:Cursor
  69. desc:A nice cursor to click for you. Yields 1 code per ten seconds.
  70. on tick:yield 0.1 code
  71. req:10 code
  72. cost:15 code
  73. *8yold|8yearold|8yearsold|timmy
  74. name:8 Year old
  75. desc:Ummmm... I guess this 8 year old makes 1 code per second if hes not throwing a tantrum?
  76. on tick:if (chance(80%)) yield 1 code
  77. req:1 cursor
  78. cost:50 code
  79. *ipad
  80. name:Ipad
  81. desc:Go on the go with your coding, grants 10 code per second.
  82. on tick:yield 10 code
  83. req:1 8yold
  84. cost:1 8yold and 500 code
  85. *artist
  86. name:Artist
  87. desc:Creates 1 art per second
  88. on tick:yield 1 art
  89. req:1 ipad and 1000 code
  90. cost:1 ipad and 1500 code
  91. *mprogram
  92. name:Program
  93. desc:Create a program
  94. on earn:yield 1 programs
  95. req:5 artist and 10 cursor
  96. cost:500 art and 50000 code
  97. *programmer
  98. name:Programmer
  99. desc:Makes 100 code per second
  100. on tick:yield 100 code
  101. req:5 artist and 10 8yold
  102. cost:20 8yold and 10 art and 1000 code
  103. *mgame
  104. name:Game
  105. desc:Make a game
  106. req:1 programs and 5 programmer
  107. cost:50 8yold and 100 art and 5000 code and 10 cursor
  108. on earn:yield 1 games
  109. end
  110.  
  111.  
  112.  
  113.  
Advertisement
Add Comment
Please, Sign In to add comment