Commit graph

249 commits

Author SHA1 Message Date
Zutatensuppe
7cfc1915a4 reuse move function 2021-04-17 19:35:32 +02:00
Zutatensuppe
34c58dcd71 remove canvas requirement for camera 2021-04-17 19:11:43 +02:00
Zutatensuppe
7c9ced4a22 remove canvas requirement for camera 2021-04-17 19:01:56 +02:00
Zutatensuppe
f5f08be505 dont overdraw (no need for it) 2021-04-17 17:50:03 +02:00
Zutatensuppe
40ecc33457 add comment 2021-04-17 17:42:56 +02:00
Zutatensuppe
541b6c24b4 improve puzzle cutting speed (not creating so many canvases 2021-04-17 17:39:23 +02:00
Zutatensuppe
06cfb7e256 less context switch between drawing text and image 2021-04-17 17:23:32 +02:00
Zutatensuppe
0164d197e1 less calls to update timer 2021-04-17 16:09:20 +02:00
Zutatensuppe
146aaf867e sort images better 2021-04-16 02:16:56 +02:00
Zutatensuppe
5204131361 fix stretched puzzle 2021-04-16 01:52:34 +02:00
Zutatensuppe
38093f1799 add comment 2021-04-15 21:09:25 +02:00
Zutatensuppe
c70ff0d95e add function to check if rectangles overlap 2021-04-15 21:07:52 +02:00
Zutatensuppe
3342e7087e target blank on puzzles link 2021-04-15 20:50:38 +02:00
Zutatensuppe
f3b61dd922 const instead of let 2021-04-15 12:42:55 +02:00
Zutatensuppe
f567d0703b more debug 2021-04-15 12:42:47 +02:00
Zutatensuppe
6cecba5aa1 replay stuff encapsulated in one object 2021-04-15 12:16:14 +02:00
Zutatensuppe
23e3ce4a1d remove obsolete semicolons 2021-04-15 10:40:12 +02:00
Zutatensuppe
20ac3d6342 rename vars 2021-04-15 10:36:44 +02:00
Zutatensuppe
67ee800375 fix missing var 2021-04-15 10:07:50 +02:00
Zutatensuppe
be2a651ae6 dont rerender if not able to zoom in/out 2021-04-15 10:06:20 +02:00
Zutatensuppe
38bef17010 zoom to mouse instead of screen center 2021-04-15 10:01:27 +02:00
Zutatensuppe
43db4daa11 mini optimization (calling less functions, use cloneNode and not document.createElement) 2021-04-14 21:04:07 +02:00
Zutatensuppe
34fbf05e2f hide cursor only when puzzle is loaded already 2021-04-14 19:39:26 +02:00
Zutatensuppe
b6999e4f1f add Time, reducing some duplication 2021-04-14 19:30:45 +02:00
Zutatensuppe
e737015d7e logger func to better know when and where soemthing was logged 2021-04-13 20:19:04 +02:00
Zutatensuppe
0c238dd9f1 logger func to better know when and where soemthing was logged 2021-04-13 20:18:41 +02:00
Zutatensuppe
37022eaa6d better run script 2021-04-13 19:48:18 +02:00
Zutatensuppe
24cb7f45a5 fix graphic errors 2020-12-24 20:17:01 +01:00
Zutatensuppe
6cb688b4d0 fix mouse shaking when moving map 2020-12-24 15:48:47 +01:00
Zutatensuppe
1025d42ea2 reduce data sent to clients 2020-12-24 15:29:32 +01:00
Zutatensuppe
cac1f02557 throw exceptions when game/gamelog doesnt exist 2020-12-24 15:09:57 +01:00
Zutatensuppe
1c9fc428b9 remove sockets when closed 2020-12-24 15:04:58 +01:00
Zutatensuppe
11e5c08154 load single game for fixing 2020-12-24 14:19:21 +01:00
Zutatensuppe
709f90b5cf less obsolete output in fix_tiles script 2020-12-24 14:00:21 +01:00
Zutatensuppe
a02023db71 add removal of owner for unfinished tiles 2020-12-24 13:58:52 +01:00
Zutatensuppe
5f890b40f5 add script to fix bad tiles 2020-12-24 13:56:14 +01:00
Zutatensuppe
35364c1058 move socket handling to extra file (not GameCommon) 2020-12-23 20:35:36 +01:00
Zutatensuppe
f1625b75ff remove obsolete file 2020-12-23 19:50:05 +01:00
Zutatensuppe
15ff3ecd15 use registry.npmjs.org 2020-12-23 18:17:04 +01:00
Zutatensuppe
063e7b5582 make logs smaller 2020-12-23 01:19:30 +01:00
Zutatensuppe
98c05304c5 add replay check in overview 2020-12-22 22:54:31 +01:00
Zutatensuppe
083fc0463c add replay functionality 2020-12-22 22:35:09 +01:00
Zutatensuppe
4158aa0854 dont log game 2020-12-21 18:35:05 +01:00
Zutatensuppe
cbc2b88f47 rng class.. 2020-12-21 18:34:57 +01:00
Zutatensuppe
3ff375dbb4 keep idle/dc players displayed 2020-12-21 02:29:14 +01:00
Zutatensuppe
1727705189 reduce max size 2020-12-15 09:31:11 +01:00
Zutatensuppe
219bdb2735 limit memory to 512 2020-12-13 15:38:44 +01:00
Zutatensuppe
6b1c3fb085 print mem usage 2020-12-13 14:46:11 +01:00
Zutatensuppe
5d76edafaf only persist once when changed 2020-12-13 01:09:12 +01:00
Zutatensuppe
6676dcc933 persist only changed games 2020-12-13 00:11:42 +01:00