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

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

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

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

I am, in truth, that newb. Having ultimately thrown Microsoft over for reliable in each point of my existence i will be able to (I nonetheless retain a home windows field round for video games, and i've to exploit it at work), all these database and video game initiatives i used to be engaged on must be Linux tasks now. So i began with what i'll get on the library, Collins' six-year-old treatise on Linux video game programming. First, permit me say that in case you are searching for hands-on educational stuff, this isn't the booklet for you. Collins is extra drawn to getting you to appreciate the concepts--why you must do whatever, instead of what it really is you need to do. whereas this is often evidently an outstanding factor and results in programmers who comprehend extra of what they are on approximately, it really is most likely worthy a caveat emptor for the folk who're simply searching for shortcuts, or solutions to a selected challenge. the second one factor to be stated, then, is that video game layout itself is the main moveable 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 variety (an complete bankruptcy, for instance, is dedicated to the OpenSource debate), a number of the particular instruments Collins talks approximately, and all the high-level strategies, are appropriate to online game designers who application for any platform. therefore, i may pass methods the following; criticize the booklet for probably not being approximately Linux particularly, or compliment it for being universal?

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

Show description

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

Best unix books

GCC.The complete reference

This can be the definitive connection with the GCC open-source compiler. Get up to date details at the most modern features--including compiling Java code, development purposes utilizing a number of languages, utilizing the debugger, linking, libraries, and lots more and plenty extra.

DNS in Action: A detailed and practical guide to DNS implementation, configuration, and administration

A close and sensible advisor to DNS implementation, configuration, and management Technically distinct with functional recommendations complete consultant to configuration and management of DNS servers Covers DNS Extensions, delegation, and registration intimately The area identify method is among the foundations of the web.

Pluggable Authentication Modules : the definitive guide to PAM for Linux sysadmins and C developers : a comprehensive and practical guide to PAM for Linux : how modules work and how to implement them

First this booklet explains how Pluggable Authentication Modules (PAM) simplify and standardize authentication in Linux. It indicates intimately how PAM works and the way it truly is configured. Then eleven universal modules used throughout UNIX/Linux distributions are tested and defined, together with all their parameters. deploy of third-party modules is mentioned, and the improvement of latest modules and PAM-aware purposes is printed.

Just Say No to Microsoft: How to Ditch Microsoft and Why It's Not As Hard As You Think

Simply Say No to Microsoft - starts by way of tracing Microsoft's upward thrust from tiny software program startup to monopolistic juggernaut and explains how the company's practices through the years have discouraged innovation, stunted pageant, and helped foster an atmosphere ripe for viruses, insects, and hackers. Readers learn the way they could unload Microsoft items - even the home windows working process - and remain effective.

Extra info for Linux Game Programming w/CD (Prima Tech's Game Development)

Example text

When Make automatically invokes the C compiler, it adds the CFLAGS variable to the command line. c -o foo USING THE MAKE UTILITY 27 Phony Targets Programmers often use make for purposes other than building executables. It’s really a general-purpose project management tool. For instance, I’m currently using a makefile so that I don’t have to delete a bunch of files and then run LATEX, makeindex, and dvips every time I want a preview of this book. o rm foo The clean target has no dependencies, and is therefore built only when it is specifically requested on the command line.

After executing this line of code, the program should continue through the loop. Let’s see what happens: (gdb)n Counter is now 10 8 return 0; That’s not good - the program moved on to line 8, meaning that the loop is no longer running. It is now fairly obvious that line 7 is not part of the loop. We can take a quick look at the source code with the l (list) command: (gdb)l 3 4 5 6 7 8 9 int main() { int i; for (i = 0; i < 10; i++); printf("Counter is now %i\n",i); return 0; } At this point the programmer would hopefully notice the extra semicolon and fix the problem (one would hope that the programmer would have found it before the gdb session, but we all make dumb mistakes).

Finished products should almost always be compiled with optimization enabled. -pedantic Enable a strict interpretation of the ANSI C Standard. Compile with -pedantic -W -Wall if you want gcc to nag you about sloppy programming. That’s it for gcc! There are a few quirks and obscure features, but we’ll get to those as we need them1 . Like most GNU tools, gcc comes with excellent online documentation. In particular, refer to the manpage or info node for a description of gcc’s command line options.

Download PDF sample

Rated 4.15 of 5 – based on 22 votes