Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
Thread: I'm a noob, and I want to learn
11-30-2011, 04:12 PM #1
- Join Date
- Nov 2011
- Thanked 0 Times in 0 Posts
I'm a noob, and I want to learn
I desperately want to know how to use code to make video games. I know little to nothing about coding. I have many coding programs for my MBP 17 inch, but I cannot use them because I do not know even how to begin. Can someone give me some references to learn how to begin coding? Like what words to put in to get certain results, syntax rules, etc.
12-01-2011, 03:55 PM #2
- Join Date
- Jan 2011
- Thanked 605 Times in 604 Posts
12-02-2011, 12:46 AM #3
- Join Date
- Jun 2008
- Redmond, WA
- Thanked 100 Times in 94 Posts
If you want to eventually get into coding tools for games, you probably won't want to start out with HTML and CSS. These are web languages and they do not teach you how to program (HTML is a markup language, not a programming language).
Your best bet is to go with a language that will have use later on. Two big introductory choices are C and Python.
C: C is baptism by fire. It's one of the more difficult languages to learn, as you have to worry about memory management, casting types, and much more. There's no Object Oriented Component, and you don't even have a
Stringclass like most modern languages.
The benefit to C is that once you can proficiently code in C, you're going to be on a great track for everything else you'll learn. You will be congnisicent of good memory practices, proper in your declarations, and you'll know the C syntax - which is used in languages like C++, C#, Java, and PHP (just to name a few)!
Python: Python is better if you want to ease in to programming. It teaches you the basic concepts and it's a very forgiving language. You don't need to declare variables, you use white space for specifying commands, and there's tons of prebuilt libraries to pull from.
The problem with Python, however, is that it can teach bad practice. Most languages, especially those in Computer Games, use C syntax and primitive types. This means you won't be prepared when it comes to diving in to languages that are practical for you.
My recommendation is you learn C. It's going to be tougher, potentially more discouraging, but if you stick through it and do well then you'll know you have the chops to be an S.E.
Begin learning C: http://www.cprogramming.com/begin.html
C Programming in Easy Steps: http://www.amazon.com/Programming-Ea...2786859&sr=8-2
Unless otherwise stated, any code posted is most likely untested and may contain syntax errors.
My posts, comments, code, and suggestions reflect only my personal views.
Web Portfolio and Code Snippets: http://shanechism.com