Jump to content
  • Advertisement
Sign in to follow this  
Jaguar_Lee

i want to know how to begin about learning game programming

This topic is 4944 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

im a beginner about game programming. i want to start 2d game programming with c/c++. how about the engine? what is a game engine? where can i get a free engine.id read something about a engine in this forums but i dont know exactly what can i do about with it.

Share this post


Link to post
Share on other sites
Advertisement
An engine has many definitions and I am sure you will get many more after this post. My idea of an engine is a reusable layer of code that makes game coding easier. The engine can deal with drawing, calculations, input, audio...anything. The purpose is reusable code that takes a complicated idea like setting up a DirectX window and makes it easy.

If the game is simple it may not require too much of an engine. Not everything requires the most hardcore engine around and a simple do-it-yourself engine will work fine many times.

Share this post


Link to post
Share on other sites
An engine is the code that you use to display graphics, play sounds, set up windows, and other general tasks. Usually they're pretty re-usable: One of your games will probably have the exact same code as another of your games as far as setting up a window goes. This can go into your engine: Instead of typing the same code twice, you use the part of your engine dealing with windows.

If you don't yet know C++, I'd recommend picking up a book. My suggestion is "C++ For Dummies" by Stephen Randy Davis. It'll give you all the programming knowledge you know to start learning how to program games.

Once you're at the point where you know C++, I'd pick up a book concentrating more specifically on games. A good beginner's book is "Tricks of the Windows Game Programming Gurus," by Andre Lamothe. It'll teach you everything you need about 2D graphics, windows, sounds, etc., so you can start making your games.

Good luck.

-Gauvir_Mucca

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!