Jump to content
  • Advertisement
Sign in to follow this  
sargento

Where to start? C++/SDL/OpenGL?

This topic is 2506 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. I have become very interested in game programming development. I am interested in making cross platform games but primarliy for linux. However I would like the games to be able to run on Windows/OsX as well. I have been dabbling in python and have some experience with C++.

I guess my question is where to start? It is a bit overwhleming to choose which languages I should be learning. For exmaple should I be learning SDL or OpenGL and C++? I also have no idea where a good reference to learn is, wether it be books or websites.

Any input would help.
Thanks for reading,
Tony

Share this post


Link to post
Share on other sites
Advertisement
For starting procedures of programming I would say go for the fastest language now that would be Binary/X86 Assembly but all in all most people in todays walks of life like most indie game companys/game companys Use C++ Programming Language for the speed and then use OpenGL for Cross Platform 3D Rendering,etc and SDL For Window Management.


There is other alternatives like using Win32 API ,QT Creator Kit ,freeGlut for Window Managements but I would personally guide you towards C++,SDL,OpenGL and to start you off in the right direction go for Lazy Foo Tutorials for SDL education and OpenGL your going to have to spam google and search through books and beg on irc if you want to learn anything its rather difficult otherwise for C++ learning watch thenewboston tutorials in C++ smile.png

Hope this helps

for an IDE use Code::Blocks or Microsoft Visual Studio 2010 express free edition for C++

Share this post


Link to post
Share on other sites
I would say pygame is a very good start for a beginner, it is basically a library in python, helping you to make 2D games.

Share this post


Link to post
Share on other sites
I have actually done quite a bit of pygame tutorials and have a basic understanding of the pygame modules. I am looking more towards 2d graphics right now as I am not much of an artist. Also I use linux as my native operating system so if anybody could reccomend a nice IDE for C++ on linux it would be greatly appreciated. Thanks for the quick responses.

Edit: Would choosing to go with more of 2d approach on the graphics change if I should learn OpenGL or SDL first?

Thanks again.
Tony

Share this post


Link to post
Share on other sites

For starting procedures of programming I would say go for the fastest language now that would be Binary/X86 Assembly

Surely you can't be serious?


There is other alternatives like using Win32 API

He said primarily Linux, but preferably cross platform...


Microsoft Visual Studio 2010 express free edition for C++

And how does he use MSVC++ on Linux?

[quote name='UnderGrowthFiler']
pygame is tash but fun for simplisty
[/quote]
Ok, just stop now.

@sargento: Ignore UnderGrowthFiler. Just... ignore what he said. To be honest with you, you shouldn't stress about which language to learn. If you become a programmer, you'll learn more than one, and just because you start with language A doesn't mean you won't/can't ever learn language B. And just because you make a game in language A doesn't mean you can't later make on in language B. I'd say either go with Python or C++ (seeing as you're familiar with them), but specifically go with whichever one you are more comfortable and familiar with. The concepts you learn in one will carry over into the other (once you learn how to program in one language, it's a ton easier to pick up any other language).

Share this post


Link to post
Share on other sites

Also I use linux as my native operating system so if anybody could reccomend a nice IDE for C++ on linux it would be greatly appreciated.

The one useful thing UnderGrowthFiler did was mention the word Code::Blocks. Personally, I really like it, and it works on Linux, OS X, and Windows.


Edit: Would choosing to go with more of 2d approach on the graphics change if I should learn OpenGL or SDL first?

Not really. If you're using SDL, you'd most likely end up using OpenGL for graphics anyway.

Share this post


Link to post
Share on other sites
Thanks again for the responses. Greatly appreciated Cornstalks. Questions have been answered and now it is time to learn and experiment. Have a good day!

Tony

Share this post


Link to post
Share on other sites
So far as drawing stuff is concerned, 2D is just a special case of 3D. if you keep this in mind it will help you a lot when you encounter tutorials and info that deal primarily with 3D, and will also help you when you feel that the time has come to make the transition to 3D.

Good suggestions upthread (well, mostly...) so I won't repeat them.

Share this post


Link to post
Share on other sites
Don't like the fact that I should be ignored because people like you destroy my way of learning quite frankly and everything I said was truthfull so don't know where your going at???

I was wrong on the WIN32 API and MSVC++ stuff tho so you have me there got a realization problem :(

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!