- Home /
The question is answered, right answer was accepted
Which language should we use ?
Hi ! I and some friends want to make a 2D Rogue-like (with the same angle of view as Rogue Legacy) but we're almost beginners. Which language should we learn, please? :) And any good tutorial?
Don't listen to C#ers, the language is complicated and useless unless you have some serious funds behind your back: $$anonymous$$ac + iPad for testing. Unity Java is a perfect and simple language plus it's the only language with a complete set of lessons. Here's the link to the best tutor out there Learn it first. ANd when you understand how Unity works and what it's capable of, you can easily switch to C#, there's almost same, with a difference of C#s unnecessary complications.
Honestly Arpian thats a little blind to say. As javascript is not a class-based object-oriented language and this 'javascript' is different from actual web javascript, as it is actually UnityScript which is slightly opted to unity itself so it wouldn't be so great if you later wanted to go to C# or actual javascript I feel that it lacks alot. and in general it allows to much that will eventually make it confusing for beginners. Because as things get bigger no matter what they are, you eventually are going to need rules and constructs. class-based object-oriented language can provide that, even though people still fuck it up. Generally, applications work with objects because objects imply properties and methods. If I know the class type of the object, I know how it fits in the larger scheme of my application. I believe it just depends on user preferences. I like C# because it is safe. And C# has alot of support, more than javascript does on unity ground.
It's a Dollar and Euro argument. What's better? Same stuff, different issuers. I personally respect all Unity $$anonymous$$m's work with creating their own language and I stick to it. Plus looking at how C# evolved from C for several years, don't want to be caught with another C##. But hey, people are free to choose, I just gave an option for the kid :)
@arpian What parts of C# do you find hard? It's true that it has more functionality than Unityscript, but I think many people actually find C#'s syntax more logical (one example off the top of my head is Unityscript's generics syntax of GetComponent.<type>()
which I've always found odd and unmemorable).
First and only thing I really hate like it makes me shake is that you can't type
that's like the only thing that matters and it's simple.someObject.GetComponent(someScript).someVarieableInThatSript
If that has answered your question then please mark this as solved.
Answer by hexagonius · Jul 02, 2017 at 10:25 AM
Learn C#. Almost all tutorials and examples are written in C#. Unity is planning on updating to C# 6 in the near future I guess. UnityScript is kinda deprecated, not quite JavaScript and therefore unique to Unity, not good. And Boo.. I don't know, doesn't feel like worth mentioning.
Thanks for your answer ! Is C# running on $$anonymous$$ac ?
You can use the new Visual Studio 2017 for $$anonymous$$ac
Of course. At least in the case of unity it is.
@Aerosmite You didn't accept the answer you just closed your question. You should click the Accept button below the answer.
Follow this Question
Related Questions
2.5D Platformer - Jump Question 1 Answer
The main camera pans up when I press play.Please help. 0 Answers
Line Renderer. How to lock z axis for side scroller? 1 Answer
[2D] Check if player is on the ground 4 Answers
Trouble with Jumping Algorithm 1 Answer