I've been messing around with SFML, it's my first experience with C++ and I'm enjoying it. But I'm wondering how to publish my game onto anything other than a native platform. Noting that this is my first time dealing with porting and C++, could anyone explain this to me as if I'm 5?

Thanks in advance.


closed as off-topic by Anko, Josh Aug 6 '15 at 23:01

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about "how to get started," "what to learn next," or "which technology to use" are discussion-oriented questions which involve answers that are either based on opinion, or which are all equally valid. Those kinds of questions are outside the scope of this site. Visit our help center for more information." – Josh
If this question can be reworded to fit the rules in the help center, please edit the question.

  • \$\begingroup\$ This question is quite broad, but here are some pointers to find out what you mean: If you want to automatically port game logic, you might like emscripten, an LLVM-to-JavaScript compiler. You'll have to manually port the graphics code from SFML to HTML canvas/WebGL though… If you meant porting it manually, then get to work! :) (Do you have a more specific thing bit you're stuck on?) \$\endgroup\$ – Anko Aug 5 '15 at 13:12
  • \$\begingroup\$ I'm really new to cross platform development, from what I understand sfml is a c++ specific library, so it can't be used in the browser, is there any application that will save me the hours of work porting it into html5 or flash? Emscriptem only ports game logic, and not the graphics code used for the game. \$\endgroup\$ – Heasummn Aug 5 '15 at 22:54

Here is a list of all known SFML bindings. I work now for a few years with SFML but I've never heard about something like a web binding for browsers. If you are new to SFML and c++ you can probably look a bit arround and search for the best language/graphic libary which fit perfectly in your needs.


Not the answer you're looking for? Browse other questions tagged or ask your own question.