Commit graph

201 commits

Author SHA1 Message Date
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
Zutatensuppe
62f8991e11 change dir stucture 2021-05-01 00:16:08 +02:00
Zutatensuppe
e18b8d3b98 add line 2021-04-30 22:00:29 +02:00
Zutatensuppe
35f24171bc fix var name 2021-04-30 21:55:36 +02:00
Zutatensuppe
792f0d4c31 split Game and GameStorage 2021-04-30 21:00:30 +02:00
Zutatensuppe
e83d3e8d61 rename fn 2021-04-30 20:41:08 +02:00
Zutatensuppe
56f35e987b rename function 2021-04-30 09:09:10 +02:00
Zutatensuppe
85e9d14b02 remove confusing newGame function 2021-04-30 01:03:43 +02:00
Zutatensuppe
7e0bb8357d reduce code 2021-04-30 00:58:39 +02:00
Zutatensuppe
7a163e10ab reuse createGameObject 2021-04-30 00:57:15 +02:00
Zutatensuppe
382853c097 remove __createGameObject 2021-04-30 00:31:24 +02:00
Zutatensuppe
cc6eb8ebbc remove console.log output and obsolete comments 2021-04-27 22:59:01 +02:00
Zutatensuppe
d2de582c95 add toggles for fixed and loose piece display 2021-04-27 22:56:50 +02:00
Zutatensuppe
abf6e6aa02 add different score modes 2021-04-27 21:43:53 +02:00
Zutatensuppe
90590d334e add hotkeys + help 2021-04-27 09:46:39 +02:00
Zutatensuppe
eb66d72d9d add wasd movement, qe zoom, shift for faster movement 2021-04-27 08:53:17 +02:00
Zutatensuppe
1089f70d5e image operations via Images.js, directory fun via Dirs.js 2021-04-21 19:22:58 +02:00
Zutatensuppe
0cbc8e69a3 dont fail on errors, some images fail otherwise 2021-04-21 10:18:13 +02:00
Zutatensuppe
6313ad257f lower case check 2021-04-21 10:15:08 +02:00
Zutatensuppe
b6fd0b50ab resize images for index page 2021-04-21 09:54:10 +02:00
Zutatensuppe
554ffcccbc fix click 2021-04-21 08:44:59 +02:00
Zutatensuppe
ca1af71b19 disable replay visually 2021-04-21 08:39:53 +02:00
Zutatensuppe
d69b0cef19 add image teaser component (to fix url problems) 2021-04-21 08:39:43 +02:00
Zutatensuppe
681c8375d5 display done/total pieces 2021-04-20 23:15:29 +02:00
Zutatensuppe
bbe0d03a49 keep tiles within certain bounds 2021-04-20 23:02:44 +02:00
Zutatensuppe
7a957ca09c bit improved index page 2021-04-20 20:52:31 +02:00