Getting started with c++

Started by
5 comments, last by TheZahR 11 years, 1 month ago

I had a dream... to make a game like everyone else. So I read around on the inter webz and found I had to learn a programming language, so I searched some more and decided on c++, after learning a little bit of c. Now I am pretty good at c++. I learned it from these videos http://thenewboston.org/list.php?cat=16 which I liked a lot. but Now that I have done that I want to start making a game.

something simple like pac man, or tetris or something. But where do I start? I know that c++ does not by itself support graphics so I downloaded SDL and got that all working and stuff. But I don't know where to go from here. If anyone could point me in the way of a tutorial, guide, or something on creating games that would be great!!

thanks!

Advertisement

Lazy Foo's SDL game tutorial is pretty popular.

[size=2][ I was ninja'd 71 times before I stopped counting a long time ago ] [ f.k.a. MikeTacular ] [ My Blog ] [ SWFer: Gaplessly looped MP3s in your Flash games ]

I suggest using SFML, it will teach you nice OOP style of code. This is what c++ is all about over c. Check my sig for more info.

If this post or signature was helpful and/or constructive please give rep.

// C++ Video tutorials

http://www.youtube.com/watch?v=Wo60USYV9Ik

// Easy to learn 2D Game Library c++

SFML2.2 Download http://www.sfml-dev.org/download.php

SFML2.2 Tutorials http://www.sfml-dev.org/tutorials/2.2/

// Excellent 2d physics library Box2D

http://box2d.org/about/

// SFML 2 book

http://www.amazon.com/gp/product/1849696845/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1849696845&linkCode=as2&tag=gamer2creator-20

Thank you for the responses, I will look into both! biggrin.png

Here's one website that really helped me get into SDL: http://www.sdltutorials.com/

The tutorials in the "game framework series" on that site will take you through the basics of using SDL, then how to make a simple game of Tic-Tac-Toe, and finally it will touch upon making the core elements of a 2D platformer (although many of the principles can be applied to other kinds of games)

Don't forget to read through the documentation that comes with SDL.

You can start by reading about game loops. The game loop is central to many video games. You can think of it as the heart (or heart beat) of a video game.

take a look to this http://www.gamefromscratch.com/post/2011/08/04/I-want-to-be-a-game-developer.aspx#Cplusplus ;)

I know: C,C++,C# and a bit LUA.

This topic is closed to new replies.

Advertisement