Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android game development in C#

I want to know, is there any way to develop games for Android-based mobiles (and maybe iPhone) in C#? Yep, i know about "MonoDroid/Mono for Android", but well... it's not free. Java is great but Dalvik performance is far worse than Mono. And it lacks of some features that are very useful for game development such as operator overloading. Furthermore, there is OpenTK framework which is simply amazing.

So, is it possible to get running .NET/Mono on Android for free? Or am I sentenced to Java?

like image 403
Diazath Avatar asked May 28 '11 21:05

Diazath


People also ask

Is C good for game development?

C++ is a high performer when compared to other languages used for game development. Other popular game programming languages include Python, Java, C, and C#. While C is another low-level language used to program games, the focus of our comparison will be the higher-level languages in the running against C++.

Can you make an Android game with C++?

Beginning Android C++ Game Development introduces general and Android game developers like you to Android's powerful Native Development Kit (NDK). The Android NDK platform allows you to build the most sophisticated, complex and best performing game apps that leverage C++.

Is C or C++ better for game development?

Direct code compilation provides better code performance, making games more efficient with a faster gaming experience. Unlike C#, C++ is efficient in dealing with low-level C and assembly languages, making games developed in C++ relatively faster.

What programming language is used for Android games?

C/C++ game libraries Most games and game engines are written in C++, whereas Android development often requires using the Java programming language. Bridging these two languages using a Java Native Interface requires effort and can introduce bugs or performance regressions.


1 Answers

You would have to be able install unmanaged code on the device. I would recommend using Java, because I can foresee deployment being difficult with mono. Google might not let you sell your app on their marketplace with large quantities of unmanaged code. It would also tie you down to Android phones sporting a particular brand of processor, not much of a problem as all of the phones I can think of use ARM processors but there are some exceptions.

You could try http://www.mono-project.com/Mono:ARM if you are sure about this.

Operator overloading is simply syntactic sugar. I'm sure you are capable of writing applications without it. And Java can't be without its own suitable frameworks surely.

Android is overflowing with java and its most likely easier not to try and fight it.

like image 169
eyesathousand Avatar answered Oct 01 '22 21:10

eyesathousand