You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how can I use external tilesets with WASM? The file API is not implemented for the WASM target. Therefore we have to deal with URLs in the internet.
Ideally I would like an API like
let map = parse_with_url(reader, Url::new("https://directory/tilemaps/")).unwrap();
If this is not possible I could make this work the following way
let tilesets = get_external_tilesets(reader).unwrap();
//request tilesets by url via Javascript, store them in my_external_tilesets, then enter WASM again
let map = parse_with_external_tilesets(reader, my_external_tilesets).unwrap();
Thanks
The text was updated successfully, but these errors were encountered:
They're likely outdated, but could be useful to start from. They worked well enough last year for me to make a WASM build of a game running on top of good-web-game.
Hello,
how can I use external tilesets with WASM? The file API is not implemented for the WASM target. Therefore we have to deal with URLs in the internet.
Ideally I would like an API like
If this is not possible I could make this work the following way
Thanks
The text was updated successfully, but these errors were encountered: