Commit Graph
53 Commits
Author SHA1 Message Date
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
Thilo Behnke 80b376609d refactoring 2022-04-18 13:39:31 +02:00
Thilo Behnke 020ebd6f63 bounding boxes 2022-04-17 23:55:31 +02:00
Thilo Behnke c44c88dd98 pass data as json? 2022-04-17 00:43:25 +02:00
Thilo Behnke 1b7dbc768d wip - boundaries 2022-04-17 00:36:00 +02:00
Thilo Behnke 54d81ddaad implement shape encoding and render 2022-04-17 00:35:44 +02:00
Thilo Behnke e86bc5f746 cleanup 2022-04-16 23:56:38 +02:00
Thilo Behnke 4a019cd253 move both players 2022-04-16 23:56:29 +02:00
Thilo Behnke 6e4a86d03f move player 1 2022-04-16 23:54:20 +02:00
Thilo Behnke 12b6b5c427 draw on canvas 2022-04-16 23:29:11 +02:00
Thilo Behnke c4c6b2b45d setup for pong game 2022-04-15 21:48:35 +02:00