Before updating to Windows 10 you may need to return your Pro license. More information here

Which programming languages i should learn first to use unity 3d if i want to make a simple games for iphone and ipad?

Pleas help me for buy the books

more ▼

asked Jan 20, 2011 at 09:13 PM

avatar image

josue acua
1 1 2 2

If you've ever programmed in Flash before I'd go with javascript. Actionscript 3 and Unity javascript are so similar that I switched over from Flash to Unity very easily.

May 21, 2014 at 06:31 AM Romano
(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

I'm going to just say it - you should learn C#. It's more advanced, optimized, and interacts better with Obj C and XCode. It's fast becoming the standard language for gaming on multiple platforms. (Many Xbox 360 games are programmed in C#)

C# does have it's disadvantages. Perhaps the most notable disadvantage is that most Unity tutorials are written for Javascript. However, it's significantly more robust than either JS or Boo. It does not sound like English is your first language, but luckily there are a ton of C# book resources in all languages, so it's a great way to get started.

If you are a native English speaker, I apologize, and I can whole-heartedly recommend Head First C#: http://headfirstlabs.com/books/hfcsharp/

Which is one of the few books that takes you from Hello World right up to making full-fledged Windows games.

I would recommend going through 3D Buzz's awesome C#/Unity tutorial at: http://www.3dbuzz.com/vbforum/sv_videonav.php?fid=db25cc88fdc47f4afd9562b6abb1332a

more ▼

answered Jan 20, 2011 at 09:26 PM

avatar image

Thom Denick
2.5k 36 58 69

I've been using Unity for 4 months now and write all my scripts in JS. Every now and then (like now, reading your answer) I get the idea that using C# would be much better. It's a good thing that one can use both in the same project, so maybe I could try "fading into" C#...

Jan 20, 2011 at 10:03 PM schwertfisch
(comments are locked)
10|3000 characters needed characters left

To make games with Unity, you basically need to use JavaScript and/or C# and/or Boo, as you can see here. Using one over the other has its pros and cons, but more or less all three languages can offer you the functionality you want for an iOS game.

more ▼

answered Jan 20, 2011 at 09:19 PM

avatar image

450 143 115 131

(comments are locked)
10|3000 characters needed characters left

I would like to say that while I tried to be informative, my answer is somewhat biased and subjective.

If you have absolutely no programming background, then javascript is the fastest to learn because it does some behind the scenes stuff to manage types and casting for you. It is also the most common language used on the support sites, so it will be easiest to find help if you get stuck.

Resources: Just search for it on the web, there are plenty of js tutorials.

Then there is C#. C# has more features than javascript or Boo, and it resembles Java/C++ if you have a background in either of those subjects. My favorite: you don't have to write var before every variable. And personally, I find that MonoDevelop (even the one that ships with Unity) works better with C# than either of the other languages. It seems to correct code and auto-complete my work more effectively. The downside, its harder to learn if you don't have any prior experience for most people, and fewer people here use it.

Resources: Again search it. Microsoft's developer site

Boo... well... enough said. :) There are very few people who use Boo around here, and the Boo website wasn't anywhere near complete when I tried to learn it, so it can be hard to learn, hence I gave up. It's supposed to be python inspired synatx (I don't know, I gave up before I could make the connection :) ) Advantages: You hate punctuation or just want to be different.

Resources: Boo homepage

Ok, so you can see that I'm biased towards C#, but if you want to learn to program beyond the scope of Unity, then C# is probably your best choice. If you just need to add some logic to your game quickly then js might be your best bet. And Boo, well let's just say puppies cry when they hear people decide to use Boo. :)

Oh, and the best resource for Unity of all of them.



more ▼

answered Jan 21, 2011 at 03:20 AM

avatar image

Peter G
18.7k 35 101 222

super-useful links

Jan 21, 2011 at 06:13 AM schwertfisch

can python be used in unity... i ve heard its the best than others..

May 10, 2013 at 03:57 AM aaeronn

I deleted your duplicate answer below. Please don't use Answers to ask questions. And I answered your question 30 minutes ago. Unity supports C#, Javascript/UnityScript, and BOO. Before asking questions like this, please Google - "languages supported by unity3d"

May 10, 2013 at 04:21 AM robertbu

Coming from a python background, scripting in Boo makes me fly :P C# just gets in my way too often, when I'm trying to use a simple dict/hashtable, the dictionary provided by .NET is just too meddlesome, and do I really have to write that much code just to make it work? The foreach statement especially. If you know the array put into the statement, the compiler should already know the types in it, since the array itself has been initialised...if I want to change the type, which you normally don't do, I can just cast it in the loop.....sigh. :D

May 21, 2014 at 05:54 AM Shadowys
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments



asked: Jan 20, 2011 at 09:13 PM

Seen: 81889 times

Last Updated: May 21, 2014 at 06:31 AM