Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# on Android: Xamarin or Unity? [closed]

I am a student and am supposed to code an Android application, probably a game. I have the opportunity to choose my programming language. I find JAVA quite ok, but I somehow like C# more. However, since C# is not natively supported by Android, I am looking for a way of implementing it.

I have found a lot of recommendations for Xamarin, but it is not free. I understand, that the developers should be paid for their work, but since I am a student and will not make any profit of the app, it seems to me unfair to pay anything. I have come across Unity, which is free, but there is very little user feedback, compared to Xamarin.

So, I would like to ask you for your recommendations - is Unity good enough, or should I sacrifice some money and buy Xamarin? Or are there any other solutions?

like image 421
Storm Avatar asked Mar 26 '13 23:03

Storm


People also ask

What is C in simple words?

What is C? C is a general-purpose programming language created by Dennis Ritchie at the Bell Laboratories in 1972. It is a very popular language, despite being old. C is strongly associated with UNIX, as it was developed to write the UNIX operating system.

Is C or C++ same?

While C and C++ may sound similar, their features and usage differ. C is a procedural programming language that support objects and classes. On the other hand C++ is an enhanced version of C programming with object-oriented programming support.

What is full name of C?

In the real sense it has no meaning or full form. It was developed by Dennis Ritchie and Ken Thompson at AT&T bell Lab. First, they used to call it as B language then later they made some improvement into it and renamed it as C and its superscript as C++ which was invented by Dr.


2 Answers

If you are going to choose to use Xamarin.Android don't forget that Xamarin offers Student Licenses. These cost $99 at the moment.

On another note you might also want to look into MonoGame, which is essentially what know as XNA. With either MonoGame or Unity you should be able to make some nice games.

The "Size capped to 32k of IL code" is not actual IL code but what you have in your output folder in your project. If you are going to create a game with sprites and sounds and such, 32k is not going to reach very far unless you load these resources from the Net or similar.

like image 103
Cheesebaron Avatar answered Nov 06 '22 08:11

Cheesebaron


Xamarin now has a free plan, you should give it a try. Of course there are restrictions but it may be okay for your student project. I used earlier versions of monodroid and I really recommend it whether you are using osx or windows.

like image 3
Julien Avatar answered Nov 06 '22 08:11

Julien