Commit Graph

85 Commits

Author SHA1 Message Date
Thilo Behnke
24ca4e2a36 working controls 2022-06-19 16:04:06 +02:00
Thilo Behnke
774f1a2f09 get inputs 2022-06-19 15:46:16 +02:00
Thilo Behnke
db62e6777d fix double rendering issue 2022-06-19 15:35:47 +02:00
Thilo Behnke
1b3e29a00b visible fps counter 2022-06-19 15:11:50 +02:00
Thilo Behnke
916fb1a02e wip - fps counter 2022-06-19 13:34:09 +02:00
Thilo Behnke
e78657aa24 refactor render methods to util 2022-06-19 13:11:30 +02:00
Thilo Behnke
399dce862b use store for width/height to enable resize 2022-06-19 12:57:47 +02:00
Thilo Behnke
c4206bc04d canvas rendering restored 2022-06-19 12:47:17 +02:00
Thilo Behnke
ea2c6f2c28 fix dev server setup / build 2022-06-19 12:28:40 +02:00
Thilo Behnke
39fef94b59 svelte wasm setup 2022-06-19 12:11:17 +02:00
Thilo Behnke
8e3101ba5d actor model 2022-06-19 11:48:06 +02:00
Thilo Behnke
8f7dde2443 send heartbeat 2022-06-19 11:42:07 +02:00
Thilo Behnke
1e0785ca16 compiling code 2022-06-19 11:15:11 +02:00
Thilo Behnke
336ae38838 Revert "&str instead of String for event?"
This reverts commit f06b940c0a.
2022-06-19 00:59:22 +02:00
Thilo Behnke
f06b940c0a &str instead of String for event? 2022-06-19 00:58:14 +02:00
Thilo Behnke
c245447750 batch write for events 2022-06-19 00:54:21 +02:00
Thilo Behnke
5515893872 implement event write for host/peer 2022-06-19 00:20:05 +02:00
Thilo Behnke
1568a3f982 refactor message collection to snapshot 2022-06-18 21:09:21 +02:00
Thilo Behnke
2d6f2ff9cb enum value serialization for session events 2022-06-18 20:38:40 +02:00
Thilo Behnke
8b72ad3fb5 refactor session event writing 2022-06-18 20:13:28 +02:00
Thilo Behnke
778d86fb8a rename ws handler 2022-06-16 21:31:41 +02:00
Thilo Behnke
b10b2e8e7a wip integration into websocket handler 2022-06-16 21:31:19 +02:00
Thilo Behnke
f89ed34be0 full serializer/deserializer implementation for events 2022-06-16 21:27:23 +02:00
Thilo Behnke
7368abee55 wip - deserialize complete message 2022-06-16 21:05:02 +02:00
Thilo Behnke
260c9740ec refactoring/server 2022-06-16 20:49:26 +02:00
Thilo Behnke
8f53b701cb dev-ops/fix-local-js-dev-server-ws-connection 2022-06-16 19:54:43 +02:00
Thilo Behnke
579deafe47 dev-ops/faster-docker-build-times 2022-06-16 16:56:16 +02:00
Thilo Behnke
e11dbdba57 dev-ops/fix-wasm-client 2022-06-16 16:18:32 +02:00
Thilo Behnke
f75827f927 dev-ops/fix-and-cleanup-unit-tests 2022-06-16 15:55:57 +02:00
Thilo Behnke
d69deaad1c dev-ops/migrate-vector-tests-into-module 2022-06-16 15:34:08 +02:00
Thilo Behnke
66b8b69c11 dev-ops/fix-pong-tests 2022-06-16 15:27:48 +02:00
Thilo Behnke
1532462e6e dev-ops/fix-linting-issues-in-tests 2022-06-16 14:54:21 +02:00
Thilo Behnke
f8578be865 dev-ops/fix-build-warnings 2022-06-16 14:45:42 +02:00
Thilo Behnke
7ca1c63e88 dev-ops/dockerized-build 2022-06-16 00:04:55 +02:00
Thilo Behnke
9207f76659 feature/event-web-client-integration 2022-06-11 17:26:35 +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