Jump to content
  • Advertisement
Sign in to follow this  
blackmusashi

hi, im searching for some help

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

hi everyone I need some help here , Im actually learning C/C++(some experience) and I have used a lot of engines and software to make games, now I want to learn how to make them with C/C++ and I need someone to tell me the first steps so... 1-How im going to use C for game development? 2-Wath do exactly are the libraries and how do I use them to make games? 3-Wich one of the libraries is the best? 4-Can I use any library with C? --Thanks everyone for the help

Share this post


Link to post
Share on other sites
Advertisement
Quote:
1-How im going to use C for game development?


For programming. It's kinda like asking "How am I gonna use this car for travelling?". Assuming you can code a bit with C, it's just a matter of applying the same principles on coding your game. Maybe Google can help here.

Quote:
2-Wath do exactly are the libraries and how do I use them to make games?


There's OpenGL, DirectX and a whole truckload of other libraries that will aid you in coding your game. Basically they contain functionality (for 3D rendering, input, sound etc) that you can reuse to make your job easier. There are also libraries (or engines) available that build on top of these core libraries to make your life easier still, if they fit your needs.

Quote:
3-Wich one of the libraries is the best?


This is pretty much subjective and there's little to say about this without knowing what you need it for in minute detail. If you're just getting started, I'd find a (recent) book/tutorial site and use whatever library they're using. Most concepts you learn will carry over to other libraries and you probably will want to worry about getting *some* game done first instead of hoping (in vain, as experience has shown me [smile]) it'll be the best game with the best library at your first try.

Quote:
4-Can I use any library with C?


In theory, yes. Libraries are meant to be general purpose and C pretty much is the lowest common denominator, so you should be able to use most libraries for C. Determining if a library works for your game and how to use it in your game code is another matter.

Share this post


Link to post
Share on other sites
If you want to see nice looking results in a short period of time, you can use an engine like OGRE (it requires extensive c++ knowledge as well). Else you can build everything from scratch with directx/opengl.

3- There's no best. Opengl is a little bit easier than directx for beginners (at least you don't have to try 3 days for drawing a triangle :)).

4- Mostly yes.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!