Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Maxqia

Pages: [1]
1
Feature requests / Re: Making SFML work with web assembly?
« on: August 16, 2018, 07:42:04 am »
Was looking for this to turn my simple SFML game into a web app and found this.
WebAssembally seems to be designed for Emscripten, a compiler that compiles C++ into Javascript.
From the look of it, it supports OpenGL ES 2.0 and 3.0 with their C API/Libraries.
Someone would probably need to port SFML to the HTML5 C API that Emscripten provides to get it to work on the Web.

Port of SDL2 to Emscripten : https://github.com/emscripten-ports/SDL2
Emscripten API : https://kripken.github.io/emscripten-site/docs/api_reference/html5.h.html
https://kripken.github.io/emscripten-site/docs/porting/multimedia_and_graphics/OpenGL-support.html

Pages: [1]
anything