Let's Build a Cross-platform 3D Engine with Kotlin/Multiplatform
TOPIC When creating a game, you want your game to be available on all platforms to target as many players as possible. Developing a game engine is a challenge: you have to deal with mathematical concepts, animations, player interactions… Creating an engine that runs on different platforms is even more challenging. Is Kotlin and Kotlin/Multiplatform could be the right tool to build this kind of engine? Let’s check this out together.
Message for you, so you can already be aware what you can expect from this session: Using existing Java game engines, you can create a game that runs on the JVM, in a browser or on Android and iOS. But it requires some complex tooling, when tools are available for the platform you’re targeting.
This session is about the creation of a game engine that runs the same way in a browser, in a JVM, on iOS or Android.
Throughout this session, attendees will learn:
- Basic matrix computation needed for 3D engine;
- Basic game development concept: drawing shapes on screen, dealing with skeleton animations;
- How to convert a pure Kotlin/JVM library into a Kotlin/Multiplaform library;
- Example of use of Kotlinx.serialization to share game content between each platforms;
- What didn’t work while budding this kind of engine, like building a common API over heterogeneous game engine; or converting a java engine into a Kotlin one;
- The challenges to build a game engine on the top of the Open GL API. (Open GL is a 3D API available almost everywhere: WebGL (browser), Open GL ES (Android / iOS - deprecated), Open GL (JVM / Native);
- Issues encounter to build such engine on different platform: name forbidden in Kotlin/JS (val input – package input conflict). Taking very seriously the naming and the abstraction on the common.
SPEAKER David Wursteisen - Margo Bank
ABOUT For David, computer science is not only about technics. That’s why he is working to mix others aspects with his coding skills. To make sure that IT will not be a center of cost but an asset.
Join to the community https://www.meetup.com/Kotlin-Budapest/
Social https://twitter.com/wearemakery https://instagram.com/wearemakery/ https://linkedin.com/company/wearemakery
