Sign in to follow this  

Getting started with c++

This topic is 1744 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 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!

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Edited by Ludus

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
Sign in to follow this