Jump to content

  • Log In with Google      Sign In   
  • Create Account


Getting started with c++


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
6 replies to this topic

#1 MINKZILLA   Members   -  Reputation: 117

Like
1Likes
Like

Posted 08 April 2013 - 08:13 PM

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!



Sponsor:

#2 Cornstalks   Crossbones+   -  Reputation: 6974

Like
0Likes
Like

Posted 08 April 2013 - 08:15 PM

Lazy Foo's SDL game tutorial is pretty popular.


[ 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 ]

#3 EddieV223   Members   -  Reputation: 1404

Like
1Likes
Like

Posted 08 April 2013 - 08:31 PM

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.1 Download http://www.sfml-dev.org/download.php

SFML2.1 Tutorials http://www.sfml-dev.org/tutorials/2.1/

 

// 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

 


#4 MINKZILLA   Members   -  Reputation: 117

Like
1Likes
Like

Posted 08 April 2013 - 08:37 PM

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



#5 Ludus   Members   -  Reputation: 970

Like
0Likes
Like

Posted 08 April 2013 - 08:48 PM

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, 08 April 2013 - 08:54 PM.


#6 ultramailman   Prime Members   -  Reputation: 1561

Like
0Likes
Like

Posted 08 April 2013 - 09:46 PM

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.



#7 TheZahR   Members   -  Reputation: 107

Like
0Likes
Like

Posted 09 April 2013 - 09:41 AM

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.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS