3 ms·
My goal is to make a full kotlin android/iOS/backend game with shared business logic. How fare are wew from that?
by al_ 7y ago
My goal is to make a full kotlin android/iOS/backend game with shared business logic. How fare are wew from that?
- krilly 7y agoWhy not unity? (It's an obligatory question at this point)
- al_ 7y agoBecause I absolutely love Kotlin and I feel I'm much more productive with it. I have a hard time working with script languages and feel confident on my code nowadays. Also, Kotlin let you use tons of java libraries.
- juskrey 7y agoC# is hardly a script language, also Kotlin Native is hardly a tool for gaming with its lack of real multithreading support
- hamoid 7y agoBecause it's not FLOSS. At least that's my reason.
- skinnyasianboi 7y agoI both wrote games with Unity and Kotlin. Kotlin makes me much more productive and libgdx is well more suited for 2D games. Backend in unity?
- outadoc 7y agoThere was a talk about it at KotlinConf. https://kotlinconf.com/talks/6-dec/124273/ https://kotlinconf.com/talks/6-dec/124273/ The individual talks' videos aren't up yet but you can probably find it here: https://youtu.be/nfb6lDnvtKQ?t=13852 https://youtu.be/nfb6lDnvtKQ?t=13852
- mmahemoff 7y agoQuizlet has been doing shared business logic with Kotlin - Ankush Gupta has written and talked about it https://medium.com/tech-quizlet/shared-code-at-quizlet-kotlin-multiplatform-2ee1b57646c https://medium.com/tech-quizlet/shared-code-at-quizlet-kotli.... We've been experimenting with this model too, as "write once, run anywhere" is very tempting for business logic, but those platforms have traditionally fallen down when it comes to UI and other native functions (e.g. alarms, sensors, etc). So far, it's proving very do-able. Non-trivial in some areas such as multi-threading, but a lot more practical than replicating the same logic across Android, iOS, and web.