3 Replies - 1333 Views - Last Post: 02 December 2010 - 10:10 PM Rate Topic: -----

#1 adam8xz  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 02-December 10

how do i structure a game in c++?

Posted 02 December 2010 - 09:20 PM

So I learned how to use C++ and SDL, but I don't have any background knowledge of game programing and I don't know where to start in building a game from the ground up. can someone please point me to a good tutorial or send me the source code for a 2d game(yes, I know) so i can learn from it.
Is This A Good Question/Topic? 0
  • +

Replies To: how do i structure a game in c++?

#2 BetaWar  Icon User is offline

  • #include "soul.h"
  • member icon

Reputation: 919
  • View blog
  • Posts: 6,442
  • Joined: 07-September 06

Re: how do i structure a game in c++?

Posted 02 December 2010 - 09:26 PM

Well, since you are using SDL I would suggest looking at some of the demoes they have on their site:
http://www.libsdl.org/demos.php

Additionally, a quick google search popped up a ton of sites dedicated to SDL tutorials. Here is just the first one which looks promising (though a little difficult to navigate):
http://www.sdltutori...al-tic-tac-toe/
Was This Post Helpful? 1
  • +
  • -

#3 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 9025
  • View blog
  • Posts: 33,466
  • Joined: 27-December 08

Re: how do i structure a game in c++?

Posted 02 December 2010 - 09:36 PM

Also, stayscrisp has an excellent tutorials series on SDL in the DIC Game Programming Tutorials section.
Was This Post Helpful? 1
  • +
  • -

#4 adam8xz  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 02-December 10

Re: how do i structure a game in c++?

Posted 02 December 2010 - 10:10 PM

View PostBetaWar, on 02 December 2010 - 08:26 PM, said:

Well, since you are using SDL I would suggest looking at some of the demoes they have on their site:
http://www.libsdl.org/demos.php

Additionally, a quick google search popped up a ton of sites dedicated to SDL tutorials. Here is just the first one which looks promising (though a little difficult to navigate):
http://www.sdltutori...al-tic-tac-toe/


Thanks, the demos helped a lot.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1