Open Eggbert target Desktop, Android and Web.
Available Java SE classes and libraries are limited on Android and Web.
Web (browser): GWT is used. There are also some alternatives like TeaVM.
Features not supported by GWT
- Formatting: The use of
String.format()
is not available. - Regular expressions: Although regular expressions are limited, a simple version of
Pattern Matcher
is included. - Reflection: Instead of standard reflection, use
libGDX
reflection. - Multithreading: While GWT supports timers, it does not allow the use of threads at all.
External links
https://libgdx.com/dev/contributing/#considerations-for-gwt-compatibility