25 points · by lobo_tuerto · 11y ago · 9 comments
This goes also the other way. If I hack for fun, I often think about how to abstract stuff that is not specific to my current problem and put it into a library (I think we all have been there). Fact is, I often rush, so my abstraction only works for the current situation and so does not belong into a library. Until I did not reimplement the stuff at least 3 times I try to avoid making a library.
My game is pretty crappy but I overcame a bunch of (mostly boring) technical issues to get it running on both Android and iOS. Here is a repo that sets up an Android development environment.
I think this at least exposes how you can do it, and what kind of tools it uses to accomplish it.
After I also stumbled upon this: http://elm-lang.org/guide/reactivity
And then on this: https://github.com/evancz/elm-architecture-tutorial/
- you find tons of documentation
- you will run anywhere (that is obviously not trivial)
In particular if you are going 2D you can skip OpenGL if speed is not a problem (yet).You then just write a small C-kernel which provides the main functionality and explore Haskell's FFI.
kasbah authored 13 days ago