Unix

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 are six years previous. this isn't a big 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 carrier contracts mandate. That, in spite of the fact that, 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 thirty days, if no longer day-by-day, foundation. nonetheless, the fundamentals of the mandatory wisdom to get lower than the hood and tinker with Linux will carry actual, so it is not 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 exploit 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 ultimately thrown Microsoft over for solid in each point of my existence i will (I nonetheless hold a home windows field round for video games, and i've to take advantage of it at work), all these database and online game initiatives i used to be engaged on must be Linux tasks now. So i began with what i may get on the library, Collins' six-year-old treatise on Linux video game programming. First, permit me say that if you are trying to find hands-on educational stuff, this isn't the publication for you. Collins is extra attracted to getting you to appreciate the concepts--why you must do anything, instead of what it's you must do. whereas this is often evidently a great 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 trying to find shortcuts, or solutions to a selected challenge. the second one factor to be stated, then, is that online 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 appropriate to Linux improvement than the other style (an whole bankruptcy, for instance, is dedicated to the OpenSource debate), a few of the particular instruments Collins talks approximately, and all the high-level recommendations, are acceptable to online game designers who software for any platform. therefore, i'll pass methods right here; criticize the ebook for probably not being approximately Linux particularly, or compliment it for being universal?

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

Show description

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

Best unix books

Network and System Security

Network and approach safeguard offers targeted assurance of community and method protection applied sciences. Explores useful recommendations to quite a lot of community and structures defense matters. Chapters are authored through best specialists within the box and tackle the quick and long-term demanding situations within the authors' respective parts of craftsmanship. insurance contains development a safe association; cryptography; approach intrusion; UNIX and Linux protection; web safeguard, intranet protection; LAN defense; instant community defense; mobile community safeguard, RFID safeguard, and extra.

* Chapters contributed via leaders within the box overlaying foundational and functional elements of approach and community safeguard, delivering a brand new point of technical services no longer chanced on elsewhere.

* complete and up to date assurance of the topic zone permits the reader to place present applied sciences to paintings

* provides equipment of study and challenge fixing ideas, bettering the reader's clutch of the cloth and skill to enforce useful strategies

Solaris Solutions for System Administrators: Time-Saving Tips, Techniques, and Workarounds

* Teaches find out how to paintings shrewdpermanent and keep away from the various pitfalls of dealing with Solaris structures * Covers the most recent liberate of Solaris, Solaris nine, in addition to previous models * Written by means of specialists with years of Solaris event * jam-packed with sensible, hands-on options to tricky difficulties, displaying the way to keep away from high priced blunders * Tackles dealing with method functionality; the sunlight fireplace line of Solaris firm servers; fitting, configuring, and patching Solaris; and making sure safeguard"

SCJP Sun Certified Programmer for Java 5 Study Guide (Exam 310-055)

Get the e-book that indicates you not just what to review, yet how you can research. the one classroom-based built-in research approach for pro certification can provide entire assurance of all targets for the sunlight qualified Programmer for Java five examination, hundreds and hundreds of perform examination questions, and hands-on routines.

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

Example text

Simply type help for an index. A Trivial Example The following program is supposed to print the numbers from 0 to 9. However, it has a bug. There is an extra semicolon after the for loop, which causes the printf statement to be separated from the loop. This is a fairly common error, simple to fix but often hard to locate. gdb is great for pinpointing this type of error, since it lets you see exactly what’s happing in the program. /buggy Counter is now 10 DEBUGGING LINUX APPLICATIONS 35 Yikes! That shouldn’t have happened – we’ll use gdb to figure out what’s happening.

There are also several versions of the editor for the X Window System, featuring pull-down menus and convenient shortcuts. However, these X versions defeat one of the greatest features of vi: it can be used over nearly any type of terminal. vi can be efficiently used over low-speed codetelnet connections, within local terminals, and even from Palm Pilots and other unusual devices. Its minimalistic interface requires very little functionality from the terminal. Graphical versions of vi throw this feature away, and so they can hardly be considered substitutes for the original vi editor.

The patch utility tries to recover from this situation, but sometimes it is necessary to perform the patch yourself. It’s not too hard, but it’s a situation you’ll want to avoid if possible. Patch can also handle entire directories. Suppose you’ve made modifications to a source tree in the new/ directory, and there is a copy of the original source tree in the old/ directory. patch This command causes diff to recursively scan through each directory, comparing files with the same name and outputting a complete chunk of patch data for the entire set.

Download PDF sample

Rated 4.17 of 5 – based on 20 votes