Skip to content

Commit

Permalink
Mention wasm32-wasi-port
Browse files Browse the repository at this point in the history
  • Loading branch information
michaliskambi committed Nov 3, 2024
1 parent 96c25a9 commit 25f3a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/doc/web.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ We could also use https://en.wikipedia.org/wiki/Brotli[Brotli], a newer compress

== TODO: How to continue

- Read about _WebAssembly_ and _Pas2js + WebAssembly_. Figure out how to make the compiled code in `platformer.wasm` actually run in the browser.
- Read about _WebAssembly_ and _Pas2js + WebAssembly_. Figure out how to make the compiled code in `platformer.wasm` actually run in the browser. Consult https://github.com/Kagamma/castle-engine/tree/wasm32-wasi-port[wasm32-wasi-port] Kagamma's branch (though it is based on old CGE now)).
- Start by getting the basics, writelns, logs (`CastleLog`) from CGE work and be visible in the browser console.
- Then make the rendering work, by making our `CastleGLES` route calls to WebGL on the web. At the beginning, test by simple drawing (e.g. `DrawPrimitive2D`) before you have any data.
- Then finish the plans in "How" section above: data from zip, sound, automatic webserver, etc.
Expand Down

0 comments on commit 25f3a0c

Please sign in to comment.