To Infinity!
About:
So basically I made a simple addictive simulation with SFML, Emscripten and C++. And it works in the browser.
Also it is open source: https://github.com/Zombieschannel/ToInfinity
If you compile it yourself, there are a few deactivated features at the top of main.cpp.
On Itch there is only the embedded version, you can try out full screen versions here:
1080p version: http://zombieschannel.com/ToInfinity/
4K version: http://zombieschannel.com/ToInfinity4K/
8K version: http://zombieschannel.com/ToInfinity8K/
Status | Released |
Platforms | HTML5 |
Rating | Rated 5.0 out of 5 stars (1 total ratings) |
Author | Zombieschannel |
Genre | Simulation |
Made with | SFML |
Average session | A few seconds |
Comments
Log in with itch.io to leave a comment.
Pretty interesting, I made tetris or what not just for the heck of it with sfml, trying to understand currently how you managed to port it to web format, hopefully I get it somehow. But for sure an interesting approach and concept, fun to watch as well.
Just for the heck of it, if you are interested https://github.com/VerzatileDev/App.Tetris an old project decided to fix some stuff and etc. Didnt bother to completly fix the messy code, but here we are :)
It was a lot of work, first I made a fork of SFML which uses OpenGL ES 2 to be able to use shaders on mobile platforms (but also WebGL requires at least OpenGL ES 2) and then I made a fork that can work with Emscripten. The Emscripten fork was done relatively quick since there were already 2 forks out there (for SFML 2.2 and custom 3) so most of the Emscripten code is shared with those. I've made a video on this if you'd like a bit more info:
Did take a look at the video, but wasn't exactly sure how'd Id approach mine with it. As far as I remember Emscripten its documentation used to be weird as well as most of the code had to be rewritten to support it. My project itself uses SFML for the Input and Window which could be replaced by SDL in theory, but just enjoy the simplicity of SFML to be honest.
Will see maybe ill figure it out, thanks!
If you want to I made a resource page or place or sorts where I add weird information like that, that most often is not like searched for or answered here https://github.com/VerzatileDevOrg/Programming_HandBook , essentially a webpage I occasionally add some areas I explored to it with other people if you are interested.