Making a cross-platform mobile game in Reason/OCaml
jaredforsyth.com
Making a cross-platform mobile game in Reason/OCaml
1–10 of 27 posts
Re: Making a cross-platform mobile game in Reason/OCaml
#2Re: Making a cross-platform mobile game in Reason/OCaml
#3At the app/game level, is there any platform-specific code? Or is it all in src? And to clarify, the big news here is cutting down on the yak-shaving with the cross-compilers and build systems right? Does it enforce any conventions on the code? Did you use any frameworks to create the game itself?
Re: Making a cross-platform mobile game in Reason/OCaml
#4Very cool. Hot reloading in iOS would be extreamly useful. I remember that I used a plugin that was called injectionforxcode but it was not working very well.
Re: Making a cross-platform mobile game in Reason/OCaml
#5Very cool. Hot reloading in iOS would be extreamly useful. I remember that I used a plugin that was called injectionforxcode but it was not working very well.
There is no hot reloading in the toolchain, but the compiler is very fast. I am not sure what you mean by xcode plugin, this is a js application, Reason is syntax for ocaml using bucklescript backend.
Re: Making a cross-platform mobile game in Reason/OCaml
#6Very cool. Hot reloading in iOS would be extreamly useful. I remember that I used a plugin that was called injectionforxcode but it was not working very well.
There is no hot reloading in the toolchain, but the compiler is very fast. I am not sure what you mean by xcode plugin, this is a js application, Reason is syntax for ocaml using bucklescript backend.
Re: Making a cross-platform mobile game in Reason/OCaml
#7Very cool. Hot reloading in iOS would be extreamly useful. I remember that I used a plugin that was called injectionforxcode but it was not working very well.
Re: Making a cross-platform mobile game in Reason/OCaml
#8/u/jaredly, thanks for posting, this is really exciting! I've been reading about Reason here and there, and I've always wanted to write a simple game. At the app/game level, is there any platform-specific code? Or is it all in src? And to clarify, the big news here is cutting down on the yak-shaving with the cross-compilers and build systems right? Does it enforce any conventions on the code? Did you use any framewor…
It's a single codebase and build system. There's platform-specific code buried in some conditional compilation in the Reprocessing drawing lib he uses: https://github.com/Schmavery/reprocessing
Here's a livestream of the Reprocessing folks making a flappy bird clone (https://github.com/schmavery/flappybird) from scratch: https://www.youtube.com/watch?v=5aD3aPvNpyQ&feature=youtu.be...
Re: Making a cross-platform mobile game in Reason/OCaml
#9/u/jaredly, thanks for posting, this is really exciting! I've been reading about Reason here and there, and I've always wanted to write a simple game. At the app/game level, is there any platform-specific code? Or is it all in src? And to clarify, the big news here is cutting down on the yak-shaving with the cross-compilers and build systems right? Does it enforce any conventions on the code? Did you use any framewor…
Re: Making a cross-platform mobile game in Reason/OCaml
#10Very cool. Hot reloading in iOS would be extreamly useful. I remember that I used a plugin that was called injectionforxcode but it was not working very well.
There is no hot reloading in the toolchain, but the compiler is very fast. I am not sure what you mean by xcode plugin, this is a js application, Reason is syntax for ocaml using bucklescript backend.