Page 1 of 4

Programming

Posted: Fri Mar 28, 2014 11:43 pm
by Namyrr
So, how many of you here are programmers? My hope is to one day be working as a programmer, to be making video games, whether it be indie or with a company.
And so, my question is this: Somewhere, somehow, I managed to obtain a Java book-pdf and a C++ book-pdf which specifically teaches how to think and code like a video game programmer.
Now here's my problem:
  • I'd much rather start in C#... though I lack any way of truly 'learning' and understanding it.
  • I don't have a C++ coding console, nor do I know where to get one.
  • I don't think I, as a beginner, would want to start in C++, would I?
What do I do?

Re: Programming

Posted: Sat Mar 29, 2014 3:29 am
by Pseudo
I want to learn to code at some point in the near future. It seems to be an increasingly important skill in the world in general. I don't actually code now, though.

Re: Programming

Posted: Sat Mar 29, 2014 3:31 am
by zlaker
Does LunaDLL count?

Re: Programming

Posted: Sat Mar 29, 2014 4:01 am
by FallingSnow
Seeing as I've only being working in python, I can't really offer any advice for you. I'm trying to keep it simple for now personally so that I can get my sprite-ing to a decent ability.

Re: Programming

Posted: Sat Mar 29, 2014 9:39 am
by Shadow Yoshi
C# is great, but I'm not sure how I can recommend it as a beginning language.

My first coding language experience ever was with HTML/CSS, and that's great if you want to know the importance/semantics of closing tags, setting values to different attributes, and basic stuff like that. I took a Java class (AP Computer Science) in high school when I was a sophomore, and that helped out with learning Java, which then translates well (at least in terms of syntax) to C#. Java has a wealth of development resources, but it's not a language I would choose to actually develop anything.

Personally, I learn better through physical books rather than doing it online.

Re: Programming

Posted: Sat Mar 29, 2014 9:44 am
by Enjl
I'm learning to code in java at school. We did shit like Dynasis and Logo before.
Also, my uncle is trying to make video games with his friends. Will probably try to click myself in there somehow.

Re: Programming

Posted: Sat Mar 29, 2014 10:10 am
by Raster
• I don't think I, as a beginner, would want to start in C++, would I?
If you know how code works then you might as well start with C++. If you need a good compiler, take a look at Visual Studio or Code::Blocks. I recommend Visual Studio for its incredible interface but you'll only be able to compile the code for Windows. To make your code multiplatform you need to port the code to another compiler and recompile it.

C# is good because it is so similar to Java I had no problems learning the syntax. I do like languages that can be read in English more, like Visual Basic and Ruby. If you want to start serious game developing you can either start learning C# + XNA (VB.NET works too, but there are few tutorials for it) or jump straight to C++. If you start with C++ and need a good game development library try Alegro. You can move on to DirectX and OpenGL later.

Re: Programming

Posted: Sat Mar 29, 2014 12:06 pm
by Karl Marx
I'm learning Java right now ( taking the class joey took this year), and I would recommend starting with Java. It helps you start to think like a computer in terms of logic, and also takes care of many of things for you already, like data structures and memory management. It's nice to use it to get an inkling of what programming is like before you actually start coding

Re: Programming

Posted: Sat Mar 29, 2014 12:22 pm
by FanofSMBX
What should I move on to after using SMBX, in programming?

Re: Programming

Posted: Sat Mar 29, 2014 1:58 pm
by Namyrr
Uncle Sam wrote:I'm learning Java right now ( taking the class joey took this year), and I would recommend starting with Java. It helps you start to think like a computer in terms of logic, and also takes care of many of things for you already, like data structures and memory management. It's nice to use it to get an inkling of what programming is like before you actually start coding
I just took a semester-long beginner's Java Programmer class and passed it with ease, and I have plans on taking the AP class in a year or so.
However, just like Joey, I'm not interested in developing anything with Java in the future.
FanofSMBX wrote:What should I move on to after using SMBX, in programming?
If you're someone who knows basically nothing about programming, try Visual Basic or enrolling in a Computer Science class in high school.

Re: Programming

Posted: Sat Mar 29, 2014 3:31 pm
by Aero
FanofSMBX wrote:What should I move on to after using SMBX, in programming?
If I were you, I'd start with C or C# as they are both easier to learn than C++ and it makes it easier in the future to switch to other languages. But it really comes down to what you want to program, for example if you want to make games C# and C++ would be a good choice. As for me I started with VB.NET and have grown to be quite fluent in it, I started because I wanted to make games and "bcuz redigit uzed it lol."
Namyrr wrote:So, how many of you here are programmers? My hope is to one day be working as a programmer, to be making video games, whether it be indie or with a company.
And so, my question is this: Somewhere, somehow, I managed to obtain a Java book-pdf and a C++ book-pdf which specifically teaches how to think and code like a video game programmer.
Now here's my problem:
  • I'd much rather start in C#... though I lack any way of truly 'learning' and understanding it.
  • I don't have a C++ coding console, nor do I know where to get one.
  • I don't think I, as a beginner, would want to start in C++, would I?
What do I do?
I'd start with C# to get your feet wet with the C languages. If you work with it long enough, eventually you should be able to learn the ropes and teach yourself. If you can, find a book that deals with the basics. Since you want to make games, you'll mostly deal with graphics performance, and engine logic (at least that's what I normally deal with). You'd also want to be familiar with different frameworks such as .NET, XNA, and DirectX. This is kind of an over simplification, but it's the best I can do with the information given, and my own experience.

Re: Programming

Posted: Sat Mar 29, 2014 3:50 pm
by FanofSMBX
What has SMBX taught me about programming?

Re: Programming

Posted: Sat Mar 29, 2014 3:52 pm
by Enjl
FanofSMBX wrote:What has SMBX taught me about programming?
If you didn't program it, nothing.

Re: Programming

Posted: Sat Mar 29, 2014 4:31 pm
by Karl Marx
The biggest thing you would probably have to worry about is the pseudocode, where you would write the code in some form of English before you write the code

For something as big as a game, that's what I would recommend, rather than starting writing some code. It's always better to know where you're going or how you're gonna write it

Re: Programming

Posted: Sat Mar 29, 2014 9:52 pm
by Danny
Uncle Sam wrote:The biggest thing you would probably have to worry about is the pseudocode, where you would write the code in some form of English before you write the code

For something as big as a game, that's what I would recommend, rather than starting writing some code. It's always better to know where you're going or how you're gonna write it
That's what dropped me off on learning how to code. I can write up some really good ideas, but I can't throw them into coding format, and vice-versa.

On an off-topic note, if you ever need any graphic designers for any future games, you could consider me for the job, but if you're working on something regarding top-notch 3D or 1028x1028 textures, you might want to hire somebody else.

Re: Programming

Posted: Sun Mar 30, 2014 12:20 pm
by Raster
Emral wrote:
FanofSMBX wrote:What has SMBX taught me about programming?
If you didn't program it, nothing.
Probably event-induced programming and conditional logic notions.

Re: Programming

Posted: Sun Mar 30, 2014 3:35 pm
by Danny
FanofSMBX wrote:What has SMBX taught me about programming?
Nothing. It taught you nothing regarding programming. There is nothing involved with programming that is involved with SMBX (unless you count LunaDLL). If you really want to step it up to the next level, either go learn actual coding, or go use RPG Maker, because it has a coding system and user-friendly interface like SMBX. I don't recommend using RPG Maker, but if you want something that is easy to use, go for it.

Re: Programming

Posted: Sun Mar 30, 2014 3:50 pm
by Raster
There is nothing involved with programming that is involved with SMBX
SMBX can teach you what events are and how to manage them. This is largely a part of Mathematics but I wouldn't call SMBX entirely useless when it comes to learning how to code. As for LunaDLL, that's not programming. It's something like scripting/modding.

Re: Programming

Posted: Sun Mar 30, 2014 7:12 pm
by Aero
Raster wrote:SMBX can teach you what events are and how to manage them. This is largely a part of Mathematics but I wouldn't call SMBX entirely useless when it comes to learning how to code.
I'm not sure what you mean here. I don't understand how events could really help teach anything related to programming. I guess it may be possible that it can be similar to calling different classes of data, but that's all I could think of.

Re: Programming

Posted: Sun Mar 30, 2014 10:47 pm
by Shadow Yoshi
I see what Raster means - at least, I can relate events and programming from my own experience. Toggling layers is the best example I can think of, especially when you have multiple layers that are supposed to exist separately (i.e. only one layer shown a time) with their objects existing in the same location. Most events entail "this makes this happen, but if the player does this then this can happen instead" - there aren't explicit conditionals, but rather implicit ones created by event triggers (like hitting a block).