Jump to content
  • Advertisement
Sign in to follow this  
Ultimate_Fusion

learned c++ basics now what?

This topic is 4833 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 learned the c++ basics in 2 days (learned java first of course) I just need some info on opengl, directx and gui's. Questions; can you make games with the normal gui in c++? what is better opengl or directx? what is best for 3d games? i have herd some stuff about game engine's and was wondering what exactly they are and are there worth using? thanks for now

Share this post


Link to post
Share on other sites
Advertisement
q) can you make games with the normal gui in c++?
a) if you mean the normal windows, yes.

q) what is better opengl or directx?
a) its all a matter of personal taste. opengl is easier to use and cross-platform, whilst directx should give you the better performance in windows. bear in mind opengl is ONLY a graphics API.

q) what is best for 3d games?
a) same answer as above

q) i have herd some stuff about game engine's and was wondering what exactly they are and are there worth using?
a) a game engine isnt the game itself, but a core system/api which your game's code will use. for example, quake is a game engine - it gives you an api to work with to render out a 3d world, place objects, sounds, etc inside it. You dont have to write an engine, although if you do you could reuse it for several games of a similar style. Small games such as pong or space invaders dont require an engine as such, just a primative API.

Share this post


Link to post
Share on other sites
Quote:

Now what?


Time for intermediate C++.

Seriously, even the simpliest games are fairly complex beasts, requiring far more than a cursory knowledge of the language.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I would check out some of nehe's opengl tutorials, and continue make small
programs in c++. I found the opengl api a lot easier to figure out than direct x. For makeing simple gui's and keyboard mouse interaction use the glut opengl framework, it will get you started instead of staring blindly at some confusing win32 windows code. This way you can learn the basics and dont have to worry about all the not so neassesary stuff.
Good luck and have fun

Share this post


Link to post
Share on other sites
When I converted from java to C++ I started by reading "The C++ Programming Language" by Bjarne Stroustrup straight through. I am so very glad that I did, as I have since had an understanding that surpasses that of most people who think that they know C++ but learned it from some classes in school or through experience at work. Of course compared to the forumers of Gamedev.net I'm probably somewhere around average, as we have so many masters here. I suggest that you get the same book. It is the best C++ book that there is, and is ideal for someone coming from a java background.

Share this post


Link to post
Share on other sites
Fool around and make some console programs. Make a text adventure. 2 days really isn't enough time of practice to grasp everything even though you know java. Knowing java def. helps though. I would say check out NeHe tutorials and if you want to go 2d for now, check out sdl and cone3d tutorials.

Share this post


Link to post
Share on other sites
Quote:
Original post by Telastyn
Quote:

Now what?


Time for intermediate C++.

Seriously, even the simpliest games are fairly complex beasts, requiring far more than a cursory knowledge of the language.


Agreed, I learned a huge amount of C++ from programming pong, which im still in the process of doing.

Share this post


Link to post
Share on other sites
i was wondering about the SDL *simple directmedia layer.
would it be best to start with that?

i have made a few 2d games in java but realised there is no future for games and 3d games are a absolute pile of you figure it out.

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!