Linux Game Programming w/CD (Prima Tech's Game Development) by Mark Collins, Martin Donlin, Steve Baker, Ben Campbell

By Mark Collins, Martin Donlin, Steve Baker, Ben Campbell

Mark Collins, Linux online game Programming (Prima, 2001)

The major challenge with interpreting machine books which are six years outdated is that, good, they're six years outdated. this isn't an incredible challenge within the home windows international; as we've seen, occasionally the most up-tp-date home windows expertise will remain round much longer than the provider contracts mandate. That, besides the fact that, is nearly by no means the case with Linux, the place an incredible pool of builders pretty well guarantees that issues will develop and alter on a per thirty days, if no longer day-by-day, foundation. nonetheless, the fundamentals of the required wisdom to get lower than the hood and tinker with Linux will carry real, so it isn't like there is completely not anything to achieve from a ebook like this in case you are a complete newb. (Sorry, I despise that spelling, but when i take advantage of the right kind one, Amazon filters it for being one letter off from a definite slang time period they do not appear to like.)

I am, in reality, that newb. Having eventually thrown Microsoft over for reliable in each point of my lifestyles i will (I nonetheless retain a home windows field round for video games, and i've to take advantage of it at work), all these database and video game initiatives i used to be engaged on must be Linux initiatives now. So i began with what i may get on the library, Collins' six-year-old treatise on Linux online game programming. First, enable me say that in case you are trying to find hands-on instructional stuff, this isn't the ebook for you. Collins is extra drawn to getting you to appreciate the concepts--why you need to do whatever, instead of what it's you must do. whereas this can be evidently an exceptional factor and ends up in programmers who comprehend extra of what they're on approximately, it is most likely worthy a caveat emptor for the folk who're simply trying to find shortcuts, or solutions to a particular challenge. the second one factor to be stated, then, is that video game layout itself is the main transportable a part of any online game undertaking. whereas Collins does delve into a few issues which are extra acceptable to Linux improvement than the other kind (an whole bankruptcy, for instance, is dedicated to the OpenSource debate), a few of the particular instruments Collins talks approximately, and the entire high-level suggestions, are acceptable to video game designers who application for any platform. therefore, i'll pass methods the following; criticize the ebook for not likely being approximately Linux in particular, or compliment it for being universal?

The challenge is, i will not do one or the opposite. How helpful you can find it is going to most likely depend upon how a lot interpreting you have already performed on designing video games and constructing video games with C++. If you've gotten performed much, you'll get the main worthy out of the chapters on SDL and openGL/openAL; differently, learn the whole lot. ***

Show description

Read Online or Download Linux Game Programming w/CD (Prima Tech's Game Development) PDF

Best unix books

Building a Virtual Private Network

What you are promoting has to be hooked up on the way to compete within the worldwide industry. staff want to know that their company's community is out there at any time, from anyplace. A digital inner most community (VPN) accomplishes this through the use of distant connectivity applied sciences that mix latest inner networks with the net to soundly converse details.

Mac OS X Leopard Phrasebook

Mac OS® X Leopard Phrasebook   Brian Tiemann   crucial Code and instructions   Mac OS X Leopard Phrasebook provides the entire command words you want to take complete good thing about the Leopard’s hidden and undocumented strength beneath the graphical consumer interface: time-saving ideas for successfully operating with records, folders, the Finder, highlight, textual content documents, servers, disks, CDs/DVDs, permissions, printing, purposes, Expos?

DNS & BIND Cookbook

The DNS & BIND Cookbook provides recommendations to the numerous difficulties confronted through community directors liable for a reputation server. Following O'Reilly's well known problem-and-solution cookbook structure, this identify is an integral spouse to DNS & BIND, 4th version, the definitive consultant to the serious activity of brand server management.

Additional resources for Linux Game Programming w/CD (Prima Tech's Game Development)

Example text

Linux software can use two types of libraries: static and shared. A static library is simply a collection of object files that have been archived into one file with a symbol table. a, and they can be linked into programs as normal object files. A shared library is similar to a static library, except that it permanently resides in a separate file and is never directly linked into an application. Shared libraries are linked at runtime by the operating system’s dynamic linker. Static Libraries Static libraries are extremely simple to create and use.

Since we have set a breakpoint on the function main, gdb immediately suspends the program and prints the current line (which happens to be the for loop with the error). We will now use the n (next) command to single-step the program: 36 CHAPTER 2. LINUX DEVELOPMENT TOOLS (gdb)n 7 printf("Counter is now %i\n",i); The n command runs the program until it reaches a different line of code, so this is the expected result. After executing this line of code, the program should continue through the loop.

A full explanation of these utilities is left to the appropriate online manual pages. Rapid Text Searching with grep Programmers often need to search source code for specific strings. For instance, a programmer might need to check the way that a certain OpenGL function is 50 CHAPTER 2. LINUX DEVELOPMENT TOOLS implemented, but might not know which source file contains the function’s code. The grep utility can quickly search any number of files for a given piece of text. grep is based on regular expressions.

Download PDF sample

Rated 4.89 of 5 – based on 43 votes