In the video game industry there is an increasing demand for the ability to be run on multiple platforms. During the development of professional, high budget titles, they invest high amount of resources in the implementations for various platforms. The topic of this thesis is a solution that is also available for lower budget games, and easy to implement.
Kotlin was first introduced in 2011 as an open source programming language for the Java platform. The first stable version came out in 2016. Thanks to its strong type system, functional abilities, and concise syntax, it has gained more and more popularity, especially among Android developers. It has become an officially supported language of the operating system.
In this thesis, I introduce the basics of Kotlin, its multiplatform features, and I show a way to implement a 3D multiplatform game using Kotlin and OpenGL, that is able to handle various types of input devices, like keyboard, touchscreen, and acceleration sensors. The game is available to Android, browsers, and desktop operating systems.