To anyone with experience on the matter: I'm looking for making a mobile app which resembles more of a game or "a graphical app" and was looking into tech I could use, all I need is a drawing API I could use cross platform for Android and iOS without much hassle, don't need any OS specific widget/component, I just want to draw stuff on the screen, handle touch input and do some network calls. Possibly with a statically typed language that gets compiled and has good performance. So far I excluded React Native because it's javascript and has too many dependencies(especially with expo) and SDL3 with plain C which seemed a little too much low level to dealing with on a mobile phone. Also tried go mobile but seems unmaintained and gives opengl context which is deprecated on iOS, and finally I'd really liked using Raylib but no iOS support :(. Any suggestion?
loading story #47224459
C# + https://monogame.net
- Desktop: Windows, MacOS, Linux
- Mobile: Android, iOS, iPadOS
- Console: Playstation 4, Playstation 5, Xbox One, Nintendo Switch
It used to be XNA but then Microsoft discontinued and the community created the API compatible MonoGame.
Notable games: Terraria (when it was XNA), Stardew Valley, Celeste, Terraria and Fez.
I personally use Skia, in combination with a very thin platform layer. I do use C++ so that might still be a bit too low level, but after having set up everything, the Skia API is really nice for just drawing some text / other primitives onto the screen.
React Native uses Skia under the hood as far as I recall.
loading story #47218726
If you are willing to try out Lua there is Love[1]. Supports most common platforms on PC and mobile.
loading story #47218693