Commit graph

226 commits

Author SHA1 Message Date
Zutatensuppe
4b7741cf46 more performant cursor 2021-05-23 17:53:46 +02:00
Zutatensuppe
5be099c61c change categories to tags in frontend 2021-05-22 15:48:13 +02:00
Zutatensuppe
92ed17efa5 add ability to update image info 2021-05-22 14:26:04 +02:00
Zutatensuppe
6474c2fd8c add readme and change some scripts 2021-05-22 13:19:39 +02:00
Zutatensuppe
239c879649 categorys and titles for images 2021-05-22 01:51:44 +02:00
Zutatensuppe
8abbb13fcc make hmr possible for dev 2021-05-21 08:47:40 +02:00
Zutatensuppe
bdd061dd1a add layers for new image and new game 2021-05-21 08:39:20 +02:00
Zutatensuppe
e9b209edf1 make images dont overwrite each other :0 2021-05-21 00:51:02 +02:00
Zutatensuppe
6b5c12510e add DOCTYPE 2021-05-19 09:18:38 +02:00
Zutatensuppe
ee7804a594 some more type hinting etc 2021-05-17 02:32:33 +02:00
Zutatensuppe
432e1b6668 move random functions to rng class, fix some imports 2021-05-17 01:12:39 +02:00
Zutatensuppe
07c08019f5 add built files 2021-05-17 00:28:26 +02:00
Zutatensuppe
23559b1a3b switch to typescript 2021-05-17 00:27:47 +02:00
Zutatensuppe
031ca31c7e fix events (player ts for zoom, 1 event for snappingtiles) 2021-05-16 01:42:21 +02:00
Zutatensuppe
bd8e11d603 fix replay 2021-05-15 23:57:29 +02:00
Zutatensuppe
ed94de3c7c change if 2021-05-15 23:38:14 +02:00
Zutatensuppe
6d59a713a3 dont automatically reconnect, add dc layer with option to reconnect 2021-05-15 20:04:30 +02:00
Zutatensuppe
9f7ac8d111 add msg when connection is lost 2021-05-15 17:40:04 +02:00
Zutatensuppe
d5e0c89bf6 combine wsclient and wswrapper 2021-05-15 17:39:54 +02:00
Zutatensuppe
b695b44b6c fix error for new players 2021-05-15 16:57:25 +02:00
Zutatensuppe
5e949f3d30 fix new game going to bad url 2021-05-15 11:06:37 +02:00
Zutatensuppe
158c710572 use function instead of class for camera 2021-05-13 23:55:53 +02:00
Zutatensuppe
e9129cf049 move clientId init to index.html, make zoom events only exist when they actually do something 2021-05-13 23:38:36 +02:00
Zutatensuppe
a0118b0bdf lots of changes to switch to vue 2021-05-13 22:45:55 +02:00
Zutatensuppe
5adb8806dc make target element mandatory for main func 2021-05-13 17:20:10 +02:00
Zutatensuppe
8e7aa7d453 prepare use of vue for game/replay 2021-05-13 16:58:21 +02:00
Zutatensuppe
343263be6c change name to be consistent with other components 2021-05-13 16:27:16 +02:00
Zutatensuppe
f8157a1ea0 in replay, dont set cursor to none 2021-05-13 16:25:31 +02:00
Zutatensuppe
be79935bca use vue 3, prepare split new game and index view 2021-05-13 16:23:05 +02:00
Zutatensuppe
4d8012dc33 cleanup styles a bit 2021-05-13 16:22:15 +02:00
Zutatensuppe
722be39ad9 move new game setup to new component 2021-05-13 14:01:10 +02:00
Zutatensuppe
734b7eacc8 less calls to worldDimToViewportRaw 2021-05-10 01:13:23 +02:00
Zutatensuppe
8dc6c6a89b use same func 2021-05-10 00:44:27 +02:00
Zutatensuppe
7f684f98d4 rename vars 2021-05-10 00:40:46 +02:00
Zutatensuppe
fd3affd879 rename mk to h 2021-05-10 00:35:59 +02:00
Zutatensuppe
f1a77802fc reduce menu code 2021-05-10 00:34:12 +02:00
Zutatensuppe
5a7d2edb62 toggle preview evt 2021-05-09 22:17:41 +02:00
Zutatensuppe
68a51ce322 maybe slight code improvements.. 2021-05-09 21:43:35 +02:00
Zutatensuppe
53e97cd58b add use strict 2021-05-09 13:49:40 +02:00
Zutatensuppe
ef260213b1 reduce code! 2021-05-07 14:31:32 +02:00
Zutatensuppe
205789e55c single line 2021-05-07 13:14:15 +02:00
Zutatensuppe
b12b468381 dont export event adapter 2021-05-07 13:12:04 +02:00
Zutatensuppe
7eb942e773 only allow to start game when image and tiles are given 2021-05-05 22:22:34 +02:00
Zutatensuppe
46ba272226 dont make calls to Game. functions from addMenuToDom 2021-05-04 10:21:47 +02:00
Zutatensuppe
9b19f2da74 fix the preview 2021-05-04 09:53:57 +02:00
Zutatensuppe
40c6ec0877 fix url 2021-05-04 09:48:14 +02:00
Zutatensuppe
43a2c3ea7c fix replay timerstr 2021-05-02 20:15:33 +02:00
Zutatensuppe
b335707b7f prepare for vue, make game run not in body, but in certain element 2021-05-01 08:59:39 +02:00
Zutatensuppe
93708f0cf0 remove twig for index page 2021-05-01 08:51:52 +02:00
Zutatensuppe
9e3a6721c9 split files 2021-05-01 08:42:39 +02:00