what r the neccesary course tru which i can become a game programmer i live in india so can u tell what r the nessary course availabel fo me in india if i am begeinner what should i do
and my freind has done maya and he does some mail scripting what should he do currently he is doing c++
Hi this is daya.i have one ? can u tell me what should i do become a game programmer?
To become a game programmer, you first need to become a programmer.
You need to learn algorithms and data structures. Algorithms are the set of steps required to do a particular thing, while data structures are how you organize the data inside your program.
You need to learn things like defining a data structure from atomic elements like integers, floating point numbers, characters, arrays and pointers; defining a function, its parameters, the code inside it, how to return values, and how to call the function; control structures like conditional statements and loops.
You will also need to learn how to accept input from the user and deliver output. You start by learning how to accept input from the keyboard and deliver output to the screen in a console program; then you move on to learn how to read and write from a file, etc.
You may also need to learn object-oriented programming (that's it, knowing that a class is a set of methods and properties, that methods are functions that have access to the properties of the class, that you can create objects that are instances of classes, that you can create derived classes, that you can destroy objects, etc).
Oh, and you will need to learn a programming language. I advocate against learning to program a particular programming language without learning the basic programming concepts first. Once you learn how to PROGRAM, you can quickly learn how to program in C, in C++, in Java, in Python, etc...
And that's just so you can get started in programming. Once you're done, then there's a lot of game-related concepts you will need to learn. Here are just a few:
- Drawing graphics in a screen. How to initialize a graphics window, how to draw primitive figures like a point, a line, an image you loaded from a file, to fill in a region, etc.
- Polling for events, coming from the keyboard, the mouse, a timer, file i/o, etc.
- Most game programs consist of a big main loop that gets executed N times each second. Each time, the loop will need to handle all aspects of the game, so you'll need to define functions for:
--- Updating the screen with the game elements: background, scores, sprites (the moving objects, players, enemies...), etc.
--- Polling for events and interpreting them.
--- Moving things around. For example, one of your enemies will move in a particular way, and you update the enemy's position at this step.
--- Checking for game-related conditions. Like, say, collisions between a player and an enemy.
--- Checking whether the game can continue or not.
--- etc.
http://www.libsdl.org/index.php is a library that's easy to use, and that is widely used to program games. There are many examples with source code you may want to visit, once you get started with programming. There are bindings for many languages, but most game programmers will write in C/C++.
Oh, and good programmers don't go to learn to program to a school; they get a book about programming and/or research on the 'net, and start learning on their own.
survey
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment