Book Advice Requested

Anything related in any way to game development as a whole is welcome here. Tell us about your game, grace us with your project, show us your new YouTube video, etc.

Moderator: PC Supremacists

User avatar
JaxDragon
Chaos Rift Junior
Chaos Rift Junior
Posts: 395
Joined: Mon Aug 04, 2008 2:03 pm
Current Project: Kanoba Engine
Favorite Gaming Platforms: PS3, PC
Programming Language of Choice: C++
Location: Northeast NC

Book Advice Requested

Post by JaxDragon »

I am stumped as to which game programming book to get. I want either OpenGL Game Programming or Focus on SDL. Your opinion would probably help me. My C++ skills are basic, and I know such things as pointers, inheritance, classes, and file i/o. 3d vs 2d programming doesn't really matter to me. I just want to make good games. I would like to know some multiplayer programming, so I'm leaning towards Focus on SDL. If you have read either/both of these books, and think that it would benefit me to purchase said book, please comment below. Suggestions to other good books will be considered thoroughly.

EDIT: I noticed I didn't explain why I can't just use online tutorials. I would like something material, so that I can have it ready for use even if I go offline. Online tutorials also don't really go into detail, or they just give you code.
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: Book Advice Requested

Post by dandymcgee »

I would say SDL is easier for the beginner, and you can use it as a base for OpenGL later on. Since you don't care 2D vs. 3D, and also since I've never seen either of those books before (not that they aren't popular, I don't usually use books), I'm not much help for deciding which would be best for you.

Hopefully some of these guys will have much better advice for you regarding choice of books. ;)
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
JaxDragon
Chaos Rift Junior
Chaos Rift Junior
Posts: 395
Joined: Mon Aug 04, 2008 2:03 pm
Current Project: Kanoba Engine
Favorite Gaming Platforms: PS3, PC
Programming Language of Choice: C++
Location: Northeast NC

Re: Book Advice Requested

Post by JaxDragon »

dandymcgee wrote:I would say SDL is easier for the beginner, and you can use it as a base for OpenGL later on. Since you don't care 2D vs. 3D, and also since I've never seen either of those books before (not that they aren't popular, I don't usually use books), I'm not much help for deciding which would be best for you.

Hopefully some of these guys will have much better advice for you regarding choice of books. ;)
Well thanks for your input. I still have plenty of time to decide(2 weeks)
User avatar
eatcomics
ES Beta Backer
ES Beta Backer
Posts: 2528
Joined: Sat Mar 08, 2008 7:52 pm
Location: Illinois

Re: Book Advice Requested

Post by eatcomics »

I'd say an SDL book would be best as well :)
Image
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: Book Advice Requested

Post by MarauderIIC »

dandymcgee wrote:I would say SDL is easier for the beginner, and you can use it as a base for OpenGL later on. Since you don't care 2D vs. 3D, and also since I've never seen either of those books before (not that they aren't popular, I don't usually use books), I'm not much help for deciding which would be best for you.
That's usually the consensus but I had a firm grasp of pointers and intermediate-advanced concepts and started with OpenGL, so I really can't say from a beginner's point of view. However, having used both SDL and OpenGL -- although only a little, nothing extensive -- SDL seems easier, to me.
Oh, and the only programming books I own are C++ for Dummies, ASP.NET with C#, and C#. And the last two were bought for me by work.
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
Netwatcher
Chaos Rift Junior
Chaos Rift Junior
Posts: 378
Joined: Sun Jun 07, 2009 2:49 am
Current Project: The Awesome Game (Actual title)
Favorite Gaming Platforms: Cabbage, Ground beef
Programming Language of Choice: C++
Location: Rehovot, Israel

Re: Book Advice Requested

Post by Netwatcher »

MarauderIIC wrote:
dandymcgee wrote:I would say SDL is easier for the beginner, and you can use it as a base for OpenGL later on. Since you don't care 2D vs. 3D, and also since I've never seen either of those books before (not that they aren't popular, I don't usually use books), I'm not much help for deciding which would be best for you.
That's usually the consensus but I had a firm grasp of pointers and intermediate-advanced concepts and started with OpenGL, so I really can't say from a beginner's point of view. However, having used both SDL and OpenGL -- although only a little, nothing extensive -- SDL seems easier, to me.
Oh, and the only programming books I own are C++ for Dummies, ASP.NET with C#, and C#. And the last two were bought for me by work.
Is C++ for dummies a good ref?
"Programmers are the Gods of their tiny worlds. They create something out of nothing. In their command-line universe, they say when it’s sunny and when it rains. And the tiny universe complies."
-Derek Powazek, http://powazek.com/posts/1655

blip.fm DJ profile - http://blip.fm/Noobay
current code project http://sourceforge.net/projects/vulcanengine/
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: Book Advice Requested

Post by MarauderIIC »

Netwatcher wrote:Is C++ for dummies a good ref?
When I was starting out, maybe. It's been in the top of my closet for years now, though.
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
JaxDragon
Chaos Rift Junior
Chaos Rift Junior
Posts: 395
Joined: Mon Aug 04, 2008 2:03 pm
Current Project: Kanoba Engine
Favorite Gaming Platforms: PS3, PC
Programming Language of Choice: C++
Location: Northeast NC

Re: Book Advice Requested

Post by JaxDragon »

Well, I learned my C++ with C++ for dummies, so yes! I learned with the all-in-one desk reference.

EDIT: Well if the price of each goes down a dollar, I shall get them both!
EDIT No 2: Can OpenGL be rendered as 2d, or is it 3d specific?
User avatar
Netwatcher
Chaos Rift Junior
Chaos Rift Junior
Posts: 378
Joined: Sun Jun 07, 2009 2:49 am
Current Project: The Awesome Game (Actual title)
Favorite Gaming Platforms: Cabbage, Ground beef
Programming Language of Choice: C++
Location: Rehovot, Israel

Re: Book Advice Requested

Post by Netwatcher »

JaxDragon wrote: EDIT No 2: Can OpenGL be rendered as 2d, or is it 3d specific?
It's 3D specific but you can do 2D with it.
Edit: there was a confusion, thought you said SDL not OpenGL so changed the post
Last edited by Netwatcher on Mon Jul 06, 2009 2:37 am, edited 1 time in total.
"Programmers are the Gods of their tiny worlds. They create something out of nothing. In their command-line universe, they say when it’s sunny and when it rains. And the tiny universe complies."
-Derek Powazek, http://powazek.com/posts/1655

blip.fm DJ profile - http://blip.fm/Noobay
current code project http://sourceforge.net/projects/vulcanengine/
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: Book Advice Requested

Post by dandymcgee »

MarauderIIC wrote:
Netwatcher wrote:Is C++ for dummies a good ref?
When I was starting out, maybe. It's been in the top of my closet for years now, though.
I really didn't like that book. It was the only book my school library had related to programming (the next closest thing was Windows XP for Dummies) so I decided to check it out (no pun intended). I found it to just be a difficult read for learning from scratch, although I'd imagine it would make a fairly decent reference. Of course I've always preferred the more hands-on approach of copy/pasting code from somewhere and then hacking it to death in an attempt to figure out exactly how it works.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
Netwatcher
Chaos Rift Junior
Chaos Rift Junior
Posts: 378
Joined: Sun Jun 07, 2009 2:49 am
Current Project: The Awesome Game (Actual title)
Favorite Gaming Platforms: Cabbage, Ground beef
Programming Language of Choice: C++
Location: Rehovot, Israel

Re: Book Advice Requested

Post by Netwatcher »

dandymcgee wrote:
MarauderIIC wrote:
Netwatcher wrote:Is C++ for dummies a good ref?
When I was starting out, maybe. It's been in the top of my closet for years now, though.
I really didn't like that book. It was the only book my school library had related to programming (the next closest thing was Windows XP for Dummies) so I decided to check it out (no pun intended). I found it to just be a difficult read for learning from scratch, although I'd imagine it would make a fairly decent reference. Of course I've always preferred the more hands-on approach of copy/pasting code from somewhere and then hacking it to death in an attempt to figure out exactly how it works.
Most so called "Programming Books" are references, which will make absolutely no sense to a beginner reading them!
even the basic stuff, they find ways to make it a pain to understand.... that's why I started learning from the internet and a game programming book...(maybe not the best way... but it worked for me)

And since I don't have a C/++ reference I guess that dummy book will do... FOR NOW! :nono:
(putting smilies that don't reflect w/e I'm writing is fun)
"Programmers are the Gods of their tiny worlds. They create something out of nothing. In their command-line universe, they say when it’s sunny and when it rains. And the tiny universe complies."
-Derek Powazek, http://powazek.com/posts/1655

blip.fm DJ profile - http://blip.fm/Noobay
current code project http://sourceforge.net/projects/vulcanengine/
User avatar
JaxDragon
Chaos Rift Junior
Chaos Rift Junior
Posts: 395
Joined: Mon Aug 04, 2008 2:03 pm
Current Project: Kanoba Engine
Favorite Gaming Platforms: PS3, PC
Programming Language of Choice: C++
Location: Northeast NC

Re: Book Advice Requested

Post by JaxDragon »

I suppose thats true. I read my book after watching about 5 of Strelok's C++ Tutorials and the chapters that were about what I already knew made more sense to me than the other ones.
User avatar
Sanshin77
Chaos Rift Regular
Chaos Rift Regular
Posts: 160
Joined: Tue Mar 10, 2009 9:36 am
Current Project: C++/SDL engine, zaActionWizardMagic game
Favorite Gaming Platforms: Xbox 360, Playstation 2, Nintendo DS, mac and PC
Programming Language of Choice: C++

Re: Book Advice Requested

Post by Sanshin77 »

JaxDragon wrote:EDIT No 2: Can OpenGL be rendered as 2d, or is it 3d specific?
Well of course you can render 2D stuff in OpenGL, if you don't use the z axis you'll be rendering 2D ( This would also apply to any other 3D rendering library :P ) You can turn off/not use depth testing, shading and other fancy 3D stuff as well.

If that doesn't answer your question, ask again ( a bit more in-depth, preferably ).
Check out videos of my C++ games as well as my "Amateur Game Dev" series over at
My YouTube Channel: http://www.youtube.com/user/Zanchill
User avatar
JaxDragon
Chaos Rift Junior
Chaos Rift Junior
Posts: 395
Joined: Mon Aug 04, 2008 2:03 pm
Current Project: Kanoba Engine
Favorite Gaming Platforms: PS3, PC
Programming Language of Choice: C++
Location: Northeast NC

Re: Book Advice Requested

Post by JaxDragon »

Thats the answer I was looking for, thanks.
User avatar
Netwatcher
Chaos Rift Junior
Chaos Rift Junior
Posts: 378
Joined: Sun Jun 07, 2009 2:49 am
Current Project: The Awesome Game (Actual title)
Favorite Gaming Platforms: Cabbage, Ground beef
Programming Language of Choice: C++
Location: Rehovot, Israel

Re: Book Advice Requested

Post by Netwatcher »

JaxDragon wrote:Thats the answer I was looking for, thanks.

If it can render in 3D,and 2 is in 3...
"Programmers are the Gods of their tiny worlds. They create something out of nothing. In their command-line universe, they say when it’s sunny and when it rains. And the tiny universe complies."
-Derek Powazek, http://powazek.com/posts/1655

blip.fm DJ profile - http://blip.fm/Noobay
current code project http://sourceforge.net/projects/vulcanengine/
Post Reply