Re:Nitrome to convert its Flash game library to HTML5
by pjmlp on Thursday May 28, 2020 @02:15AM
(#23334012)
Hence WebAssembly + WebGL/WebGPU.
[ Parent
| on HN ]
Re:Nitrome to convert its Flash game library to HTML5
by coopsmgoops on Thursday May 28, 2020 @01:51PM
(#23340242)
There is functionality that is just not available while in the browser sandbox, so some flash apps will never work. But I'm happy to see this happening.
Re:Nitrome to convert its Flash game library to HTML5
by zwetan on Thursday May 28, 2020 @06:34AM
(#23335706)
WebAssembly not gonna give you access to syscall that are simply not there in the Web API
Re:Nitrome to convert its Flash game library to HTML5
by pjmlp on Thursday May 28, 2020 @07:11AM
(#23335940)
Text metrics, the graphics engine implemented on top of WebGL/WebGPU does it itself.
Weak references are coming, https://github.com/tc39/proposal-weakrefs
Re:Nitrome to convert its Flash game library to HTML5
by zwetan on Thursday May 28, 2020 @01:49PM
(#23340210)
no, I'm talking about this
[0] does support for socket(udp and tcp)? [1] encountered with problem when Porting UDP socket communication c code using emscripten
one example among other, and so you can use WebAssembly all you want you will never be able to implement flash.net.DatagramSocket
[0]: https://github.com/WebAssembly/design/issues/1251 [1]: https://github.com/emscripten-core/emscripten/issues/5196
Re:Nitrome to convert its Flash game library to HTML5
by pjmlp on Friday May 29, 2020 @01:49AM
(#23346648)
Yes you can, polyfill using WebSockets.
It would require a server component as gateway, so what.
Re:Nitrome to convert its Flash game library to HTML5
by Sophistifunk on Thursday May 28, 2020 @09:56PM
(#23345509)
Preaching to the choir my friend, this is the correct path.