2 ms·
I haven't checked the DOOM one, but for the Pong example, the keyboard input is prerecorded. As in the sequence of the keyboard key press are sequenced in a TS
by darcien 2y ago
I haven't checked the DOOM one, but for the Pong example, the keyboard input is prerecorded. As in the sequence of the keyboard key press are sequenced in a TS array[0].
[0]: https://github.com/MichiganTypeScript/typescript-types-only-wasm-runtime/blob/afb418c24fa3980ec4cd4e4b04382fc7759ed348/packages/playground/pong/pong.engine.ts#L30-L47 https://github.com/MichiganTypeScript/typescript-types-only-...
- dimitropoulos 2y agoyep! exactly this! like how a tool assisted speedrunner works
- Jare 2y agoThat's also how the Doom demos worked right? :D