Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
Is it possible to embed an SFML game on a site?
Print
Pages: [
1
]
Author
Topic: Is it possible to embed an SFML game on a site? (Read 5400 times)
0 Members and 1 Guest are viewing this topic.
ZakirG
Newbie
Posts: 1
Is it possible to embed an SFML game on a site?
«
on:
August 14, 2014, 04:29:08 am »
How would one go about packaging/uploading an SFML game to a website and displaying it in a frame?
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11030
AW: Is it possible to embed an SFML game on a site?
«
Reply #1 on:
August 14, 2014, 08:08:36 am »
Not at all.
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Jesper Juhl
Hero Member
Posts: 1405
Re: AW: Is it possible to embed an SFML game on a site?
«
Reply #2 on:
August 14, 2014, 09:11:41 am »
Quote from: eXpl0it3r on August 14, 2014, 08:08:36 am
Not at all.
That's not entirely true. It might not be simple or easy to do, but in theory it should be possible to use
emscripten
to compile the SFML C++ application to Javascript and then run it in a browser. Take a look at their
examples
- it's pretty impressive what they have gotten to work that way.
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11030
Re: Is it possible to embed an SFML game on a site?
«
Reply #3 on:
August 14, 2014, 09:23:49 am »
Guess I'm not enough of a web-scale hipster to consider such a thing.
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
zsbzsb
Hero Member
Posts: 1409
Active Maintainer of CSFML/SFML.NET
Re: Is it possible to embed an SFML game on a site?
«
Reply #4 on:
August 14, 2014, 02:34:19 pm »
SFML is unable to work with emscripten so you can forget that idea.
http://kripken.github.io/emscripten-site/docs/coding/multimedia_and_graphics/OpenGL-support.html
Logged
Motion / MotionNET
- Complete video / audio playback for SFML / SFML.NET
NetEXT
- An SFML.NET Extension Library based on
Thor
thomas9459
Newbie
Posts: 49
Re: Is it possible to embed an SFML game on a site?
«
Reply #5 on:
August 14, 2014, 07:32:33 pm »
How much work do you think it would take to port SFML to emscripten? Would it require rewriting the entire rendering system or only a few minor changes?
Logged
Kojay
Full Member
Posts: 104
Re: Is it possible to embed an SFML game on a site?
«
Reply #6 on:
August 14, 2014, 09:56:53 pm »
This seems like an obvious place to mention
Featherkit
. It is not unlike SFML and it can use it as a back end. Then, one can switch to SDL as back end and use emscripten.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
Is it possible to embed an SFML game on a site?