943,832 Members | Top Members by Rank

Ad:
You are currently viewing page 1 of this multi-page discussion thread
Feb 13th, 2007
0

Game devolpment books

Expand Post »
Alright, lets get a rundown of what I think I should use for game Programming

1) Thinking in C++, Volume 1: Introduction to Standard C++ (2nd Edition)

2) Thinking in C++, Vol. 2: Practical Programming, Second Edition

3) Game Programming Gems 1-8

Alright, That what I am doing for that but now lets see here.... I wanna know if any one else has any Game coding books...

I need to know how to do Game programming like this:


bool ChatHandler::HandleHelpCommand(constchar* args)
{
ChatCommand *table = getCommandTable();
WorldPacket data;
if(!*args)
return false;
char* cmd = strtok((char*)args, " ");
if(!cmd)
return false;
if(!ShowHelpForCommand(getCommandTable(), cmd))
{
FillSystemMessageData(&data, m_session, "There is no such command");
m_session->SendPacket( &data );
}
return true;
}

I wanna learn code like that for my game

Another Example...


#ifndef ENABLE_GRID_SYSTEM
m_positionX = m_destinationX;
m_positionY = m_destinationY;
m_positionZ = m_destinationZ;
#else
assert( m_destinationX != 0 && m_destinationZ != 0 && m_destinationY != 0);
MapManager::Instance().GetMap(m_mapId)->ObjectRelocation<Creature>(this, m_destinationX, m_destinationY, m_destinationZ, m_orientation); 
#endif
if(((uint32)m_positionX==respawn_cord[0])&&
((uint32)m_positionY==respawn_cord[1])&&
((uint32)m_positionZ==respawn_cord[2]))
SetUInt32Value(UNIT_FIELD_HEALTH,GetUInt32Value(UNIT_FIELD_MAXHEALTH));
m_destinationX = m_destinationY = m_destinationZ = 0;
m_timeMoved = 0;
m_timeToMove = 0;
}
else

Reputation Points: 9
Solved Threads: 0
Junior Poster
Tauren is offline Offline
108 posts
since Oct 2006
Feb 13th, 2007
0

Re: Game devolpment books

You just grabbed some random code from a program and dumped it here so we can see what you want to do?

Learn C/C++ first, then game APIs. Don't worry about little class handlers like the one you posted. That will come eventually. In the meantime, simply start with a basic tutorial, and work your way up from there.

Also, if you're interested in 3D game development, you're going to need to be a math whiz, perhaps take some linear algebra courses and stuff so you get used to the idea of using matrices to solve your problems. Once you've learned the necessary information to write such things, code like this is basically automatic.
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006
Feb 14th, 2007
0

Re: Game devolpment books

and don't expect you will learn sufficient C++ to become a proficient game programmer form "Thinking in C++".
You'll need a lot more than that.
Add "C++ for Game Programmers" to the list (ISBN 1584502274), and "The C++ Programming Language (3rd Edition)" (ISBN 0201889544) at the very least.
Another book anyone who's serious about software development should read is "Agile Software Development, Principles, Patterns, and Practices" (ISBN 0135974445).

If you get more into it, you may want to get something like "Numerical Recipes in C++", "Physics for Game Programmers", and titles like that. Highly specialised tomes about specific topics.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Feb 25th, 2007
0

Re: Game devolpment books

Alright so can we get a run down of what books I should start with and what I should end with I would be so happy if you guys could do that! DANIWEB FTW
Reputation Points: 9
Solved Threads: 0
Junior Poster
Tauren is offline Offline
108 posts
since Oct 2006
Feb 26th, 2007
0

Re: Game devolpment books

I want college books that are really good dont care about price! I just wanna learn!!!

Maby we could start off
with

thinking in c++ 1 and 2 get another book then get some AWESOME THE BEST c++ books around
Reputation Points: 9
Solved Threads: 0
Junior Poster
Tauren is offline Offline
108 posts
since Oct 2006
Mar 4th, 2007
0

Re: Game devolpment books

Bruce Eckel's books are WAY overrated. The only reason they're popular is the fact you can get them for free as eBooks.

If you want excellence, look for "Objects, Abstraction, Data Structures and Design Using C++", by Koffman and Wolfgang, ISBN 0471467553, published by Wiley.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Mar 4th, 2007
0

Re: Game devolpment books

>Bruce Eckel's books are WAY overrated.
I disagree. Thinking in C++ volume 2 is a good book. The code is tolerably ugly, but the content is sound and useful. I actually haven't read volume 1 though, so you could be right on that one.
Administrator
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Narue is offline Offline
11,807 posts
since Sep 2004
Mar 5th, 2007
0

Re: Game devolpment books

lol those books are awesome!

Also, any Audio books for my game like when you into a area it starts playing that song
Reputation Points: 9
Solved Threads: 0
Junior Poster
Tauren is offline Offline
108 posts
since Oct 2006
Mar 6th, 2007
0

Re: Game devolpment books

Click to Expand / Collapse  Quote originally posted by Narue ...
>Bruce Eckel's books are WAY overrated.
I disagree. Thinking in C++ volume 2 is a good book. The code is tolerably ugly, but the content is sound and useful. I actually haven't read volume 1 though, so you could be right on that one.
started reading the PDFs and put them down again.
Maybe I'm biassed as I don't like the guy at all (especially his new "Flex is god" attitude now that he's got a contract with Adobe, suddenly nothing except Flex is good for anything), but I've never liked his writing.

Could be his style, his code, or everything taken together.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Apr 12th, 2007
0

Re: Game devolpment books

well, geez i'm a newbee but sadly i've to know is there's any guide book regardles to game programm in java? especially in J2ME?
gee, man i really need it, i seek for it, i have to graduate with it.

<< email and site address snipped>>

i'm just a beginner, having blank mind need to fulfill with your knowledges.

please let me know anything you would like me to know.
Last edited by ~s.o.s~; Apr 12th, 2007 at 11:17 pm. Reason: Keep it on site.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
arthipesa is offline Offline
8 posts
since Apr 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Game Development Forum Timeline: How to?
Next Thread in Game Development Forum Timeline: 3D studio max slinky project!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC