Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411512 Posts in 69376 Topics- by 58430 Members - Latest Member: Jesse Webb

April 27, 2024, 03:42:25 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)Finding it hard to learn C++
Pages: [1]
Print
Author Topic: Finding it hard to learn C++  (Read 3084 times)
Frog
Level 1
*


Eternal Being


View Profile WWW
« on: February 06, 2009, 07:10:57 PM »

I've been trying to learn C++ since Christmas and I have a fairly good understanding of all the basics as well as understanding how to use the STL and pointers. The problem is I have absolutely no idea where to start when it comes to a game. I think it would be best to start off with tetris or breakout to learn some basic game logic but what would people here recommend?
Logged
Matt Thorson
Level 7
**

c'est la vie


View Profile WWW
« Reply #1 on: February 06, 2009, 07:54:05 PM »

http://forums.tigsource.com/index.php?topic=3935.0
Logged

Frog
Level 1
*


Eternal Being


View Profile WWW
« Reply #2 on: February 06, 2009, 08:03:21 PM »

thanks for that
Logged
Aik
Level 6
*


View Profile
« Reply #3 on: February 06, 2009, 08:16:06 PM »

http://lazyfoo.net/SDL_tutorials/index.php

Were it not for Lazy Foo's tutorials, I don't think I'd ever have gotten anywhere.
Logged
salade
Level 4
****



View Profile
« Reply #4 on: February 06, 2009, 08:39:59 PM »

http://lazyfoo.net/SDL_tutorials/index.php

Were it not for Lazy Foo's tutorials, I don't think I'd ever have gotten anywhere.

for sure. Lazy Foo deserves to be knighted.
Logged
Frog
Level 1
*


Eternal Being


View Profile WWW
« Reply #5 on: February 06, 2009, 10:00:06 PM »

I found those a bit after I started this thread. They are really looking useful. I am alright at working out the game logic it's mainly graphics that are confusing me right now but those tutorials are helping.
Logged
Cymon
Level 9
****


Computer Kid


View Profile WWW
« Reply #6 on: February 07, 2009, 10:24:17 AM »

I absolutely love that user name.

One thing that helps me learn is examples. Lots and lots of examples.
Logged

Cymon's Games, free source code, tutorials, and a new game every week!
Follow me on twitter
mirosurabu
Guest
« Reply #7 on: February 07, 2009, 04:22:46 PM »

I started with pong/arkanoid game.
Logged
Don Andy
Level 10
*****


Andreas Kämper, Dandy, Tophat Andy


View Profile
« Reply #8 on: February 07, 2009, 06:07:15 PM »

I think books on a certain topic are sometimes more helpful than online tutorials. SOMETIMES, not always. I'd recommend trying a book on it (just try C++ Game programming on Amazon and you should get like a hundred) and see if you can learn better from that.

Should you get a book and should you get it from Amazon, be sure to read the reviews first. Especially the bad ones.

Advantage of a book is that you have all the information you need compiled in one place and related to each other, as opposed to all over the internet, written by different authors and for different examples (of course, Lazy Foo's tutorials should pretty much have you covered).

Logged
Core Xii
Level 10
*****


the resident dissident


View Profile WWW
« Reply #9 on: February 07, 2009, 08:08:15 PM »

I think my experience came from just playing games. When you know programming and how computers work, you invariably start to look at games from a technical standpoint, thinking "how was this done?"
Logged
siiseli
Level 6
*



View Profile
« Reply #10 on: February 08, 2009, 02:31:15 AM »

I've actually started looking at the world like that. Fe. I see a shiney wall and go "cool, bumpmapping.. no wait.." Other stuff like that as well. This begins to worry me, slightly :D
Logged
Pablo
BANNED
Level 0
*


View Profile
« Reply #11 on: February 08, 2009, 11:14:51 AM »

When starting a game I sudgest basing it off an already existing game but with a smal twist. Then later completely refurbishing it so that it seems nothing like it. Just let the ideas flow right out and almost nothing can go wrong.  Hand Money Left Gentleman Hand Money Right
Logged
Don Andy
Level 10
*****


Andreas Kämper, Dandy, Tophat Andy


View Profile
« Reply #12 on: February 08, 2009, 12:33:39 PM »

Oh my god he has three hands how is that possible
Logged
Pablo
BANNED
Level 0
*


View Profile
« Reply #13 on: February 08, 2009, 01:49:11 PM »

I dont know
Logged
Problem Machine
Level 8
***

It's Not a Disaster


View Profile WWW
« Reply #14 on: February 08, 2009, 02:10:23 PM »

He has a hat-tipping accomplice standing behind him.
Logged

Cymon
Level 9
****


Computer Kid


View Profile WWW
« Reply #15 on: February 08, 2009, 06:45:47 PM »

He has a hat-tipping accomplice standing behind him.
Every true gentleman has a hat tipping accomplice on hand at all times.
Logged

Cymon's Games, free source code, tutorials, and a new game every week!
Follow me on twitter
Powergloved Andy
Guest
« Reply #16 on: February 09, 2009, 02:23:01 AM »

yeah, I agree, programming languages can be a bit of a mess to get started with. Lazyfoo has an awesome SDL guide, as stated earlier in this thread.

Also, my self personally, when I want to learn something I plunk down like $20 on a book from the bookstore on the subject. I just prefer to have a book sitting in front of me when I'm learning. Also, the authors start from treating you like you're a complete idiot and educates you until you understand everything. Some online tutorials just tell you how to do something but don't explain exactly what it really does, or why it does it.

It's something to think about.  Shrug
Logged
Pablo
BANNED
Level 0
*


View Profile
« Reply #17 on: February 09, 2009, 02:49:24 PM »

This is his hat tipping acomplace.  Cool
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic