Menu

1 / 6

Building a game using Kotlin Multiplatform

DEV Community: ios·JE Ramos·7 days ago
#kVaE2y52
#devtoios#devto#dev#android#kotlin
Long article (1684 words) — no AI summary yet.
Reading 0:00
15s threshold

VibeBorn is a cozy, offline-first blind-box simulator. You wander a little toy town, buy boxes with gems you earned by playing, and open them in 3D to see which figure you got. It runs on iPhone and Android, and it's meant to work fine on a train with no signal.

For most of its life it was an iPhone-only app. When we decided to bring it to Android, we hit the question every small team hits: do we write the whole game twice?

The answer we landed on isn't new. Netflix wrote about it in 2020 , sharing the business logic of its studio apps between Android and iOS with Kotlin Multiplatform. In 2024 Google said that Google Docs does the same across Android, iOS and the web. Those apps aren't games, though, and a game pulls two ways at once. The unboxing has to feel right on each phone, while the rules have to match exactly on both, roll for roll.

So we split VibeBorn down the middle: native UI on each platform, and one shared Kotlin core underneath for odds, prices, rewards and time.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.