Commit Graph

63 Commits

Author SHA1 Message Date
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
Thilo Behnke
09caf8c8c0 reformat 2022-04-19 22:36:34 +02:00
Thilo Behnke
0605b7495b collision tests 2022-04-19 22:36:17 +02:00
Thilo Behnke
04fbb6310d test setup for collision tests 2022-04-18 23:33:04 +02:00
Thilo Behnke
b5bae5114d collision registry 2022-04-18 22:53:41 +02:00
Thilo Behnke
deb0eb9af4 refactoring 2022-04-18 22:42:49 +02:00
Thilo Behnke
52ed27e16f add todo 2022-04-18 19:30:26 +02:00
Thilo Behnke
a465231592 collision with mut refs does not work 2022-04-18 19:27:36 +02:00
Thilo Behnke
1b5cb9ce1d game object ref in collision 2022-04-18 18:29:03 +02:00
Thilo Behnke
d072707157 generalized bounding box detection 2022-04-18 15:24:51 +02:00
Thilo Behnke
58c79126ff add velocity vector 2022-04-18 14:27:09 +02:00