Commit Graph

73 Commits

Author SHA1 Message Date
Thilo Behnke
6e52c1926e working on internal network setup 2022-06-11 15:31:43 +02:00
Thilo Behnke
b77ce89e80 working input transmission 2022-06-11 15:20:32 +02:00
Thilo Behnke
26316e6f47 close session on websocket closed event 2022-06-11 14:20:40 +02:00
Thilo Behnke
1c97111e85 move run server script to project root 2022-06-11 13:37:06 +02:00
Thilo Behnke
bcea6c6f0d severe isses with concurrency - why is the ws read task starving while the write thread can still loop? 2022-06-06 17:30:53 +02:00
Thilo Behnke
89b2466aba issue is parallel read? 2022-06-06 17:23:36 +02:00
Thilo Behnke
2f57c831a1 wip - issues with sending ws messages to kafka 2022-06-06 17:21:50 +02:00
Thilo Behnke
a508c051a1 observer mode working 2022-06-06 15:50:59 +02:00
Thilo Behnke
e3d1e70909 prepare peer join 2022-06-05 18:33:08 +02:00
Thilo Behnke
76737c968b wip - acceleration needed for ball? 2022-06-05 18:25:41 +02:00
Thilo Behnke
a6ccbb1663 cleanup 2022-06-05 18:08:02 +02:00
Thilo Behnke
ab60da766e issues with elapsed - remove 2022-06-05 17:45:38 +02:00
Thilo Behnke
fffb3a7a2e better sync with fps? 2022-06-05 17:34:08 +02:00
Thilo Behnke
6a795147de bugfixing for collision detection 2022-06-05 17:12:55 +02:00
Thilo Behnke
9fe2103d1f wip - limit fps 2022-06-05 16:46:15 +02:00
Thilo Behnke
cb61f90b85 working 2 way communication 2022-06-05 16:08:45 +02:00
Thilo Behnke
9fabef3b9d send message to websocket 2022-06-05 15:45:33 +02:00
Thilo Behnke
7a8bb5ed7e split read/write of session manager 2022-06-05 15:41:48 +02:00
Thilo Behnke
21e493a661 connection type specific readers/writers 2022-06-05 15:20:19 +02:00
Thilo Behnke
6a00d00fa5 2 separate threads for websocket input/output 2022-06-01 22:20:18 +02:00
Thilo Behnke
3b68e58bb7 join session 2022-06-01 22:04:44 +02:00
Thilo Behnke
7424030c80 writing events to kafka 2022-06-01 21:48:23 +02:00
Thilo Behnke
bfbbfe854b network session button 2022-06-01 21:11:12 +02:00
Thilo Behnke
9aca924037 feature/event-writer 2022-06-01 20:44:22 +02:00
Thilo Behnke
97ac6b6f55 refactoring/game-obj-components 2022-05-02 13:46:23 +02:00
Thilo Behnke
7426559b34 working bounding box collisions (use ranges for rect collision detection) 2022-04-23 22:26:59 +02:00
Thilo Behnke
9dd7b80b82 bugfix for vector reflection 2022-04-23 22:10:09 +02:00
Thilo Behnke
e661793fc8 add adjustment to colliders vel - still issues with bounds 2022-04-23 12:29:06 +02:00
Thilo Behnke
ee2f8e932b more tests + logger 2022-04-23 12:22:24 +02:00
Thilo Behnke
cf170d40e7 more tests for reflection 2022-04-23 12:01:55 +02:00
Thilo Behnke
d91b88eb62 vector projection & orthogonals 2022-04-23 11:29:23 +02:00
Thilo Behnke
4be19aa5bb wip collision handling 2022-04-23 00:32:57 +02:00
Thilo Behnke
7e5b928caa how to handle collision with paddle? 2022-04-23 00:15:42 +02:00
Thilo Behnke
7a4ef75c46 migrate game obj pos to float 2022-04-22 23:47:28 +02:00
Thilo Behnke
91a48cf132 fix perpendicular rotate + rotate -> issue in tests with rounding errors 2022-04-21 20:27:41 +02:00
Thilo Behnke
4373e1a593 wip - rotate 2022-04-21 20:24:22 +02:00
Thilo Behnke
54e19d4d5f better mutate vector instead of cloning and normalizing 2022-04-21 20:16:44 +02:00
Thilo Behnke
885ebdbd20 perpendicular vectors 2022-04-21 20:09:43 +02:00
Thilo Behnke
dc7f6c1e34 hotfix pos update for game objects 2022-04-20 23:54:05 +02:00
Thilo Behnke
ac2b5252fa debug collisions 2022-04-20 23:39:01 +02:00
Thilo Behnke
9870e719da use float in vector - breaks movement of objects 2022-04-20 23:35:27 +02:00
Thilo Behnke
cae1886684 fix tests + working bounds collisions 2022-04-20 23:01:16 +02:00
Thilo Behnke
52bc1cdd64 dev-ops/update-github-config 2022-04-20 22:17:55 +02:00
Thilo Behnke
1974a8a83c refactoring/refactor-game-logic-into-lib 2022-04-20 22:14:05 +02:00
Thilo Behnke
3c0cc3c3a5 Merge branch 'master' of github.com:thilo-behnke/wasm-pong 2022-04-20 00:07:26 +02:00
thilo-behnke
9f915ad8c8 Create rust.yml 2022-04-19 23:59:33 +02:00
Thilo Behnke
234b30df7a fixing tests 2022-04-19 23:59:13 +02:00
Thilo Behnke
385f029724 fixing tests 2022-04-19 23:56:00 +02:00
Thilo Behnke
a9dcff17f1 add bounds as game object 2022-04-19 23:52:20 +02:00
Thilo Behnke
67039b8c08 ping pong 2022-04-19 22:48:51 +02:00