News for hackers. Stuff that matters.
Re:Making a cross-platform mobile game in Reason/OCaml by jaredly on Saturday January 13, 2018 @08:09PM (#16142309)
In the game, the only place I check the platform is to see how big I should make the screen (like 3 lines). Everything else is shared! The big news here is that you can use a single codebase (and a nice advanced language like ocaml), and deploy to 4 platforms. The framework I'm using is called "reprocessing", which is a ~port of the "processing" language to OCaml, targetting OpenGL. It abstracts out the different platforms.
Re:Making a cross-platform mobile game in Reason/OCaml by k__ on Sunday January 14, 2018 @10:08AM (#16144515)
I guess the Linux port wouldn't be a big thing, but what about Windows?
Re:Making a cross-platform mobile game in Reason/OCaml by drdiablo on Tuesday January 16, 2018 @07:15PM (#16164238)
We are actively working on it. Linux's well on its way and is much easier than windows. We're open to PRs ;)

We consolidated web and native desktop in one repo https://github.com/bsansouci/reasongl. iOS and android are still out because we're still figuring how everything should fit together to be useful.