Sign in to follow this  
chosenkill6

Starting out in Game Programming

Recommended Posts

Hi guys!
Just signed up for this forum, looking for some help in game programming
I just learned C and i am moving to C++, i already have some basic C++ knowledge as well as basic OOP know how
I wanted to know what is the best way that i can start game programming?
What api should i use, or what game engine?
im leaning towards sdl, but am open to other options.
the api should preferably be in c but i wouldnt mind c++, becuause if its in c++ i get to use more c++ and therefore learn more c++
also any good books on c++ or c++ game programming that you know of?
Also, what is a good user friendly ide that i should use?

Thanks

Share this post


Link to post
Share on other sites
Thanks for the link, ill read it later but looks very thorough

does allegro or sdl make better games? i am willing to learn whichever but which is faster? which is easier?

i installed visual basic c++ express and it looks way to complex. L0L, maybe when i am a bit more experienced
i think i am gonna use codeblocks for now

Share this post


Link to post
Share on other sites
[quote name='chosenkill6' timestamp='1312906081' post='4846753']
Thanks for the link, ill read it later but looks very thorough

does allegro or sdl make better games? i am willing to learn whichever but which is faster? which is easier?

i installed visual basic c++ express and it looks way to complex. L0L, maybe when i am a bit more experienced
i think i am gonna use codeblocks for now
[/quote]


Allgero and SDL are both very comprable, although I would probably recommend SFML over either.

Share this post


Link to post
Share on other sites
Choosing between the two was hard enough and you just added another to the mix, haha
i looked up SFML , and it looks really new and much more complete, but it has much more to learn i think.

Out of all of them, which one would i learn the most from?

Share this post


Link to post
Share on other sites
[quote name='chosenkill6' timestamp='1312907198' post='4846757']
Choosing between the two was hard enough and you just added another to the mix, haha
i looked up SFML , and it looks really new and much more complete, but it has much more to learn i think.

Out of all of them, which one would i learn the most from?
[/quote]

Its not necesisarily the API or Library that you learn, moreso the design techniques associated with games. Master those, and its just a "simple" matter of translation between APIs or languages. Now that is obviously the easy answer, but in all honesty, whether you're coding in C, C++, C#, Java, Python, JOGL, XNA, SDL, SFML, OpenGL, DirectX, or whatnot, you still need to know how to design and implement a game architecture before you even worry about drawing pixels or handling input because those decisions determine whether or not you're game will run efficiently for your game type or be able to even to support your game concept

Share this post


Link to post
Share on other sites
[quote name='chosenkill6' timestamp='1312950081' post='4847022']
So I read that article and I think that I am gonna do a but more learning before I start game programming, so for now I think I will start with some OOC concepts
Thanks for all the replies
[/quote]

That is probably the best decision you will ever make, good job. :)

And don't worry, it wont take too long.

Share this post


Link to post
Share on other sites
[quote name='chosenkill6' timestamp='1312888809' post='4846631']I wanted to know what is the best way that I can start game programming?[/quote]
If you want to make a quality game, fast, I would just go with the unreal engine or the like. Or even better, if I was you, I would just use flashdevelop/flashpunk for a flash game. C/C++ will take you a long, long time to learn and even more to master(Even more if you're aiming to make a good game that you can sell).
If it's a learning experience you really, really, really want, I would pick opengl and do a simple pong clone(using links I provided), no ball, shaders. And then from there go for a game that's harder to do. And then something harder. Etc.
[url="http://www.opengl.org/registry/"]OpenGL header files(4.2)[/url]
[url="http://www.g-truc.net/"]G-Truc OpenGL Sample Packs[/url]
[url="http://www.arcsynthesis.org/gltut/index.html"]Learning Modern 3D Graphics Programming[/url]
[url="http://www.opengl-tutorial.org/"]http://www.opengl-tutorial.org/[/url]
And Google

Avoid a site called NeHe at all cost unless you're aiming to develop older versions of opengl that use deprecated code.

[quote name='chosenkill6' timestamp='1312888809' post='4846631']any good books on c++ or c++ game programming that you know of?[/quote]
No, in my experience most of them are a waste of money and you could do better with Google.

[quote name='chosenkill6' timestamp='1312888809' post='4846631']Also, what is a good user friendly ide that i should use?[/quote]
(Windows specific) If you're looking for free and easy you can't go wrong with Microsoft's Express Edition. If you want to pay...you again can't go wrong with Microsoft pay version. I don't think anyone in this group will argue that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this