I was giving this idea a thought the last couple of weeks. What if a C2/GMS/GS game creator that ran on EVERYTHIG.. ok Desktop/Laptop/Tablet.
I think that would be awesome. My theory the best way to do it.
This is just theory. i haven't looked into the practicalities of this.
Java code base. This would let the game tools work on Win/Lin/Mac/Android. Then with J2ObC. Of course this is not 1:1. There would require overhead layouts to bind the gui. but the logic level get's to remain the same.
game logic is output as primary Java, but with
Java to JS
J2ObC
java to c++
it's of course not that simple. there is all sorts of libraries that just don't simply convert. However once you have the source code. You could maybe write exporters that go through the files and modify the function calls to those in use.
Also there are pretty snazzy Codea features that could be implemented
twolivesleft.com/Codea