upvote
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.

reply
OpenFL should cover your needs pretty well. https://openfl.org
reply
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.

reply
I'd love to use Skia. Any template/starter I can look for having both Skia and c++ compiling inside xcode/android studio?
reply
If you are willing to try out Lua there is Love[1]. Supports most common platforms on PC and mobile.

[1] https://love2d.org/

reply
I really like love2d and used prior but lua isn't compiled and network support is limited, although I see they now support https requests on the latest version
reply