Jump to content
  • Advertisement
ssssss1

Use webassembly or no ?

Recommended Posts


Hello,

I want to know if it's good in this moment to begin to use wasm(2D game with webassembly using code C and Javascript). 

Because webassembly Is new and I dont know if it's compatible with all navigators.

Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
Posted (edited)

I know that Unity can compile to Wasm. But Unity Team is not supported Wasm for mobile devices: https://docs.unity3d.com/Manual/webgl-browsercompatibility.html
 

Quote

Note that Unity WebGL content is not currently supported on mobile devices. It may still work, especially on high-end devices, but many current devices are not powerful enough and don’t have enough memory to support Unity WebGL content well. For this reason, Unity WebGL shows a warning message when trying to load content on mobile browsers (which can be disabled if needed).


Maybe Wasm does not work of mobile devices. I cannot check it. I study pure WebGL and TypeScript (my opinion that TS is better than JS). Pure WebGL 1.0 is supported on all modern browsers (expecting Opera Mini).

If you want to use WebAssembly I think this course is good for beginners: WebAssembly - Accessing C and C++ in Web Applications

Edited by 8Observer8

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!