How to Program Computer Games

By eHow Computers Editor

Rate: (13 Ratings)

Serious gamers often dream of making their own computer games, but learning how to program games can seem like a daunting task. Chances are you won't be able to create the lush three-dimensional landscapes and complex worlds of modern commercial games, but you can make a basic computer game with a little bit of personal study and a few tutorials.

Instructions

Difficulty: Challenging

Things You’ll Need:

  • Computer

Step1
Learn a programming language. You can't program without first learning a language. There are a couple popular and easy to use formats for making computer games: Flash, Basic and Java. These aren't the most state-of-the-art programming languages, but they will give you a grasp of computer game logic and get you used to working with code.
Step2
Start with Basic. Basic is a mostly outmoded method of programming, dating back to the old command prompt days of MS-DOS, but it makes a great primer for learning the fundamentals of coding. Download QBasic (see Resources section below) and read some of the tutorials from Qbasic News to get started.
Step3
Download Flash. From the link below, you can get a free trial. This graphical interface is used for many interactive Web games and pages. It is a bit more complicated than Basic, but offers more possibilities.
Step4
Learn Javascript. Javascript is another Web language that can be used to make computer games. It is a bit like HTML and doesn't require any special programs to run. You can find some good tutorials in the links in the Resources section.
Step5
Take some real courses. If you can grasp and enjoy these three basic modes of programming computer games, a career in computer game programming might be a good idea for you! More and more technological and trade schools have programs in computer game programming where you can earn a degree while learning advanced coding skills.

Tips & Warnings

  • Strong math and logical reasoning skills are very helpful when learning how to program.
  • The best way to learn is through practice. Follow tutorials and create a program on your own, even if you are just copying code line by line.
  • Coding can be confusing and frustrating at first, but don't get discouraged. It's a little bit like learning math: once you start to get a feel for the logic, it will all start making sense.

Comments

| View All Comments
Flag This Comment

on 1/28/2008 wow that is great i get the feeling that
you've been thought this you self and it
really shines thought the article. nice
work!

Flag This Comment

on 1/29/2008 QBasic? What year was this article written? There are a number of free packages out there to create games with lush 3d graphics. Although programming gives you more control over the inner workings, it takes years to actually master a language and write code that runs efficiently.

View All

Post a Comment

POST A COMMENT

Request a New How-To Article

Looking for more How To information? Chances are there’s an eHow member who knows how to do what you’re looking to do. Submit an article request now!

eHow Article:  How to Program Computer Games

eHow Computers Editor

eHow Computers Editor

Category: Computers

Articles: See my other articles

Related Ads