Commit Graph

176 Commits

Author SHA1 Message Date
Me
657460b8ae ok so i added the fetch(user) in the conditions of the routing, works just fine, but still need to add some stuff, like passing on params and special conditions for special pages 2022-12-06 16:56:35 +01:00
LuckyLaszlo
6985d2218f minor wsServer changes
("for...of" loop replace a "map.forEach" to make early break possible)
2022-12-06 07:40:15 +01:00
LuckyLaszlo
38c0acb917 mp3 replaced by ogg
+ value of radio button discared, because never used
2022-12-06 04:12:25 +01:00
LuckyLaszlo
4be38c59e8 HTML sound selector 2022-12-06 03:53:44 +01:00
LuckyLaszlo
9dde821f67 HTML game modes selector
+ pong.css in a separate file
2022-12-06 01:56:39 +01:00
Me
c79d6f9b7d ok so trying to get the {wrap} to do what i want for the routing, but the store and local storage aren't complying, something about a Forbidden Resource, either way seems like i need to scrap the store entirely and go with the fetch(user) in the {wrap} each time anyway, for security, and also cuz that works 2022-12-05 05:55:43 +01:00
Me
450f6873a6 ok so it still works, the settings work more or less properly, and they look better, tho still kinda shit 2022-12-05 03:15:57 +01:00
Me
e9e4f564eb Ok about to do some clean up 2022-12-04 21:55:14 +01:00
LuckyLaszlo
7355a70821 minors GameComponents changes 2022-12-04 19:05:21 +01:00
LuckyLaszlo
59c7ae2a16 added alternate game mode "movingWalls" 2022-12-02 21:01:06 +01:00
Me
ce7d75a954 ok everything still works, now can see the avatar, working on better ProfileSettings 2022-12-01 22:46:34 +01:00
Me
042053ee2b great news, the new svelte store that is connected to the local storage works great, not only do i always know if a user is logged in but i have their user data too 2022-12-01 21:48:38 +01:00
Me
92acf36962 so far this works, in the middle of adding a new store that connects to local storage 2022-12-01 21:02:43 +01:00
LuckyLaszlo
93a40f2ad9 memo.txt update 2022-12-01 18:20:58 +01:00
LuckyLaszlo
f73932c131 multiBalls refactoring with ballsArr[] 2022-12-01 17:48:34 +01:00
Me
f8095c7ec6 oops i did some work directly on master, but it's still stable so should be fine 2022-12-01 16:27:56 +01:00
LuckyLaszlo
c8c3111ed4 WIP multiBalls (need refactoring) 2022-12-01 15:55:40 +01:00
LuckyLaszlo
6e572f2fb5 matchmaking rework for multiples game modes 2022-12-01 05:50:31 +01:00
Me
4cff63e264 moved files around make more logical folders, got some 502 errors turns out VSCode isn't magic, you just need to go through all the files and make sure the import paths are right 2022-12-01 00:06:34 +01:00
Me
6f7361a5dd well i tried a bunch of things to fix the CSS, most did not work, will need some help 2022-11-30 23:32:11 +01:00
Me
fc9c72b6b3 well i finally got the glittery stars animation to work for the ProfileDisplay page, cool 2022-11-30 22:42:43 +01:00
LuckyLaszlo
e3fd130729 GameSession delete + log 2022-11-30 19:42:16 +01:00
Me
effb1740f5 everything still works, and i cleaned more stuff up, better flow, disabled features that i need imput to make work 2022-11-30 19:29:29 +01:00
LuckyLaszlo
68e529fec2 input desynchro, rollback to instant handle. 2022-11-30 04:00:55 +01:00
Me
e7f0c08bb9 good progress, working on 2FA, adding conditions to limit access to certain Routes, need to find out more about the back to settle these things 2022-11-30 01:13:23 +01:00
Me
d01f92a366 Things still work, and i'm cleaning up my work cuz it's hard to know what's going on otherwise 2022-11-29 20:49:41 +01:00
Me
53faba7f69 ok works atm, hopefully this will also remove all the nonsense node modules 2022-11-29 19:13:50 +01:00
Me
693c78b43c Merge remote-tracking branch 'origin/master' into eric_front_and_back 2022-11-29 19:12:05 +01:00
Me
9d1580dcd6 well part of the custome svelte store works, the essential part at least 2022-11-29 14:54:58 +01:00
LuckyLaszlo
01023d67b5 update memo.txt 2022-11-29 01:02:34 +01:00
LuckyLaszlo
6ac3592bc0 server handleInput rework done 2022-11-29 00:47:02 +01:00
LuckyLaszlo
429387ce83 Wip reworking server handleInput
+ fixedDeltaTime for server
2022-11-28 23:55:24 +01:00
lenovo
740ba83d01 suppresion node_modules first attempt 2022-11-28 18:24:56 +01:00
LuckyLaszlo
c656de5cad opponent interpolation 2022-11-28 16:38:02 +01:00
LuckyLaszlo
5325c8b9ee messages draw on canvas
+ bugfix: vector.assign() Uncaught TypeError
2022-11-28 04:40:03 +01:00
LuckyLaszlo
7f248b5449 find a way to sharing init
+ vector.normalized()
+ misc
2022-11-28 04:33:27 +01:00
LuckyLaszlo
4aafbac1a5 collision algo with Hugo
+ ball.dir added to EventGameUpdate
2022-11-25 14:54:17 +01:00
Me
214d2cee49 everything still works, trying to add 2fa and figure out Custom Stores 2022-11-25 00:30:55 +00:00
LuckyLaszlo
3474d54a2b drawing now seperate from gameLoop
+ refactoring
+ added soundMutedFlag
2022-11-24 13:56:51 +01:00
Me
b4240f48f7 still nothing broken, i started adding a glittery star effect to the rank in ProfileDisplay, fun stuff, figured it out but need to complete it 2022-11-24 02:05:42 +00:00
Me
11234545bc in theory everything still works but could use some testing, adding profile settings fetch 2022-11-23 16:55:41 +00:00
LuckyLaszlo
7d5895a6cc server reconciliation OK (a little rubberbanding) 2022-11-23 10:43:12 +01:00
Me
16e477b874 Eveything still works, cool, adding fetch user to the ProfileDisplay, good stuff, so far so good 2022-11-23 03:31:13 +00:00
Me
9f3dbd4de9 everything still works, no 502 and livereload does work, just not for CSS stuff apparently, but for DOM elems we gucci, added a tmp /profile/fetch path and button to the header to test fetching 2022-11-23 03:12:22 +00:00
Me
78687a3daa added a few things back that i had deleted before when fixing 502, mainly looking at login fetch, so far everything works, no 502 and livereload is sorta a thing 2022-11-23 02:53:32 +01:00
Me
c35bbcefa6 Ok so Cherif and i figured out the reason livereload wasn't working, needed to expose the port in the docker compose.yml, committing now to have a save point 2022-11-22 16:34:56 +01:00
Me
c646f9b67b inital commit, we are basically identical to master, no 502 bad gateway, but no livereload either, i think cuz of that line we deleted from the nginx config 2022-11-22 02:52:54 +01:00
LuckyLaszlo
2b9058ad49 audio
+ client prediction
2022-11-22 00:06:07 +01:00
LuckyLaszlo
04203f4f9d matchmaking OK 2022-11-21 21:04:41 +01:00
LuckyLaszlo
add08c216f authoritative server OK
+ TODO actual matchmaking
2022-11-21 19:46:25 +01:00