Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
Web Application
Print
Pages: [
1
]
Author
Topic: Web Application (Read 2290 times)
0 Members and 1 Guest are viewing this topic.
etixpp
Jr. Member
Posts: 82
Web Application
«
on:
June 02, 2013, 02:58:24 pm »
Is there a way to bind a Sfml game into a website? Like a java applet?
Logged
http://foxfiredev.net/
Zombie survival game i am working on:
http://foxfiredev.net/portfolio/contamination-zombie-survival-game-2d/
Laurent
Administrator
Hero Member
Posts: 32498
Re: Web Application
«
Reply #1 on:
June 02, 2013, 07:05:28 pm »
Since SFML doesn't provide anything to do so, you must find generic tools to run C++ apps into the browser. Google's NaCl (Native Client) does this, if I remember correctly.
You can also use the java binding.
Logged
Laurent Gomila - SFML developer
MorleyDev
Full Member
Posts: 219
"It is not enough for code to work."
Re: Web Application
«
Reply #2 on:
June 02, 2013, 09:42:57 pm »
I've not done so, but someone may want to look into
emscripten
. It's an LLVM to Javascript compiler. Since you can compile C++ to LLVM, and then that to Javascript, it may be possible to port parts of SFML to Javascript.
However, this may need to wait until SFML supports OpenGL 2.0 ES, since it turns the OpenGL calls to WebGL.
Logged
UnitTest11
- A unit testing library in C++ written to take advantage of C++11.
All code is guilty until proven innocent, unworthy until tested, and pointless without singular and well-defined purpose.
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
Web Application