Commit Graph
40 Commits
Author SHA1 Message Date
Thilo Behnke 41f6ae77e7 working player bound collision 2022-05-02 13:28:55 +02:00
Thilo Behnke 9fd69abc26 show debug info in canvas 2022-05-02 13:15:21 +02:00
Thilo Behnke 47fc0b6811 buttons for pausing/resuming/tick game 2022-05-02 12:50:09 +02:00
Thilo Behnke ccfe632c17 logger impl 2022-05-02 11:29:09 +02:00
Thilo Behnke 9d89c70195 clonable logger? 2022-05-01 18:42:19 +02:00
Thilo Behnke 213ea54509 object composition really right approach? would be much simpler to just copy the game objs if needed 2022-05-01 18:33:54 +02:00
Thilo Behnke 967e13545d player bound collision tests 2022-05-01 18:08:50 +02:00
Thilo Behnke f7962531c6 working solution? RefCell::borrow was shadowed 2022-04-26 23:57:26 +02:00
Thilo Behnke 2aff2713d3 using refcells? 2022-04-25 23:57:40 +02:00
Thilo Behnke 9cfd250b81 clone a boxed trait object? or wrong approach? 2022-04-24 23:51:55 +02:00
Thilo Behnke a0f53ec2c7 trait matching does not exist 2022-04-24 23:23:30 +02:00
Thilo Behnke 86b1ac6052 wip - created geom & physics comp 2022-04-24 18:32:22 +02:00
Thilo Behnke ee2f8e932b more tests + logger 2022-04-23 12:22:24 +02:00
Thilo Behnke 7a4ef75c46 migrate game obj pos to float 2022-04-22 23:47:28 +02:00
Thilo Behnke ac2b5252fa debug collisions 2022-04-20 23:39:01 +02:00
Thilo Behnke cae1886684 fix tests + working bounds collisions 2022-04-20 23:01:16 +02:00
Thilo Behnke 1974a8a83c refactoring/refactor-game-logic-into-lib 2022-04-20 22:14:05 +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 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