Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Tako

Books on MAKING games

This topic is 6794 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

Hello all, I''m almost done reading Ivor Horton''s Beginning C++ and after I want to buy a book on making games. I''ve seen some places that Windows Game Programming for dummies was good and i heard it was bad. What I''m looking for is a book, not on designing a game, but actually coding a game. I don''t want it to be in DirectX I want it to be C++. If any of you know a good book like this, i would appreciate it greatly if you told me the title. Thx Tako

Share this post


Link to post
Share on other sites
Advertisement
DirectX isn''t a programming language; it''s a graphics API. If you''re programming a Windows game, you have basically two choices for a 2D game: DirectX or GDI. GDI is the graphics API Windows uses in its GUI. It''s easy to work with, but slow -- DirectX is much faster.

Nearly all professional games for Windows are programmed in C++ and use at least some components of DirectX.

~CGameProgrammer( );

Share this post


Link to post
Share on other sites
DirectX includes a lot of different APIs. It''s not just a graphics API, it has DirectInput, Direct3D, DirectSound and so on.

/. Muzzafarath

Share this post


Link to post
Share on other sites
I suggest if you don''t want to spend as much time learning Direct X, choose OpenGL as your graphics API. It''s easier (in my opinion, but most will agree)! When I was finished done learning C++, I wanted to learn how to code a game in oure C++, but that is not done anymore. You need C++, that''s basically what you''ll be using but you''ll be using just enough of an API that you you''ll need to learn both really well.

Programming::~Fredric(const Annoy_Ance)

Share this post


Link to post
Share on other sites
Tako, there''s no way to program a game with graphics in pure ansi C++. There''s no graphics support, so you''ll have to use a compiler-specific library or api, or an api like DirectX, OpenGL, etc. Windows Game Programming for Dummies is great, but get it only after you get down C++. There''s a long road ahead of you, but don''t get discouraged. We''re all here to help eachother!

Martin

Share this post


Link to post
Share on other sites
Once you''ve learnt C++ I highly reccommend Windows Game Programming for Dummies. The book will show you the windows GDI as well as DirectX. I''ve heard other books by the same author are good as well...



- Daniel


my homepage

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
OpenGL might be easier to start out with but it''s only for graphics. Take the time to learn the ins and outs of DirectX and you''ll have graphics (2D and 3D), input, sound, music and even network play all wrapped up in one SDK. There''s a steep learning curve but once you get through it you have a lot more to work with. If you go with OpenGL you''ll have to work out the rest on your own or go with more libraries, engines and SDKs. You might even end up going back to DirectX just to get the other functionality and you''ll end up learning about the graphics portion anyways. Of couse, it all depends on what you want. If you''re sure you only want to learn about graphics then maybe OpenGL is the way to go.

Share this post


Link to post
Share on other sites
''Tricks of the windows game programming guru''s''.

It wont show you how to write a 3D engine but as jam packed with information about just about every other part of making games... After that you can choose a API to go for or a free engine if you actually want to ''make games''.

As your still new to coding I''d go for using a free engine like genesis3d\jet3d or crystalspace. Additionally you''ll find plenty of help in their forums on general coding (which is something your probably still perfecting)

For someone without prior experience it''s an excellent reference

gimp

Share this post


Link to post
Share on other sites
Maybe I''m just tired, but here''s an answer to your question.

If you want to write a plain jane C program get
Black Art of 3D Game Programming. It''s old and it focuses on DOS, but you are writing to the hardware, so it doesn''t need any extra libraries.

If you want a good book on Windows game programming, get Tricks of the Windows Game Programming Gurus. Very good even if you have no windows experience, but be forewarned that it will take you about 7 chapters to get anything meaningful on the screen. That''s the price for Windows DirectX gaming.

I don''t know where some of these people get off saying you _have_ to learn a graphics API because C doesn''t provide one. If you can write to the hardware you can do anything you want.

Ut

Share this post


Link to post
Share on other sites

  • 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!