Commit graph

56 commits

Author SHA1 Message Date
9df57e4aa9 Tidy typings for client server-connection dependency injection 2020-05-17 23:17:39 -04:00
9798687693 debug-log received websocket messages 2020-05-17 00:43:56 -04:00
ca5bf65e9d Change message type enum to serde-friendly strings; remove unused Ping message 2020-05-12 23:00:06 -04:00
a22ca95d3d Clarify error when unable to parse listen address 2020-05-11 08:59:23 -04:00
d031061c41 Create stub server in Rust using Warp to handle websockets. 2020-05-10 20:06:20 -04:00
5c9552fe49 lowercase folders for Rust convention compatibility 2020-05-10 18:47:03 -04:00
c620e4c982 Reset state on client connection instead of as a special manipulation of the local server. 2020-05-09 22:08:22 -04:00
7c06ab473d Break up client & server message handling logic into their own functions for better readability. 2020-05-09 22:07:42 -04:00
6427361d7b Fix typing for server in index.ts 2020-05-09 19:25:50 -04:00
44872c3d0e avoid accidental js spamming the project 2020-05-09 19:25:39 -04:00
c9f3a96662 tidy+update packages 2020-05-09 17:55:46 -04:00
a8b5dea37a Share one server instance between two client instances! 2020-05-02 21:22:57 -04:00
c8589828c7 Replace the stub loopback server with a local, but multi-client server. 2020-05-02 21:21:56 -04:00
633611056e create "catchTalkback" callbag operator 2020-05-02 21:21:56 -04:00
70946d450a vendor some callbag utilities for better typings 2020-05-02 21:21:56 -04:00
0726ed15f7 Add more callbag dependencies 2020-05-02 21:21:56 -04:00
258c179887 split generics for local/full input types for now
LoopbackServer still makes the assumption that GlobalInput = LocalInput[]
2020-05-01 22:51:21 -04:00
743905cad4 Add notion of multiple connected players to lockstep protocol 2020-05-01 22:21:37 -04:00
39018635cd fill out more planned message types 2020-05-01 22:21:37 -04:00
04f947e7a4 HMR stub 2020-04-04 21:48:50 -04:00
264db31ac7 Refactor typings to enforce cloning hygiene, at expense of intrusive Component type 2020-04-04 21:09:49 -04:00
33eb28e338 use callbag-pipe 2020-04-03 18:35:23 -04:00
48940e1073 Plan update 2020-03-26 00:31:27 -04:00
07071e6ca6 Hacky fix to state cloning 2020-03-26 00:31:27 -04:00
281514e7b7 draw backdrop 2020-03-26 00:31:27 -04:00
3a2bc5654e Hacky key control 2020-03-26 00:31:26 -04:00
e3ddadadda Add babel 2020-03-24 23:48:38 -04:00
4212952abc Remove decorators in favor of declarative initialization 2020-03-24 23:47:04 -04:00
a1900a4daa update package.json 2020-03-12 00:12:34 -04:00
1ed760781b update plan 2020-02-20 23:55:23 -05:00
4667c4b567 Update list of message types from thinking 2020-02-20 23:55:16 -05:00
01349724a9 stub "loopback" server 2020-02-16 00:42:58 -05:00
2bff1f6cdf nix dead code 2020-02-16 00:13:28 -05:00
bf26e85b49 Render stub static scene 2020-02-16 00:01:30 -05:00
d321098555 Create stub concrete lockstep engine 2020-02-16 00:00:54 -05:00
57c2364796 rejigger drawing layer storage 2020-02-15 23:47:41 -05:00
390e6744b9 copy constructors for states 2020-02-15 23:17:13 -05:00
5ca9397621 try new Input style 2020-02-15 23:15:59 -05:00
c77499a577 Add renderFrames callbag 2020-02-15 21:10:19 -05:00
5e29841717 Sketch out first pass of lockstep client code 2020-02-15 19:52:00 -05:00
33ddb75b14 add Callbag typings 2020-02-15 17:56:38 -05:00
200d0fdd70 Add Typescript Import Sorter config 2020-02-15 17:56:19 -05:00
14ccebc703 Add stub demo-playback code 2020-02-15 14:12:53 -05:00
21886c00a8 Remove TickType idea 2020-02-15 13:55:33 -05:00
4c337f3579 Factor strategies into helper object instead of requiring methods on types 2020-02-15 13:54:59 -05:00
2e0b0c4ff4 update plan 2020-01-28 22:52:40 -05:00
b5869b4a1c First Draft of Lockstep logic (untested) 2020-01-28 22:51:15 -05:00
02239bb4d2 Fix TransformCx hack that put collision detection rotation and render rotation out of sync.
(originally introduced to workaround AI getting the Y axis flipped)
2020-01-19 02:08:25 -05:00
5fed6ea82f Get old demo running 2020-01-19 01:24:29 -05:00
105ab7af03 Update plan 2020-01-19 01:24:04 -05:00