Commit Graph

34 Commits

Author SHA1 Message Date
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
Thilo Behnke
31b2d9ea08 following tutorial 2022-04-15 17:21:26 +02:00
Thilo Behnke
92677d9278 game of life implementation from tutorial 2022-04-15 17:07:43 +02:00
Thilo Behnke
422bb76a0b boilerplate from tutorial 2022-04-15 16:31:13 +02:00