Fractal Softworks Forum
Other => Discussions => Topic started by: Cordacc on April 27, 2012, 08:57:25 PM
-
So I got into this game a little while ago and tried modding, starting with trylobot's editor and moving on to learn how to sprite with Photoshop. I now am trying to learn to program so I can actually understand what all the test means and decipher all the errors without relying on others, I would love suggestions on the best way to get started, currently I was thinking of starting with code academy, but that is in java and I believe starfarer has a custom one. So you people that actually know how to code stuff how would you suggest i get started?
-
Well if you found a good java tutorial you have your answer. That is the best place to start. All Starfarer's code is java, even the mod scripting. Which is incredibly impressive by the way.
-
Well if you found a good java tutorial you have your answer. That is the best place to start. All Starfarer's code is java, even the mod scripting. Which is incredibly impressive by the way.
Just to be curious (since you work as a game dev) but exactly how hard is it to code in C#? And what are the differences of it and java?
-
Just to be curious (since you work as a game dev) but exactly how hard is it to code in C#? And what are the differences of it and java?
I'm a fairly beginning coder, but C# is my favourite language. Syntax-wise, C# and Java are pretty close, but Java has better cross-platform support while C# is, I believe, a little more efficient and tied to Windows.
All coding is kind of hard - or at least, unlike anything else you're likely to have done outside of scripting - but I think C# is easier to start with than most, given the good dev tools available in MS Studio.
-
I personally learned to program with Python and find the syntax of both C and Java to be needlessly complicated, especially for beginners. That said, most languages are the same at heart. Once you learn one language and know what the various data structures are, you have a good start on learning all of them.
-
I like c# a little more than java, but they are roughly equivalent.
EDIT: That's not very informative. C# has more focus on "properties"or whatever they call it. Which is honestly nice. But it's not really that different from java. Mono is a cross-platform version of c#, but it's not really up to date or complete, I believe. I kind of hate java, but it's mostly building it. Coding it is fine.
C/C++ is what most game devs use. Not sure if that is entirely necessary anymore? Maybe on consoles...
Python is awesome. :D It's my quick and dirty language, haha.
-
Python is the best learning language since you can get all of basics down pat in there so you don't have to worry about it later on. In the programming class at my high school we started with Java and C++ which was pretty good to start with as well. It's really down to preference, out of the 3 languages I'm learning (Objective-C being the third) Java is my favorite.