Commit graph

31 commits

Author SHA1 Message Date
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
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
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
Zutatensuppe
62f8991e11 change dir stucture 2021-05-01 00:16:08 +02:00