evgenyzinoviev / gravitydefied

This is an unofficial port of a classic J2ME game to Android
GNU General Public License v2.0
127 stars 25 forks source link

porting back to J2ME / up to desktop Java? #8

Open Mis012 opened 3 years ago

Mis012 commented 3 years ago

Hi, how much work would it be to port the touch support (and other improvements) back to J2ME? (provided it ever supported multitouch), or alternatively to desktop Java?

while (complete enough) reimplementation of J2ME libraries exists, and therefore one can run J2ME apps natively on platforms with desktop Java, sadly it seems extremely unlikely that the same will ever happen for android's java ABI (though it would, imho, be far superior to any other approach to running android apps on other platforms)

gch1p commented 3 years ago

But... why would you want to port it back to J2ME?

Mis012 commented 3 years ago

because there is FreeJ2ME, which implements J2ME ABIs and allows me to run J2ME apps on Linux without any overhead.

the chance that anyone will ever reimplement android ABIs in either desktop Java or POSIXy C with SDL/Gtk/whatever seems close to zero, since there are multiple projects that seek to bring android app support to Linux or other platforms and all of them escape android environment at much more costly levels...

the reason I care about this on Linux is that Linux on phones is becoming reality, and this is one of the easier games to port :D

I guess ideally the keyboard would be external to the game, since it's pretty much the best touchscreen keyboard of this type that I've ever seen and it would be nice to be able to use it in other J2ME games