🌞

Kotlin for the win

The flaws found in löve2d were the following:

  • Big package size (3MB of native libs)
  • Lack of locale detection
  • Lack of HTTPS support
  • Lack of strong typing in lua
  • Does not seem to crash correctly on android
  • All the UI must be created from scratch

After a little bit of research and testing, I finally decided to rewrite SolfeGuido using LigGdx with Kotlin as the programming language. Let’s see point by point how this frameworks solves every flaws of löve2D:

  • The empty android .adb is only 1MB, which is 3 times less than löve2D (and I don’t care about the build size for desktop)
  • Good support for i18n and an out of the box translation system
  • Https support thanks to the JRE
  • Really good typings, non-nullable types and more in Kotlin
  • Crash is reported on the google play
  • A really powerfull widget bundle that comes with animation support, styling, …

Because of all these existing features, it takes time to learn how to use them properly, but when you know how to use them, you can work quite fast on the app.

Hopefully, this will be a good choice for the future, we’ll see how it goes !