brick-engine-js 1.0.9 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. package/dist/app.js +1 -4952
  2. package/dist/brick-engine.js +1 -4970
  3. package/dist/css/brick-engine.bundle.css +1 -1
  4. package/dist/docs/GAME_DEVELOPER_GUIDE.html +1 -1
  5. package/dist/docs/brick-engine-guide.html +1 -1
  6. package/dist/docs/getting-started.html +1 -1
  7. package/dist/docs/jsdoc_standard.html +1 -1
  8. package/dist/docs/publishing.html +1 -1
  9. package/dist/docs/reference/interfaces/modules/Session.html +1 -1
  10. package/dist/docs/reference/modules/GameMenu.html +1 -1
  11. package/dist/docs/reference/modules/GameSession.html +1 -1
  12. package/dist/docs/reference/modules/InitialStateSnapshot.html +1 -1
  13. package/dist/docs/reference/modules/SessionModal.html +1 -1
  14. package/dist/docs/testing_best_practices.html +1 -1
  15. package/dist/index.html +1 -16
  16. package/dist/{index.d.ts → types/index.d.ts} +1 -0
  17. package/dist/vendor/p5.min.js +1 -1
  18. package/package.json +2 -4
  19. package/dist/app.js.map +0 -1
  20. package/dist/brick-engine.js.map +0 -1
  21. package/dist/css/app.bundle.css +0 -824
  22. package/dist/css/app.bundle.css.map +0 -1
  23. package/dist/css/brick-engine.bundle.css.map +0 -1
  24. package/docs/GAME_DEVELOPER_GUIDE.adoc +0 -167
  25. package/docs/brick-engine-guide.adoc +0 -87
  26. package/docs/diagrams/lifecycle.mmd +0 -19
  27. package/docs/documentation_style_guide.adoc +0 -210
  28. package/docs/getting-started.adoc +0 -147
  29. package/docs/images/lifecycle.svg +0 -1
  30. package/docs/jsdoc_standard.adoc +0 -109
  31. package/docs/publishing.adoc +0 -58
  32. package/docs/reference/enums/Color.adoc +0 -35
  33. package/docs/reference/enums/ControlEventType.adoc +0 -28
  34. package/docs/reference/enums/ControlKey.adoc +0 -34
  35. package/docs/reference/enums/FontAlignment.adoc +0 -43
  36. package/docs/reference/enums/FontSize.adoc +0 -31
  37. package/docs/reference/enums/Sound.adoc +0 -42
  38. package/docs/reference/enums/StateProperty.adoc +0 -33
  39. package/docs/reference/helpers/CellHelper.adoc +0 -37
  40. package/docs/reference/helpers/ControlInputHandlerHelper.adoc +0 -57
  41. package/docs/reference/helpers/CoordinateHelper.adoc +0 -118
  42. package/docs/reference/helpers/RelativeValuesHelper.adoc +0 -53
  43. package/docs/reference/interfaces/Debuggable.adoc +0 -29
  44. package/docs/reference/interfaces/GameModules.adoc +0 -35
  45. package/docs/reference/interfaces/Initializable.adoc +0 -24
  46. package/docs/reference/interfaces/RendererInitializable.adoc +0 -33
  47. package/docs/reference/interfaces/StateSyncable.adoc +0 -41
  48. package/docs/reference/interfaces/modules/Control.adoc +0 -98
  49. package/docs/reference/interfaces/modules/Grid.adoc +0 -411
  50. package/docs/reference/interfaces/modules/Renderer.adoc +0 -34
  51. package/docs/reference/interfaces/modules/RendererComposite.adoc +0 -57
  52. package/docs/reference/interfaces/modules/Score.adoc +0 -107
  53. package/docs/reference/interfaces/modules/Session.adoc +0 -66
  54. package/docs/reference/interfaces/modules/State.adoc +0 -290
  55. package/docs/reference/interfaces/modules/Text.adoc +0 -110
  56. package/docs/reference/interfaces/modules/Time.adoc +0 -119
  57. package/docs/reference/modules/Debugger.adoc +0 -71
  58. package/docs/reference/modules/DisplayRenderer.adoc +0 -55
  59. package/docs/reference/modules/Game.adoc +0 -256
  60. package/docs/reference/modules/GameControl.adoc +0 -139
  61. package/docs/reference/modules/GameGrid.adoc +0 -794
  62. package/docs/reference/modules/GameHudGrid.adoc +0 -38
  63. package/docs/reference/modules/GameMenu.adoc +0 -39
  64. package/docs/reference/modules/GameRenderer.adoc +0 -79
  65. package/docs/reference/modules/GameScore.adoc +0 -138
  66. package/docs/reference/modules/GameSession.adoc +0 -43
  67. package/docs/reference/modules/GameSound.adoc +0 -111
  68. package/docs/reference/modules/GameState.adoc +0 -318
  69. package/docs/reference/modules/GameText.adoc +0 -139
  70. package/docs/reference/modules/GameTime.adoc +0 -141
  71. package/docs/reference/modules/HudRenderer.adoc +0 -56
  72. package/docs/reference/modules/InitialStateSnapshot.adoc +0 -47
  73. package/docs/reference/modules/SessionModal.adoc +0 -34
  74. package/docs/reference/types/Axis.adoc +0 -28
  75. package/docs/reference/types/Cell.adoc +0 -29
  76. package/docs/reference/types/ControlCallback.adoc +0 -23
  77. package/docs/reference/types/Coordinate.adoc +0 -29
  78. package/docs/reference/types/GameEntry.adoc +0 -29
  79. package/docs/reference/types/GameEvent.adoc +0 -29
  80. package/docs/reference/types/Piece.adoc +0 -32
  81. package/docs/reference/types/RendererMetrics.adoc +0 -29
  82. package/docs/reference/types/Vector.adoc +0 -28
  83. package/docs/testing_best_practices.adoc +0 -190
  84. package/public/CNAME +0 -1
  85. package/public/docs/GAME_DEVELOPER_GUIDE.html +0 -727
  86. package/public/docs/brick-engine-guide.html +0 -610
  87. package/public/docs/diagrams/lifecycle.mmd +0 -19
  88. package/public/docs/documentation_style_guide.html +0 -994
  89. package/public/docs/getting-started.html +0 -648
  90. package/public/docs/images/lifecycle.svg +0 -1
  91. package/public/docs/index.html +0 -593
  92. package/public/docs/jsdoc_standard.html +0 -656
  93. package/public/docs/publishing.html +0 -573
  94. package/public/docs/reference/enums/Color.html +0 -533
  95. package/public/docs/reference/enums/ControlEventType.html +0 -505
  96. package/public/docs/reference/enums/ControlKey.html +0 -529
  97. package/public/docs/reference/enums/FontAlignment.html +0 -545
  98. package/public/docs/reference/enums/FontSize.html +0 -517
  99. package/public/docs/reference/enums/Sound.html +0 -558
  100. package/public/docs/reference/enums/StateProperty.html +0 -525
  101. package/public/docs/reference/helpers/CellHelper.html +0 -520
  102. package/public/docs/reference/helpers/ControlInputHandlerHelper.html +0 -569
  103. package/public/docs/reference/helpers/CoordinateHelper.html +0 -703
  104. package/public/docs/reference/helpers/RelativeValuesHelper.html +0 -560
  105. package/public/docs/reference/interfaces/Debuggable.html +0 -501
  106. package/public/docs/reference/interfaces/GameModules.html +0 -544
  107. package/public/docs/reference/interfaces/Initializable.html +0 -495
  108. package/public/docs/reference/interfaces/RendererInitializable.html +0 -517
  109. package/public/docs/reference/interfaces/StateSyncable.html +0 -542
  110. package/public/docs/reference/interfaces/modules/Control.html +0 -648
  111. package/public/docs/reference/interfaces/modules/Grid.html +0 -1256
  112. package/public/docs/reference/interfaces/modules/Renderer.html +0 -522
  113. package/public/docs/reference/interfaces/modules/RendererComposite.html +0 -577
  114. package/public/docs/reference/interfaces/modules/Score.html +0 -669
  115. package/public/docs/reference/interfaces/modules/Session.html +0 -585
  116. package/public/docs/reference/interfaces/modules/State.html +0 -897
  117. package/public/docs/reference/interfaces/modules/Text.html +0 -668
  118. package/public/docs/reference/interfaces/modules/Time.html +0 -684
  119. package/public/docs/reference/modules/Debugger.html +0 -579
  120. package/public/docs/reference/modules/DisplayRenderer.html +0 -557
  121. package/public/docs/reference/modules/Game.html +0 -909
  122. package/public/docs/reference/modules/GameControl.html +0 -716
  123. package/public/docs/reference/modules/GameGrid.html +0 -1910
  124. package/public/docs/reference/modules/GameHudGrid.html +0 -508
  125. package/public/docs/reference/modules/GameMenu.html +0 -538
  126. package/public/docs/reference/modules/GameRenderer.html +0 -589
  127. package/public/docs/reference/modules/GameScore.html +0 -664
  128. package/public/docs/reference/modules/GameSession.html +0 -533
  129. package/public/docs/reference/modules/GameSound.html +0 -636
  130. package/public/docs/reference/modules/GameState.html +0 -922
  131. package/public/docs/reference/modules/GameText.html +0 -701
  132. package/public/docs/reference/modules/GameTime.html +0 -696
  133. package/public/docs/reference/modules/HudRenderer.html +0 -568
  134. package/public/docs/reference/modules/InitialStateSnapshot.html +0 -557
  135. package/public/docs/reference/modules/SessionModal.html +0 -520
  136. package/public/docs/reference/types/Axis.html +0 -505
  137. package/public/docs/reference/types/Cell.html +0 -514
  138. package/public/docs/reference/types/ControlCallback.html +0 -488
  139. package/public/docs/reference/types/Coordinate.html +0 -510
  140. package/public/docs/reference/types/GameEntry.html +0 -514
  141. package/public/docs/reference/types/GameEvent.html +0 -514
  142. package/public/docs/reference/types/Piece.html +0 -506
  143. package/public/docs/reference/types/RendererMetrics.html +0 -514
  144. package/public/docs/reference/types/Vector.html +0 -509
  145. package/public/docs/testing_best_practices.html +0 -770
  146. package/public/favicon.ico +0 -0
  147. package/public/fonts/digital-7.monoitalic.ttf +0 -0
  148. package/public/images/cell.svg +0 -32
  149. package/public/images/close.png +0 -0
  150. package/public/images/games.png +0 -0
  151. package/public/images/github.png +0 -0
  152. package/public/images/letter-a.png +0 -0
  153. package/public/images/letter-d.png +0 -0
  154. package/public/images/letter-j.png +0 -0
  155. package/public/images/letter-s.png +0 -0
  156. package/public/images/letter-w.png +0 -0
  157. package/public/images/meta-image.png +0 -0
  158. package/public/images/number-1.png +0 -0
  159. package/public/images/number-2.png +0 -0
  160. package/public/images/number-3.png +0 -0
  161. package/public/images/number-4.png +0 -0
  162. package/public/images/number-5.png +0 -0
  163. package/public/images/number-6.png +0 -0
  164. package/public/images/splash.gif +0 -0
  165. package/public/index.html +0 -16
  166. package/public/sounds/sound_00.wav +0 -0
  167. package/public/sounds/sound_01.wav +0 -0
  168. package/public/sounds/sound_02.wav +0 -0
  169. package/public/sounds/sound_03.wav +0 -0
  170. package/public/sounds/sound_04.wav +0 -0
  171. package/public/sounds/sound_05.wav +0 -0
  172. package/public/sounds/sound_06.wav +0 -0
  173. package/public/sounds/sound_07.wav +0 -0
  174. package/public/sounds/sound_08.wav +0 -0
  175. package/public/sounds/sound_09.wav +0 -0
  176. package/public/sounds/sound_10.wav +0 -0
  177. package/public/sounds/sound_11.wav +0 -0
  178. package/public/sounds/sound_12.wav +0 -0
  179. package/public/sounds/sound_13.wav +0 -0
  180. package/public/sounds/sound_14.wav +0 -0
  181. package/public/sounds/sound_15.wav +0 -0
  182. package/public/style/body.css +0 -86
  183. package/public/style/buttons.css +0 -233
  184. package/public/style/debugger.css +0 -117
  185. package/public/style/sessionModal.css +0 -155
  186. package/public/style/sourceCodeAndCommands.css +0 -74
  187. package/public/style/splash.css +0 -13
  188. package/public/style/theme.css +0 -137
  189. /package/dist/{bootstrap.d.ts → types/bootstrap.d.ts} +0 -0
  190. /package/dist/{bootstrap.test.d.ts → types/bootstrap.test.d.ts} +0 -0
  191. /package/dist/{config → types/config}/configs.d.ts +0 -0
  192. /package/dist/{config → types/config}/configs.test.d.ts +0 -0
  193. /package/dist/{core → types/core}/Game.d.ts +0 -0
  194. /package/dist/{core → types/core}/Game.test.d.ts +0 -0
  195. /package/dist/{core → types/core}/InitialStateSnapshot.d.ts +0 -0
  196. /package/dist/{core → types/core}/InitialStateSnapshot.test.d.ts +0 -0
  197. /package/dist/{core → types/core}/helpers/CellHelper.d.ts +0 -0
  198. /package/dist/{core → types/core}/helpers/CellHelper.test.d.ts +0 -0
  199. /package/dist/{core → types/core}/helpers/ControlInputHandlerHelper.d.ts +0 -0
  200. /package/dist/{core → types/core}/helpers/ControlInputHandlerHelper.test.d.ts +0 -0
  201. /package/dist/{core → types/core}/helpers/CoordinateHelper.d.ts +0 -0
  202. /package/dist/{core → types/core}/helpers/CoordinateHelper.test.d.ts +0 -0
  203. /package/dist/{core → types/core}/helpers/InterfaceIdentifierHelper.d.ts +0 -0
  204. /package/dist/{core → types/core}/helpers/InterfaceIdentifierHelper.test.d.ts +0 -0
  205. /package/dist/{core → types/core}/helpers/RelativeValuesHelper.d.ts +0 -0
  206. /package/dist/{core → types/core}/helpers/RelativeValuesHelper.test.d.ts +0 -0
  207. /package/dist/{core → types/core}/module/control/GameControl.d.ts +0 -0
  208. /package/dist/{core → types/core}/module/control/GameControl.test.d.ts +0 -0
  209. /package/dist/{core → types/core}/module/control/GameControlKeyBinding.d.ts +0 -0
  210. /package/dist/{core → types/core}/module/control/GameControlKeyBinding.test.d.ts +0 -0
  211. /package/dist/{core → types/core}/module/grid/GameGrid.d.ts +0 -0
  212. /package/dist/{core → types/core}/module/grid/GameGrid.test.d.ts +0 -0
  213. /package/dist/{core → types/core}/module/grid/GameHudGrid.d.ts +0 -0
  214. /package/dist/{core → types/core}/module/grid/GameHudGrid.test.d.ts +0 -0
  215. /package/dist/{core → types/core}/module/grid/engines/GridAnalysisEngine.d.ts +0 -0
  216. /package/dist/{core → types/core}/module/grid/engines/GridAnalysisEngine.test.d.ts +0 -0
  217. /package/dist/{core → types/core}/module/grid/engines/GridLineEngine.d.ts +0 -0
  218. /package/dist/{core → types/core}/module/grid/engines/GridLineEngine.test.d.ts +0 -0
  219. /package/dist/{core → types/core}/module/grid/engines/GridMovementEngine.d.ts +0 -0
  220. /package/dist/{core → types/core}/module/grid/engines/GridMovementEngine.test.d.ts +0 -0
  221. /package/dist/{core → types/core}/module/grid/engines/GridRegionEngine.d.ts +0 -0
  222. /package/dist/{core → types/core}/module/grid/engines/GridRegionEngine.test.d.ts +0 -0
  223. /package/dist/{core → types/core}/module/grid/engines/GridTransformEngine.d.ts +0 -0
  224. /package/dist/{core → types/core}/module/grid/engines/GridTransformEngine.test.d.ts +0 -0
  225. /package/dist/{core → types/core}/module/renderer/DisplayRenderer.d.ts +0 -0
  226. /package/dist/{core → types/core}/module/renderer/DisplayRenderer.test.d.ts +0 -0
  227. /package/dist/{core → types/core}/module/renderer/GameRenderer.d.ts +0 -0
  228. /package/dist/{core → types/core}/module/renderer/GameRenderer.test.d.ts +0 -0
  229. /package/dist/{core → types/core}/module/renderer/HudRenderer.d.ts +0 -0
  230. /package/dist/{core → types/core}/module/renderer/HudRenderer.test.d.ts +0 -0
  231. /package/dist/{core → types/core}/module/score/GameScore.d.ts +0 -0
  232. /package/dist/{core → types/core}/module/score/GameScore.test.d.ts +0 -0
  233. /package/dist/{core → types/core}/module/session/GameSession.d.ts +0 -0
  234. /package/dist/{core → types/core}/module/session/GameSession.test.d.ts +0 -0
  235. /package/dist/{core → types/core}/module/sound/GameSound.d.ts +0 -0
  236. /package/dist/{core → types/core}/module/sound/GameSound.test.d.ts +0 -0
  237. /package/dist/{core → types/core}/module/state/GameState.d.ts +0 -0
  238. /package/dist/{core → types/core}/module/state/GameState.test.d.ts +0 -0
  239. /package/dist/{core → types/core}/module/text/GameText.d.ts +0 -0
  240. /package/dist/{core → types/core}/module/text/GameText.test.d.ts +0 -0
  241. /package/dist/{core → types/core}/module/time/GameTime.d.ts +0 -0
  242. /package/dist/{core → types/core}/module/time/GameTime.test.d.ts +0 -0
  243. /package/dist/{core → types/core}/types/Interfaces.d.ts +0 -0
  244. /package/dist/{core → types/core}/types/Types.d.ts +0 -0
  245. /package/dist/{core → types/core}/types/enums.d.ts +0 -0
  246. /package/dist/{core → types/core}/types/modules.d.ts +0 -0
  247. /package/dist/{main.d.ts → types/main.d.ts} +0 -0
  248. /package/dist/{menu → types/menu}/GameMenu.d.ts +0 -0
  249. /package/dist/{menu → types/menu}/GameMenu.test.d.ts +0 -0
  250. /package/dist/{menu → types/menu}/GameMenuSingleton.d.ts +0 -0
  251. /package/dist/{menu → types/menu}/GameMenuSingleton.test.d.ts +0 -0
  252. /package/dist/{menu → types/menu}/GameRepository.d.ts +0 -0
  253. /package/dist/{menu → types/menu}/GameRepository.test.d.ts +0 -0
  254. /package/dist/{menu → types/menu}/manager/GameManager.d.ts +0 -0
  255. /package/dist/{menu → types/menu}/manager/GameManager.test.d.ts +0 -0
  256. /package/dist/types/{interfaces.d.ts → types/interfaces.d.ts} +0 -0
  257. /package/dist/{view → types/view}/Debugger.d.ts +0 -0
  258. /package/dist/{view → types/view}/Debugger.test.d.ts +0 -0
  259. /package/dist/{view → types/view}/GameView.d.ts +0 -0
  260. /package/dist/{view → types/view}/GameView.test.d.ts +0 -0
  261. /package/dist/{view → types/view}/SessionModal.d.ts +0 -0
  262. /package/dist/{view → types/view}/SessionModal.test.d.ts +0 -0
  263. /package/dist/{view → types/view}/components/layout/ButtonLayout.d.ts +0 -0
  264. /package/dist/{view → types/view}/components/layout/ButtonLayout.test.d.ts +0 -0
  265. /package/dist/{view → types/view}/components/layout/ContainerLayout.d.ts +0 -0
  266. /package/dist/{view → types/view}/components/layout/ContainerLayout.test.d.ts +0 -0
  267. /package/dist/{view → types/view}/components/layout/FrameLayout.d.ts +0 -0
  268. /package/dist/{view → types/view}/components/layout/FrameLayout.test.d.ts +0 -0
  269. /package/dist/{view → types/view}/components/ui/BigButton.d.ts +0 -0
  270. /package/dist/{view → types/view}/components/ui/BigButton.test.d.ts +0 -0
  271. /package/dist/{view → types/view}/components/ui/Button.d.ts +0 -0
  272. /package/dist/{view → types/view}/components/ui/Button.test.d.ts +0 -0
  273. /package/dist/{view → types/view}/components/ui/Canvas.d.ts +0 -0
  274. /package/dist/{view → types/view}/components/ui/Canvas.test.d.ts +0 -0
  275. /package/dist/{view → types/view}/components/ui/SmallButton.d.ts +0 -0
  276. /package/dist/{view → types/view}/components/ui/SmallButton.test.d.ts +0 -0
  277. /package/dist/{view → types/view}/theme/applyColors.d.ts +0 -0
  278. /package/dist/{view → types/view}/theme/applyColors.test.d.ts +0 -0
  279. /package/dist/{view → types/view}/theme/dimensions.d.ts +0 -0
  280. /package/dist/{view → types/view}/theme/dimensions.test.d.ts +0 -0
@@ -1,824 +0,0 @@
1
- /* MAIN BODY */
2
-
3
- #brick-game {
4
- display: flex;
5
- justify-content: center;
6
- align-items: center;
7
- width: 100%;
8
- height: 100%;
9
- }
10
-
11
- #container {
12
- width: var(--width);
13
- height: var(--height);
14
-
15
- background-color: var(--main-color);
16
-
17
- border-radius: var(--border-radius);
18
- border: var(--border);
19
-
20
- box-sizing: border-box;
21
- margin: auto;
22
- position: relative;
23
-
24
- display: flex;
25
- flex-direction: column;
26
-
27
- box-shadow:
28
- calc(var(--width) * -0.03) calc(var(--width) * 0.03) var(--dispersion) black,
29
- calc(var(--width) * -0.02) calc(var(--width) * 0.02) var(--dispersion) var(--color-shadow-reflexion) inset,
30
- calc(var(--width) * 0.01) calc(var(--width) * -0.01) var(--dispersion) var(--color-shadow) inset;
31
- }
32
-
33
- #brick-game-canvas {
34
- border: var(--border);
35
- box-shadow:
36
- calc(var(--width) * -0.01) calc(var(--width) * 0.01) var(--dispersion) var(--color-shadow),
37
- calc(var(--width) * 0.01) calc(var(--width) * -0.01) var(--dispersion) var(--color-shadow-reflexion);
38
- }
39
-
40
- /* FRAME */
41
-
42
- #frame {
43
- border: var(--border);
44
- border-radius: var(--border-radius);
45
-
46
- position: relative;
47
-
48
- width: calc(var(--width) * 0.85);
49
- height: auto;
50
- aspect-ratio: 9/10;
51
- margin: 7.5%;
52
- margin-bottom: 3.75%;
53
-
54
- display: flex;
55
- justify-content: center;
56
- align-items: center;
57
- }
58
-
59
- #frame div {
60
- position: absolute;
61
- top: calc(var(--height) * -0.02);
62
- left: 27.5%;
63
-
64
- width: 45%;
65
- height: calc(var(--height) * 0.03);
66
-
67
- background-color: var(--main-color);
68
-
69
- display: flex;
70
- justify-content: center;
71
-
72
- padding-top: calc(var(--height) * 0.005);
73
- padding-bottom: 0;
74
- }
75
-
76
- #frame p {
77
- text-align: center;
78
-
79
- font-family: 'retro-gamming';
80
- font-weight: bold;
81
- font-size: calc(var(--height) * 0.03);
82
-
83
- text-shadow:
84
- calc(var(--width) * -0.003) calc(var(--width) * 0.003) 0 var(--color-shadow),
85
- calc(var(--width) * 0.002) calc(var(--width) * -0.002) 0 var(--color-shadow-reflexion);
86
- }
87
-
88
- /* BUTTONS */
89
-
90
- .sm-btn,
91
- .btn,
92
- .lg-btn {
93
- z-index: 999;
94
- }
95
-
96
- .sm-btn {
97
- box-shadow:
98
- calc(var(--width) * -0.0075) calc(var(--width) * 0.0075) var(--dispersion) var(--color-shadow),
99
- calc(var(--width) * -0.01) calc(var(--width) * 0.01) var(--dispersion) var(--button-color-reflexion) inset;
100
- }
101
-
102
- .sm-btn:active {
103
- box-shadow:
104
- calc(var(--width) * -0.004) calc(var(--width) * 0.004) var(--dispersion) var(--color-shadow),
105
- calc(var(--width) * -0.003) calc(var(--width) * 0.003) var(--dispersion) var(--button-color-reflexion) inset;
106
- transform: translateX(calc(var(--width) * -0.0025)) translateY(calc(var(--width) * 0.0025));
107
- }
108
-
109
- .btn {
110
- box-shadow:
111
- calc(var(--width) * -0.015) calc(var(--width) * 0.015) var(--dispersion) var(--color-shadow),
112
- calc(var(--width) * -0.0175) calc(var(--width) * 0.0175) var(--dispersion) var(--button-color-reflexion) inset;
113
- }
114
-
115
- .btn:active {
116
- box-shadow:
117
- calc(var(--width) * -0.004) calc(var(--width) * 0.004) var(--dispersion) var(--color-shadow),
118
- calc(var(--width) * -0.003) calc(var(--width) * 0.003) var(--dispersion) var(--button-color-reflexion) inset;
119
- transform: translateX(calc(var(--width) * -0.005)) translateY(calc(var(--width) * 0.005));
120
- }
121
-
122
- .lg-btn {
123
- box-shadow:
124
- calc(var(--width) * -0.02) calc(var(--width) * 0.02) var(--dispersion) var(--color-shadow),
125
- calc(var(--width) * -0.0175) calc(var(--width) * 0.0175) var(--dispersion) var(--button-color-reflexion) inset;
126
- }
127
-
128
- .lg-btn:active {
129
- box-shadow:
130
- calc(var(--width) * -0.005) calc(var(--width) * 0.005) var(--dispersion) var(--color-shadow),
131
- calc(var(--width) * -0.004) calc(var(--width) * 0.004) var(--dispersion) var(--button-color-reflexion) inset;
132
- transform: translateX(calc(var(--width) * -0.0075)) translateY(calc(var(--width) * 0.0075));
133
- }
134
-
135
- .sm-btn-p,
136
- .btn-p,
137
- .lg-btn-p {
138
- font-family: 'retro-gamming';
139
- color: white;
140
- text-align: center;
141
-
142
- user-select: none;
143
- }
144
-
145
- .sm-btn-container,
146
- .btn-container,
147
- .lg-btn-container {
148
- display: flex;
149
- justify-content: center;
150
- align-items: center;
151
- }
152
-
153
- .sm-btn,
154
- .btn,
155
- .lg-btn {
156
- outline: none;
157
-
158
- border-radius: 50%;
159
- border: var(--button-border);
160
-
161
- transition-property: transform box-shadow;
162
- transition-duration: var(--button-animation-duration);
163
-
164
- background-color: var(--button-color);
165
- }
166
-
167
- .sm-btn-container {
168
- flex-direction: column;
169
- }
170
-
171
- .sm-btn {
172
- width: var(--sm-button-size);
173
- height: var(--sm-button-size);
174
- }
175
-
176
- .sm-btn-p {
177
- font-family: 'retro-gamming';
178
- color: white;
179
- text-align: center;
180
-
181
- user-select: none;
182
-
183
- font-size: calc(var(--width) * 0.03);
184
-
185
- /* width: calc(var(--width) * 0.08); */
186
- margin-top: calc(var(--width) * 0.01);
187
-
188
- line-height: calc(var(--width) * 0.03);
189
- height: calc(var(--width) * 0.06);
190
-
191
- text-shadow:
192
- calc(var(--width) * -0.003) calc(var(--width) * 0.003) 0 var(--color-shadow),
193
- calc(var(--width) * 0.002) calc(var(--width) * -0.002) 0 var(--color-shadow-reflexion);
194
- }
195
-
196
- .btn-container {
197
- flex-direction: column-reverse;
198
- }
199
-
200
- .btn {
201
- width: var(--button-size);
202
- height: var(--button-size);
203
- }
204
-
205
- .btn-p {
206
- font-weight: bold;
207
- font-size: calc(var(--width) * 0.04);
208
- margin-bottom: calc(var(--width) * 0.015);
209
- line-height: calc(var(--width) * 0.03);
210
- }
211
-
212
- .lg-btn-container {
213
- flex-direction: column;
214
- }
215
-
216
- .lg-btn {
217
- width: var(--lg-button-size);
218
- height: var(--lg-button-size);
219
- }
220
-
221
- .lg-btn-p {
222
- font-weight: bold;
223
- font-size: calc(var(--width) * 0.05);
224
- margin-bottom: calc(var(--width) * 0.015);
225
- line-height: calc(var(--width) * 0.03);
226
- }
227
-
228
- .btn,
229
- .lg-btn {
230
- font-family: 'retro-gamming';
231
- font-size: calc(var(--width) * 0.045);
232
- font-weight: bold;
233
- color: white;
234
- text-shadow:
235
- calc(var(--width) * -0.003) calc(var(--width) * 0.003) 0 var(--button-color-shadow),
236
- calc(var(--width) * 0.002) calc(var(--width) * -0.002) 0 var(--button-color-reflexion);
237
- }
238
-
239
- /* BUTTON CONTAINERS */
240
-
241
- #button-container,
242
- #small-button-container,
243
- #inner-button-container,
244
- #medium-button-container,
245
- #large-button-container {
246
- width: 100%;
247
- height: auto;
248
- }
249
-
250
- #button-container {
251
- display: flex;
252
- flex-grow: 1;
253
- flex-direction: column;
254
- }
255
-
256
- #small-button-container {
257
- display: flex;
258
- flex-grow: 0.1;
259
- justify-content: space-evenly;
260
-
261
- max-height: 150px;
262
-
263
- position: relative;
264
- }
265
-
266
- .sm-btn-container-top {
267
- position: relative;
268
- top: -20%;
269
- }
270
-
271
- .sm-btn-container-bottom {
272
- position: relative;
273
- bottom: -20%;
274
- }
275
-
276
- #inner-button-container {
277
- display: flex;
278
- flex-grow: 1;
279
- flex-direction: row;
280
- }
281
-
282
- #medium-button-container {
283
- display: flex;
284
- flex-shrink: 1;
285
-
286
- position: relative;
287
- }
288
-
289
- #large-button-container {
290
- display: flex;
291
- justify-content: center;
292
- align-items: center;
293
-
294
- flex-shrink: 1.5;
295
- }
296
-
297
- #direction-vertical-container,
298
- #direction-horizontal-container {
299
- width: 100%;
300
- height: 100%;
301
-
302
- display: flex;
303
- justify-content: center;
304
- align-items: center;
305
- gap: calc(var(--width) * 0.115);
306
-
307
- position: absolute;
308
- top: 0;
309
- bottom: 0;
310
- left: 0;
311
- right: 0;
312
- }
313
-
314
- #direction-vertical-container {
315
- flex-direction: column;
316
- }
317
-
318
- #direction-horizontal-container {
319
- flex-direction: row;
320
- }
321
-
322
- #debugger {
323
- font-family: 'retro-gamming', monospace;
324
- background-color: rgba(0, 0, 0, 0.9);
325
- color: #0f0; /* Green phosphor */
326
- border: 2px solid #0f0;
327
- box-shadow: 0 0 10px #0f0;
328
- padding: 10px;
329
- position: absolute;
330
- top: 10px;
331
- right: 10px;
332
- width: 300px;
333
- max-height: calc(100vh - 40px);
334
- overflow-y: auto;
335
- user-select: none;
336
- -webkit-user-select: none;
337
- z-index: 9999;
338
- font-size: 14px;
339
- /* text-shadow: 0 0 2px #0f0; */
340
- }
341
-
342
- /* Custom Scrollbar */
343
- #debugger::-webkit-scrollbar {
344
- width: 8px;
345
- }
346
-
347
- #debugger::-webkit-scrollbar-track {
348
- background: #001100;
349
- }
350
-
351
- #debugger::-webkit-scrollbar-thumb {
352
- background: #0f0;
353
- border-radius: 4px;
354
- }
355
-
356
- #debugger::-webkit-scrollbar-thumb:hover {
357
- background: #0a0;
358
- }
359
-
360
- /* Summary / Header */
361
- #debugger-summary {
362
- font-weight: bold;
363
- font-size: 16px;
364
- cursor: pointer;
365
- margin-bottom: 10px;
366
- /* text-transform: uppercase; */
367
- border-bottom: 1px dashed #0f0;
368
- padding-bottom: 5px;
369
- list-style: none;
370
- }
371
-
372
- /* Module Sections */
373
- .debugger-module {
374
- margin-bottom: 10px;
375
- border-left: 1px solid #004400;
376
- padding-left: 8px;
377
- }
378
-
379
- .debugger-module-summary {
380
- cursor: pointer;
381
- font-weight: bold;
382
- color: #cfc;
383
- margin-bottom: 4px;
384
- }
385
-
386
- .debugger-module-summary:hover {
387
- color: #fff;
388
- /* text-shadow: 0 0 4px #fff; */
389
- }
390
-
391
- /* Data Rows */
392
- .debugger-container {
393
- display: flex;
394
- justify-content: space-between;
395
- padding: 2px 0;
396
- border-bottom: 1px dotted #003300;
397
- }
398
-
399
- /* Closed State */
400
- #debugger:not([open]) {
401
- width: auto;
402
- height: auto;
403
- max-height: none;
404
- padding: 5px 10px;
405
- border: 1px solid #0f0;
406
- background-color: rgba(0, 0, 0, 0.5);
407
- box-shadow: none;
408
- }
409
-
410
- #debugger:not([open]) #debugger-summary {
411
- margin-bottom: 0;
412
- border-bottom: none;
413
- padding-bottom: 0;
414
- }
415
-
416
- .debugger-container:hover {
417
- background-color: rgba(0, 255, 0, 0.05);
418
- }
419
-
420
- .debugger-container.highlight {
421
- background-color: transparent;
422
- color: #fff;
423
- /* text-shadow: 0 0 5px #fff; */
424
- border-bottom: 1px solid #fff;
425
- }
426
-
427
- .debugger-container.highlight span {
428
- color: #fff;
429
- }
430
-
431
- .debugger-container p {
432
- margin: 0;
433
- opacity: 0.8;
434
- }
435
-
436
- .debugger-container span {
437
- font-weight: bold;
438
- }
439
-
440
- #modal-background {
441
- position: absolute;
442
- inset: 0;
443
- background-color: rgba(0, 0, 0, 0.5);
444
- z-index: 999;
445
- display: flex;
446
- justify-content: center;
447
- align-items: center;
448
- }
449
-
450
- #modal-background.hidden {
451
- display: none;
452
- }
453
-
454
- #session-modal {
455
- width: 80%;
456
- max-width: 500px;
457
- height: 44%;
458
- max-height: 360px;
459
- min-width: 320px;
460
- min-height: 280px;
461
- position: relative;
462
- overflow: hidden;
463
-
464
- display: flex;
465
- flex-direction: column;
466
- align-items: center;
467
- box-sizing: border-box;
468
- padding: 1rem 0;
469
-
470
- background-color: var(--main-color);
471
-
472
- border-radius: var(--border-radius);
473
- border: var(--border);
474
-
475
- box-shadow:
476
- calc(var(--width) * -0.03) calc(var(--width) * 0.03) var(--dispersion) black,
477
- calc(var(--width) * -0.02) calc(var(--width) * 0.02) var(--dispersion) var(--color-shadow-reflexion) inset,
478
- calc(var(--width) * 0.01) calc(var(--width) * -0.01) var(--dispersion) var(--color-shadow) inset;
479
- }
480
-
481
- #session-modal-frame {
482
- border: var(--border);
483
- border-radius: var(--border-radius);
484
-
485
- position: relative;
486
-
487
- width: 90%;
488
- flex: 1;
489
- margin: 1rem 0;
490
- min-height: 0;
491
-
492
- display: flex;
493
- justify-content: center;
494
- align-items: center;
495
- }
496
-
497
- #session-modal-frame > p {
498
- position: absolute;
499
- top: 0;
500
- transform: translateY(-50%);
501
-
502
- text-align: center;
503
-
504
- font-family: 'retro-gamming';
505
- font-weight: bold;
506
- font-size: clamp(1rem, calc(var(--height) * 0.03), 1.4rem);
507
-
508
- background-color: var(--main-color);
509
- padding: 0 calc(var(--width) * 0.02);
510
-
511
- text-shadow:
512
- calc(var(--width) * -0.003) calc(var(--width) * 0.003) 0 var(--color-shadow),
513
- calc(var(--width) * 0.002) calc(var(--width) * -0.002) 0 var(--color-shadow-reflexion);
514
- }
515
-
516
- #session-modal-screen {
517
- width: 90%;
518
- height: 80%;
519
-
520
- border: var(--border);
521
- box-shadow:
522
- calc(var(--width) * -0.01) calc(var(--width) * 0.01) var(--dispersion) var(--color-shadow),
523
- calc(var(--width) * 0.01) calc(var(--width) * -0.01) var(--dispersion) var(--color-shadow-reflexion);
524
-
525
- background-image: url(../8e23286c2fdf41fd795f.svg);
526
- background-size: 3.7%;
527
- background-repeat: repeat;
528
-
529
- display: flex;
530
- justify-content: center;
531
- align-items: center;
532
- }
533
-
534
- #session-modal-screen > p {
535
- text-align: center;
536
-
537
- font-family: 'retro-gamming';
538
- font-size: 1.5rem;
539
-
540
- padding: 0 calc(var(--width) * 0.02);
541
- }
542
-
543
- #session-modal-screen > p > span {
544
- font-size: 1.8rem;
545
- padding: 0 calc(var(--width) * 0.02);
546
- }
547
-
548
- #session-modal-buttons {
549
- width: 100%;
550
- padding-bottom: 0.5rem;
551
-
552
- display: flex;
553
- justify-content: center;
554
- align-items: center;
555
-
556
- gap: clamp(1rem, 5vw, 2.5rem);
557
- }
558
-
559
- .session-modal-button:active {
560
- box-shadow:
561
- calc(var(--width) * -0.005) calc(var(--width) * 0.005) var(--dispersion) var(--color-shadow),
562
- calc(var(--width) * -0.004) calc(var(--width) * 0.004) var(--dispersion) var(--button-color-reflexion) inset;
563
- transform: translate(calc(var(--width) * -0.005), calc(var(--width) * 0.005));
564
- }
565
-
566
- .session-modal-button {
567
- width: 35%;
568
- max-width: 150px;
569
- padding: 0.8rem 0;
570
-
571
- border: var(--border);
572
- border-radius: var(--border-radius);
573
-
574
- background-color: var(--button-color);
575
- box-shadow:
576
- calc(var(--width) * -0.015) calc(var(--width) * 0.015) var(--dispersion) var(--color-shadow),
577
- calc(var(--width) * -0.0175) calc(var(--width) * 0.0175) var(--dispersion) var(--button-color-reflexion) inset;
578
-
579
- font-family: 'retro-gamming';
580
- color: white;
581
- text-align: center;
582
-
583
- user-select: none;
584
-
585
- font-size: 1rem;
586
-
587
- text-shadow:
588
- calc(var(--width) * -0.003) calc(var(--width) * 0.003) 0 var(--button-color-shadow),
589
- calc(var(--width) * 0.002) calc(var(--width) * -0.002) 0 var(--button-color-reflexion);
590
-
591
- transition:
592
- transform var(--button-animation-duration),
593
- box-shadow var(--button-animation-duration);
594
- }
595
-
596
- #source-code {
597
- position: absolute;
598
- top: 2%;
599
- right: 2%;
600
- }
601
-
602
- #controls {
603
- position: absolute;
604
- top: 2%;
605
- left: 2%;
606
- }
607
-
608
- #source-code,
609
- #controls {
610
- background-color: var(--main-color);
611
- padding: 0.75rem;
612
- border-radius: 1.5rem;
613
- cursor: pointer;
614
- box-sizing: content-box;
615
- }
616
-
617
- #source-code > #source-code-button,
618
- #controls > #controls-button {
619
- display: flex;
620
- justify-content: center;
621
- align-items: center;
622
- }
623
-
624
- #source-code > #source-code-button > img,
625
- #controls > #controls-button > img {
626
- width: 2.5rem;
627
- filter: invert();
628
- }
629
- #source-code:hover,
630
- #controls:hover {
631
- background-color: var(--color-shadow-reflexion);
632
- }
633
- #source-code:active,
634
- #controls:active {
635
- filter: brightness(1.15);
636
- }
637
-
638
- #source-code::after,
639
- #controls::after {
640
- font-family: 'retro-gamming';
641
- padding: 0.5rem;
642
- width: 6rem;
643
- background-color: white;
644
- text-align: center;
645
- border-radius: 0.25rem;
646
- border: 1px black solid;
647
- box-shadow: 0.25rem 0.25rem black;
648
- opacity: 0;
649
- transition: 0.25s opacity;
650
- }
651
-
652
- #source-code:hover::after,
653
- #controls:hover::after {
654
- opacity: 1;
655
- }
656
-
657
- #source-code::after {
658
- content: 'source code';
659
- position: absolute;
660
- top: 75px;
661
- left: -65px;
662
- }
663
-
664
- #controls::after {
665
- content: 'Controls';
666
- position: absolute;
667
- top: 75px;
668
- left: 15px;
669
- }
670
-
671
- #splash {
672
- position: absolute;
673
- top: 0;
674
- left: 0;
675
- right: 0;
676
- bottom: 0;
677
- background-color: black;
678
- opacity: 0.85;
679
- z-index: 1000;
680
- display: flex;
681
- justify-content: center;
682
- align-items: center;
683
- }
684
-
685
- @font-face {
686
- font-family: retro-gamming;
687
- src: url(../fonts/digital-7.monoitalic.ttf);
688
- }
689
-
690
- * {
691
- margin: 0;
692
- padding: 0;
693
- box-sizing: content-box;
694
- user-select: none;
695
- }
696
-
697
- body {
698
- width: 100vw;
699
- height: 100vh;
700
-
701
- display: flex;
702
- justify-content: center;
703
- align-items: center;
704
-
705
- background: rgb(0, 158, 247);
706
- background: linear-gradient(300deg, rgb(48, 179, 255) 0%, rgba(0, 158, 247, 1) 100%);
707
- }
708
-
709
- #version {
710
- font-family: 'retro-gamming';
711
- font-size: 1rem;
712
- color: white;
713
- position: absolute;
714
- bottom: 1rem;
715
- right: 1rem;
716
- }
717
-
718
- @media only screen and (max-width: 600px) {
719
- #source-code,
720
- #controls {
721
- display: none;
722
- }
723
-
724
- body,
725
- #container {
726
- width: 100% !important;
727
- height: 100vh !important;
728
- /* height: 100dvh !important; */
729
- border-radius: 0px !important;
730
- }
731
-
732
- #frame > canvas {
733
- width: 85% !important;
734
- height: auto !important;
735
- aspect-ratio: 9/10 !important;
736
- }
737
-
738
- #frame {
739
- width: 85% !important;
740
- padding: 7.5%¨ !important;
741
- }
742
-
743
- #small-button-container {
744
- margin-top: 3.5%;
745
- }
746
- #direction-vertical-container,
747
- #direction-horizontal-container {
748
- gap: calc(var(--width) * 0.13);
749
- }
750
-
751
- #large-button-container {
752
- flex-shrink: 1.75;
753
- }
754
-
755
- .sm-btn {
756
- width: var(--sm-button-size-mobile) !important;
757
- height: var(--sm-button-size-mobile) !important;
758
- }
759
-
760
- .btn {
761
- width: var(--button-size-mobile) !important;
762
- height: var(--button-size-mobile) !important;
763
- margin: var(--button-size-mobile-spacing) !important;
764
- font-size: var(--button-size-mobile-font-size) !important;
765
- }
766
-
767
- .lg-btn {
768
- width: var(--lg-button-size-mobile) !important;
769
- height: var(--lg-button-size-mobile) !important;
770
- font-size: var(--lg-button-size-mobile-font-size) !important;
771
- }
772
-
773
- .sm-btn-p {
774
- font-size: var(--sm-button-size-mobile-font-size) !important;
775
- line-height: var(--sm-button-size-mobile-line-height) !important;
776
- }
777
- }
778
-
779
- @media only screen and (max-width: 990px) {
780
- #wasd {
781
- width: 10.5rem !important;
782
- }
783
-
784
- .key {
785
- width: 3rem !important;
786
- }
787
-
788
- .key-description {
789
- font-size: 1.5rem !important;
790
- }
791
-
792
- .command {
793
- gap: 0.5rem !important;
794
- }
795
- }
796
-
797
- @media only screen and (max-width: 815px) {
798
- #controls-tutorial {
799
- gap: 0rem;
800
- flex-direction: column !important;
801
- }
802
- }
803
-
804
- @media only screen and (max-width: 750px) {
805
- .key-description {
806
- font-size: 1.2rem !important;
807
- }
808
- }
809
-
810
- @media only screen and (max-width: 650px) {
811
- #wasd {
812
- width: 9rem !important;
813
- }
814
-
815
- .key {
816
- width: 2.5rem !important;
817
- }
818
- .key-description {
819
- font-size: 1rem !important;
820
- }
821
- }
822
-
823
-
824
- /*# sourceMappingURL=app.bundle.css.map*/