IronDizaster

keyboard attempt

Jul 17th, 2023 (edited)
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.25 KB | None | 0 0
  1. Let's make a game!
  2. name:Keyboard Attempt
  3. by:IronDizaster
  4. desc:Keyboard Attempt
  5. version:1
  6. Settings
  7. background:https://file.garden/XSIm8ZidV1rvya38/PaintDry/background2.png
  8. no particles
  9. no bulk particles
  10. Upgrades
  11. *ResetPass
  12. name:Reset
  13. on click:
  14. if (nameable=1)
  15. lose posLet
  16. lose PasscodeIDa
  17. lose PasscodeIDb
  18. lose PasscodeIDc
  19. lose PasscodeIDd
  20. lose PasscodeIDe
  21. lose PasscodeIDf
  22. lose PasscodeIDg
  23. lose PasscodeIDh
  24. end
  25. end
  26. *TEMPLATE
  27. req:1 nameable
  28. no buy
  29. *PassA
  30.  
  31. *PassB
  32.  
  33. *PassC
  34.  
  35. *PassD
  36.  
  37. *PassE
  38.  
  39. *PassF
  40.  
  41. *PassG
  42.  
  43. *PassH
  44.  
  45. *PassEnter
  46. name:Enter
  47.  
  48. *bar
  49. name:-
  50. class:fullWidth
  51. *TEMPLATE
  52. req:1 nameable
  53. *LetBack
  54. name:Delete
  55. on click:
  56.  
  57. *Let
  58. name:A
  59. *LetB
  60. name:B
  61.  
  62. *LetC
  63. name:C
  64.  
  65. *LetD
  66. name:D
  67. *LetE
  68. name:E
  69.  
  70. *LetF
  71. name:F
  72.  
  73. *LetG
  74. name:G
  75.  
  76. *LetH
  77. name:H
  78.  
  79. *LetI
  80. name:I
  81.  
  82. *LetJ
  83. name:J
  84.  
  85. *LetK
  86. name:K
  87.  
  88. *LetL
  89.  
  90. *LetM
  91. name:M
  92.  
  93. *LetN
  94. name:N
  95.  
  96. *LetO
  97. name:O
  98.  
  99. *LetP
  100. name:P
  101.  
  102. *LetQ
  103. name:Q
  104.  
  105. *LetR
  106. name:R
  107.  
  108. *LetS
  109. name:S
  110.  
  111. *LetT
  112. name:T
  113. on click:
  114.  
  115. *LetU
  116. name:U
  117. on click:
  118.  
  119. *LetV
  120. name:V
  121. on click:
  122.  
  123. *LetW
  124. name:W
  125.  
  126. *LetX
  127. name:X
  128.  
  129. *Lety
  130. name:Y
  131.  
  132. *LetZ
  133. name:Z
  134.  
  135. Resources
  136. *letterPos
  137. *nameable
  138. name:Click to rename
  139.  
  140. Layout
  141. *main
  142. contains:Upgrades
  143. header:Enter Your Name Here!
  144. *buildings
  145. contains:Resources, Buildings
  146. header:Console
  147. tooltip origin:left
  148.  
  149. CSS
  150. #game
  151. {
  152. background:cornflowerblue;
  153. color:white;
  154. }
  155. .box
  156. {
  157. text-align:center;
  158. padding:0px;
  159. box-shadow:none;
  160. border:1px solid rgba(0,0,0,0.9);
  161. }
  162.  
  163. .thing,.box-header,.box-footer,.box-bit
  164. {
  165. background:#39f;
  166. box-shadow:0px 0px 4px rgba(0,0,0,0.2),1px 1px 2px rgba(0,0,0,0.5),0px 0px 4px rgba(255,255,255,0.5) inset;
  167. border-radius:8px;
  168. }
  169. .box-bit{border-radius:20px;}
  170.  
  171. .box-header
  172. {
  173. border-bottom-left-radius:20px;
  174. border-bottom-right-radius:20px;
  175. margin-bottom:4px;
  176. }
  177. .box-footer
  178. {
  179. border-top-left-radius:20px;
  180. border-top-right-radius:20px;
  181. margin-top:4px;
  182. }
  183. .fullWidth
  184. {
  185. height:auto;
  186. min-height:auto;
  187. width:100%;
  188. }
  189. #box-main
  190. {
  191. top:0px;
  192. bottom:0px;
  193. overflow:hidden;
  194. width:80%;
  195. position:absolute;
  196. }
  197.  
  198. #box-buildings
  199. {
  200. top:0px;
  201. bottom:0px;
  202. width:20%;
  203. right:0%;
  204. overflow-x:hidden;
  205. overflow-y:scroll;
  206. padding-bottom:48px;/* this is to accommodate the info and settings buttons */
  207. position:absolute;
  208. }
  209.  
  210. #box-buildings{background:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,0.25) 20%);}
  211.  
  212. #bulkDisplay{margin:-11px 24px 4px 24px;}
  213.  
  214.  
  215. .thing
  216. {
  217. display:inline-block;
  218. padding:0px;
  219. margin:2px;
  220. cursor:pointer;
  221. }
  222. .thing:hover,.thing.lit
  223. {
  224. background:#6cf;
  225. }
  226. .thing.cantAfford
  227. {
  228. opacity:0.65;
  229. }
  230. .upgrade.cantAfford
  231. {
  232. box-shadow:0px 0px 4px #39f;
  233. border-radius:8px;
  234. }
  235. .upgrade.cantAfford:hover
  236. {
  237. box-shadow:0px 0px 4px #6cf;
  238. }
  239. .upgrade.owned,.achiev.owned
  240. {
  241. background:#6cf;
  242. }
  243. .thing-text,.thing-costs{font-weight:bold;}
  244.  
  245. .building
  246. {
  247. border-top-left-radius:20px;
  248. border-bottom-left-radius:20px;
  249. display:block;
  250. margin-right:0px;
  251. font-size:14px;
  252. }
  253.  
  254. #game.filtersOn .thing-icon{filter:drop-shadow(3px 3px 1px rgba(0,0,0,0.5));}
Advertisement
Add Comment
Please, Sign In to add comment