Commit graph

68 commits

Author SHA1 Message Date
Vinzenz Schroeter 4960df370c hsl to rgba not as effect but immediately, so all components have the correct theme applied at once 2024-05-07 13:21:10 +02:00
Vinzenz Schroeter 40bb1ec28a unified ThemeProvider 2024-05-07 13:21:10 +02:00
Vinzenz Schroeter e8238c6ea7 extract rgba resolving to provider 2024-05-07 13:21:10 +02:00
Vinzenz Schroeter 8f497cae85 pass theme as context 2024-05-06 14:06:53 +02:00
Vinzenz Schroeter ba56edf588 color bullets and popups (same color currently) 2024-05-06 12:58:36 +02:00
Vinzenz Schroeter f481bb638a add "icons" to buttons 2024-05-06 01:20:54 +02:00
Vinzenz Schroeter dced0a3a5c scroll inside map previews 2024-05-06 01:10:12 +02:00
Vinzenz Schroeter 170a7faf0f map chooser dialog with previews 2024-05-06 00:56:24 +02:00
Vinzenz Schroeter a952d4227d extract dialog component 2024-05-06 00:56:24 +02:00
Vinzenz Schroeter 5fc21494ef extract PixelGridCanvas component from ClientScreen 2024-05-06 00:56:24 +02:00
Vinzenz Schroeter 5f27739e7c move types to serverCalls.tsx 2024-05-06 00:56:24 +02:00
Vinzenz Schroeter fa8a723ff9 deduplicate connection logic 2024-05-06 00:38:18 +02:00
Vinzenz Schroeter abad2c95c8 do not respawn inactive players 2024-05-06 00:33:49 +02:00
Vinzenz Schroeter cd12ab7bde make broken connections more obvious by removing controls 2024-05-06 00:33:49 +02:00
Vinzenz Schroeter 0b10695e07 fix double frame request 2024-05-06 00:33:49 +02:00
Vinzenz Schroeter b9508173b8 stop reconnecting at some point so firefox does not block reconnection after reload 2024-05-06 00:33:49 +02:00
Vinzenz Schroeter 9ccb7c8df8 add magazine system (cannot reload currently) 2024-04-29 16:39:37 +02:00
Vinzenz Schroeter 4e605d556c add distance moved score 2024-04-29 14:13:04 +02:00
Vinzenz Schroeter 259d63d683 add power ups collected score 2024-04-29 13:56:41 +02:00
Vinzenz Schroeter bf22fd6c85 useMutation for map chooser 2024-04-29 13:27:35 +02:00
Vinzenz Schroeter 6b99a39253 useMutation for join form 2024-04-29 13:18:59 +02:00
Vinzenz Schroeter c48514721c fetch map list with react query, simplify other fetches 2024-04-29 12:51:58 +02:00
Vinzenz Schroeter 3a3906f178 rename MapDropDown to MapChooser, move css 2024-04-29 12:24:52 +02:00
Ronja Spiegelberg 1c5e14cd47 fix choosing maps 2024-04-29 12:10:53 +02:00
Vinzenz Schroeter 7044ffda79 remove guid, reduce latency (gets stuck sometimes tho) 2024-04-28 12:53:18 +02:00
Vinzenz Schroeter 10f022c849 more scores 2024-04-22 21:26:46 +02:00
Vinzenz Schroeter 7bc45d1d58 controls string on server side 2024-04-22 20:13:31 +02:00
Vinzenz Schroeter 0f4eec6343 show tank infos in client 2024-04-22 19:46:40 +02:00
Vinzenz Schroeter a50a9770c9 live player info in client 2024-04-22 19:20:25 +02:00
Vinzenz Schroeter 3cea9c967d improve layout for smaller width 2024-04-21 21:37:38 +02:00
Vinzenz Schroeter 3d69f592f6 split Dockerfile, dynamic backend URL 2024-04-21 14:35:58 +02:00
Vinzenz Schroeter e603c154b9 show walls destroyed in player info 2024-04-19 13:50:06 +02:00
Vinzenz Schroeter 9cf4304845 add walls destroyed stat 2024-04-19 13:34:56 +02:00
Vinzenz Schroeter 61f90b99af fix crypto.randomUUID() is not a function in an insecure context 2024-04-19 13:29:51 +02:00
Vinzenz Schroeter 25a3adea2a react query 2024-04-17 23:09:01 +02:00
Vinzenz Schroeter d02100f9a3 stupid joke in title bar 2024-04-17 20:05:32 +02:00
Vinzenz Schroeter a0a0762f84 another color for other tanks 2024-04-16 18:28:09 +02:00
Vinzenz Schroeter 4af51b3e51 theming tweaks 2024-04-16 00:08:41 +02:00
Vinzenz Schroeter c4c4eb6358 render current player in secondary color 2024-04-16 00:08:14 +02:00
Vinzenz Schroeter 6bed7d918f load maps from png files 2024-04-14 21:10:21 +02:00
Vinzenz Schroeter 51334af8c3 adjust gadget bar 2024-04-14 19:05:37 +02:00
Vinzenz Schroeter fd3e195f69 load maps from text files on server start 2024-04-14 18:50:20 +02:00
Vinzenz Schroeter 7ce0e543ec improved theming, error handling, table sort 2024-04-14 18:26:13 +02:00
Vinzenz Schroeter 35256ba88d simplify useStoredTheme 2024-04-14 15:16:32 +02:00
Vinzenz Schroeter 16d3cd1545 store theme, improved random theme 2024-04-14 14:55:01 +02:00
Vinzenz Schroeter 52e09ae5ef move theme code to own file 2024-04-14 13:33:56 +02:00
Vinzenz Schroeter 44b66c37fc random color on launch, dynamic map color 2024-04-14 13:23:04 +02:00
Vinzenz Schroeter cd3c054ee8 css variables 2024-04-14 12:57:45 +02:00
Vinzenz Schroeter ae1d24e28e favicon 2024-04-14 11:57:58 +02:00
Vinzenz Schroeter be8ff72ea4 blinking join form 2024-04-14 11:42:36 +02:00