This is gold. I've been struggling to port from sdl to emscripten for 2 days now. THANK YOU!!!
@jarreed0 Жыл бұрын
Feel free to share your project wants you've got it working. I'd love to check it out
@superryan269710 ай бұрын
Can you use SFML instead of SDL2?
@mmujtabah8 ай бұрын
Have you figure it out anything?
@Karttibone2 жыл бұрын
Does it work with both sdl run on gpu and cpu? Edit: Ok saw the accelerated tag. Thx man!
@dsnahogaragames Жыл бұрын
Awesome video!! I wonder if this could work with glfw 😮
@levshx19 күн бұрын
Yes, glfw works. imgui output works too :D
@SrAzion2 жыл бұрын
Very cool
@jabahuntercrypto Жыл бұрын
Guy, i like this
@OriginRow2 жыл бұрын
Will it work UE games made with blueprints?
@jarreed02 жыл бұрын
Sorry, I'm not sure
@niorad2 жыл бұрын
There are some community efforts to make web-export/wasm etc. work for UE but nothing official. If you want to export projects for web, Unreal is not the first choice.
@OriginRow2 жыл бұрын
@@niorad Thank you for giving some vibes. I will give it a try. And one question Will emsdk or wasm whatever it is....will it detect graphics libraries automatically WebGL 2 ?
@DzwiekiOtchlani Жыл бұрын
Seems interesting but for simple games it would be easier for me to just rewrite it to js/ts than to play with this toolchain 💀
@coolcodingcat6 ай бұрын
I am trying this, but I get these errors: index.js:940 wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'. index.js:941 falling back to ArrayBuffer instantiation index.js:4249 emscripten_set_main_loop_timing: Cannot set timing mode for main loop since a main loop does not exist! Call emscripten_set_main_loop first to set one up. What am I doing wrong? I am using nginx, and I think first of all I have to update mime.types, but I am not sure what to put, but I want to make it recognaize wasm files properly
@coolcodingcat6 ай бұрын
I fixed the first 2 errors by adding 'application/wasm wasm' as a line inside /etc/nginx/mime.types