Jump to content
  • Advertisement
Sign in to follow this  
Vladk10000

I know C++...

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

I know C++ and I want to be a game programmer so I'm guessing I have to learn Win32, right? If so, what do I learn after that? I want to learn something that I will use later on like Direct3D or OpenGL, but I'm not sure which is better to learn and which one more companies require you to know. Any help would be greatly appreciated.

Share this post


Link to post
Share on other sites
Advertisement
Win32 is definitely a good step in the right direction. However most games will only use a small subset of Win32 functionality, mainly the WinMain() function and some sort of windows procedure function, commonly WndProc(). Once you get the main game loop out of Win32 you'll have all you really need for a lot of games. That's not to say you shouldn't learn all you can about Win32, as it does have a lot to give you, and it's always best to know more then not. As far as what API you should learn, a lot of pc and all xbox games are made with directX, but a lot of pc games are also made using OpenGL. They both are good to know, but as far as what companies look for is really up in the air. If a company is strictly Xbox then they will want DirectX more, but it's always good to know both. They will both get the job done, the only real difference being small syntactical ones. If you know the basics behind one, the other should come rather easily. Hope that helps, good luck.

Share this post


Link to post
Share on other sites
Win32 is always good to have as background, look at:

- How to create windows
- Play a bit with the GDI (so you know how it works)
- Learn how windows uses messages
- Look a bit at multithreading
(The ppl that use C# would say some of the above is redundant)

I can recommend SDL as a next stepping stone. I don't think big companies use it, but it will give you the best experience in game programming in the least amount of time.

After that you can look into DirectX or OpenGL.

Hope that helps

[EDIT]Oh, and the forum FAQ is also a good place to start[/EDIT]

Share this post


Link to post
Share on other sites
No, you don't have to learn Win32. I suggest you learn SDL and OpenGL (or, if you like OOP more than procedural programming, learn DX).

Share this post


Link to post
Share on other sites
Thanks everyone. You have been a great help. I decide to learn Win32 and then learn DirectX and later I'll move on to OpenGL.

I have another question. What's the point of learning SDL? I know it's fast, but big companies don't use it and you don't benefit from it except if you make a game and start selling it.

Share this post


Link to post
Share on other sites
Quote:
Original post by Vladk10000
I have another question. What's the point of learning SDL? I know it's fast, but big companies don't use it and you don't benefit from it except if you make a game and start selling it.


There is no point... It is a waste of time really...

Share this post


Link to post
Share on other sites
Quote:
Original post by Vladk10000
I have another question. What's the point of learning SDL? I know it's fast, but big companies don't use it and you don't benefit from it except if you make a game and start selling it.


Are you a big company?

Share this post


Link to post
Share on other sites
Quote:
Original post by Raduprv
Quote:
Original post by Vladk10000
I have another question. What's the point of learning SDL? I know it's fast, but big companies don't use it and you don't benefit from it except if you make a game and start selling it.


Are you a big company?


I'm going to be one. :D

Share this post


Link to post
Share on other sites
Quote:
Original post by Vladk10000
DirectX and later I'll move on to OpenGL.


Once you begin DirectX, any look at OpenGL will be one of disgust. ;)

</self fantatical bias>


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!