关闭

关闭

关闭

封号提示

内容

首页 Game Coding Complete 3rd Edition.pdf

Game Coding Complete 3rd Edition.pdf

Game Coding Complete 3rd Editio…

上传者: 九徧齋 2011-10-10 评分 0 0 0 0 0 0 暂无简介 简介 举报

简介:本文档为《Game Coding Complete 3rd Editionpdf》,可适用于IT/计算机领域,主题内容包含CopyrightGameCodingComplete,ThirdEditionMike―MrMike‖McShaffryetalPublisher符等。

CopyrightGameCodingComplete,ThirdEditionMike―MrMike‖McShaffryetalPublisherandGeneralManager,CourseTechnologyPTR:StacyLHiquetAssociateDirectorofMarketing:SarahPanellaContentProjectManager:JessicaMcNavichMarketingManager:JordanCaseyAcquisitionsEditor:HeatherHurleyProjectandCopyEditor:MartaJustakTechnicalReviewer:SaschaFriedmann,VincentMagiyaPTREditorialServicesCoordinator:JenBlaneyInteriorLayoutTech:BillHartmanCoverDesigner:KrisTaylorIndexer:LarrySweazyProofreader:HeatherUrschelCourseTechnology,apartofCengageLearningChannelCenterStreetBoston,MAUSAForyourlifelonglearningsolutions,visitcourseptrcomVisitourcorporateWebsiteatcengagecomPrintedintheUnitedStatesofAmericaCourseTechnology,apartofCengageLearningALLRIGHTSRESERVEDNopartofthisworkcoveredbythecopyrighthereinmaybereproduced,transmitted,stored,orusedinanyformorbyanymeansgraphic,electronic,ormechanical,includingbutnotlimitedtophotocopying,recording,scanning,digitizing,taping,Webdistribution,informationnetworks,orinformationstorageandretrievalsystems,exceptaspermittedunderSectionoroftheUnitedStatesCopyrightAct,withoutthepriorwrittenpermissionofthepublisherForproductinformationandtechnologyassistance,contactusatCengageLearningCustomerSalesSupport,Forpermissiontousematerialfromthistextorproduct,submitallrequestsonlineatcengagecompermissionsFurtherpermissionsquestionscanbeemailedtopermissionrequestcengagecomMicrosoft,MicrosoftWindows,VisualStudio,InternetExplorer,Xbox,Xbox,andDirectXareeitherregisteredtrademarksortrademarksofMicrosoftCorporationintheUnitedStatesandorothercountriesdsMaxandMayaareeitherregisteredtrademarksortrademarksofAutodesk,IncintheUnitedStatesandorothercountriesGamecubeandWiiaretrademarksofNintendoCompany,LtdintheUnitedStatesandorothercountriesPlayStation,PlayStation,andPlayStationareeitherregisteredtrademarksortrademarksofMicrosoftCorporationintheUnitedStatesandorothercountriesPhotoshopisaregisteredtrademarkofAdobeSystemsIncorporatedintheUnitedStatesandorothercountriesUltimaandUltimaOnlineareeitherregisteredtrademarksortrademarksofElectronicArts,IncintheUnitedStatesandorothercountriesAllothertrademarksarethepropertyoftheirrespectiveownersLibraryofCongressControlNumber:ISBN:eISBN:CengageLearningisaleadingproviderofcustomizedlearningsolutionswithofficelocationsaroundtheglobe,includingSingapore,theUnitedKingdom,Australia,Mexico,Brazil,andJapanLocateyourlocalofficeat:internationalcengagecomregionCengageLearningproductsarerepresentedinCanadabyNelsonEducation,LtdDedicationThisbookandmylifearededicatedtomywifeandmybestfriend,RobinKudosFromBluePhoenix:Idefinitelyhopethatit‘snotthelastpublicationyoumake,I‘msurebookscanbeachallenge,butyou‘vedoneanamazingjobKudostoyou,theeditors,publisher,andeveryonewhohelpedproducethisfinebookFromCdrJ:OverallthisbookisprettymuchallmeatIcan‘trecommendithighlyenough,andI‘vepraisedittomyentireteamIt‘sprobablythemostusefulgamedevelopmenttextonmyshelfFromPaulJeffreyatAmazoncomButhere‘satestyoucantakeforyourselfgotowwwmcshaffrycomGameCodeandseehowMikeMcShaffryisstillhelpingfolkswho‘vereadhisbook(oranyonewhopostsonthesiteforthatmatter)He‘sstillgivingfreeadviceonhisbook‘sforum,whenmostotherauthorswon‘tevenrespondtoanemailFromCodeheadonAmazoncomThisisanexcellentbookTheauthorclearlyisanexpertonthesubject,andhehasspentyearsdevelopingmainstreamcommercialgames(forexample,Ultimaseries)Thisisarefreshingchangefromsomanybooksouttherewrittenbypeoplewithsometheoreticalknowledge,butlittlepracticalapplicationIwillbuyanybookthisguywritesinthefutureCan‘tgiveabetterrecommendationthanthatFromspotlandonAmazoncomIhavestudiedalotofthe―standard‖gamecodingbooksrecentlyThisisthefirstgamebookIhavereadthatIwassorrywhenIgottotheendbecausetherewasn‘tanymoreIhadtoreaditagainItisfullofrelevantcontent,pepperedwithrealinsightsfromsomeonewhohasobviouslybeenthereandgottentheTshirtBecauseofitsbreadthofscope,ithashelpedmefillinalotofgapsleftbysomeoftheothertextsIhavebeenprogramminginCforoveryears,andIstilllearnedafewneattricksOneofthesewasdirectlyrelevanttoaprogramIamwritingthanksforthetip!ForewordLetmestartbyadmittingacoupleofthingsFirst,I‘veneverwrittenaforewordforabookbeforeI‘vewrittenbooksbutneveraforewordHonestly,IusuallyskiprightoverthesethingswhenI‘mreadingabook,sooddsarethatnooneisevergoingtoreadwhatI‘mwritinghereanywayThatmakesitsafeformetomoveontoadmissionnumbertwo:I‘mnotaprogrammerNeverhavebeen,andIfear,neverwillbe,despitesomevalianteffortsonmypart(ifIdosaysomyself)I‘vedoneokaydespitenotknowingablessedthingaboutprogrammingI‘mnotlookingforsympathyoranything,butIamheretotellyouthatadaydoesn‘tgobywhenIdon‘tthink,―Damn,ifonlyIknewmyzbuffersfrommyBSPtrees!‖Ifyou‘realreadyaprogrammer,you‘vegotahugeleguponmewhenItriedtogetintotheelectronicgamebiz!(Andifyou‘renotaprogrammer,doasIsayandnotasIdolearntoprogramASAPMikehassomeadviceabouthowtodothatinthepagesthatfollowPayattention)Okay,sowiththosetwoconfessionsoutoftheway,Ifigurethere‘safairchanceanycredibilityImighthavehadisprettywellshotLuckilyforyoufolks,theguywhowrotethisbookhascredibilitytoburnMikeMcShaffry(or―MrMike‖ashe‘sknowntomosteveryoneinthegamebiz)istherealdealMikeisagenuinesurvivorHeisaguywhocantalkthetalkbecause,Lordknows,he‘swalkedthewalkenoughtimestoearnsometalkingtimeMike‘sexperienceofgamedevelopmentrunsthegamutinaprettyremarkablewayHewastherewhenteamswereadozenfolks,andhe‘sbeenaroundintheeraof,,andpersonteamsHe‘sdonethestartupthing,workedforthebiggestpublishersinthebusiness,workedon―traditional‖gamesanddecidedlyuntraditionaloneseverythingfromUltimatoBlackjack,singleplayer,multiplayer,onlineandoff,andjustabouteverythingelseyoucanimagineWhenitcomestoPCgames,hespeakswiththeauthorityofsomeonewho‘swornjustabouteveryhatit‘spossibletowearprogrammer,designer,projectleader,directorofdevelopment,studioheadAndI‘vehadtheprivilegeofwatchinghimlearnandgrowwitheachnewprojectandeachnewroleIwastherewhenMikegothisfirstgamejobIwasoneofthefolksatOriginwhointerviewedhimbackintheBoneAges,backinthethcentury,waybackin,whenheappliedforaprogrammingjobatOrigin(Seemslikeforever,doesn‘tit,MikeWhew!)Hestartedoutas―just‖aprogrammeronMartianDreams,agameIproducedforOrigin,butbytheendoftheproject,hewastheenginethatdrovethatgametothefinishlineThegamewouldn‘thavehappenedwithoutMikeHisdrive,dedication,loveofgames,knackforontheflydesign,naturalleadershipskills,abilitytocombinerightbrainandleftbrain(tosaynothingofhiswillingnesstoworkcrazyhours),droveallofustoworkthatmuchharderandensuredthatthegameendedupsomethingspecial(atleasttothoseofuswhoworkedonittogetheritsuredidn‘tsellmanycopies!)Ihonestlydon‘tevenrememberifIevergaveMikethetitle―LeadProgrammer‖officiallyonMartianDreams,buthesuredeserveditTheguywasamachine,workinglongerhoursthanmostpeopleI‘veworkedwith(andthat‘ssayingsomethinginthegamebusiness)HealsomanagedtodomoreandbetterworkinthosehoursthananyhumanbeingshouldbeallowedtoItjustain‘tfairtotherestofusmeremortalsWhenMikewason,therewasnotouchinghimAndhewasalmostalwaysonafterMartianDreams,Mikediditagainandagain,onUltimaVII,VIII,IXandabunchofothersScaryreallyInretrospect,allthosehoursandallthehardworkthatseemedsonecessary,backinthedayswhenwewereallyoungerandmorefoolishthanwearenow,wasprobablyanindicationthatMike,liketherestofus,didn‘thaveaclueaboutsoftwaredevelopmentorgamedesignormuchanythingelse(Okay,wehadaprettygoodhandleontheeffectsofsugarandcaffeineonthehumanbody,butthat‘saboutit)WehadtoworksolongandsohardjusttohaveachanceinhellofendingupwithsomethingworthwhileReadingthisbook,Icouldn‘thelpbutmarvelathowmuchMike‘slearnedovertheyearsandwonderhowmuchmoreMikeandtherestofuswouldhavegottendone,howmuchbetterourgamesmighthavebeen,ifwe‘dhadthebenefitofthekindofinformationinthepagesthatfollowTherejustwasn‘tanyonearoundbackthenwhoknewenoughaboutgames,programmingpractices,andsoftwaredevelopmentWeweremakingitupaswewentalongToday,thereareplentyofbooksouttherethatcanteachyouthetypingpartofprogrammingThereareevensomebooksthatgoabitfurtherandteachyouwhatmakesgamecodingdifferentfromcodingawordprocessingprogramorabillingsystemforyourlocalhealthcareproviders(or,asweusedtocall‘em,―doctors‖)Butevennow,therejustaren‘tmanybooksthatcombinehardcoregameprogrammingadvicewithequallyhardcoredevelopmentprocesses,debugging,andteambuildinginformationDevelopmentprocessTeambuildingWhocaresaboutallthatYoujustwanttowritecode,rightIfyou‘relikealotofprogrammersIknow,that‘sjustwhatyou‘rethinkingAnd,man,areyouwrongTheremighthavebeenatimewhencoderscouldjustclosetheirdoorsandtype,notcaringabouthowtheirworkfitintothebiggerpictureofagame‘sdevelopmentMaybethatwastrueyearsagoormore(probablynot,butmaybe)Well,itsureisn‘ttrueanymoreWithteamsgettingbiggerallthetime,withtimelinesstretchingandbudgetsbloating,processandteamissuesareeveryone‘sconcernnowadaysMikegetsthat,somethingthatbecomesclearintheveryfirstchapter,whenhesays,―Beingthebestdeveloperyoucanberequiresthatyouhaveintimateknowledgeabouttherealdemandsoftheindustry‖Amen,brotherThat,inanutshell,iswhatmakesthisbookspecialMostpeoplethinkenthusiasmandtalentareenoughtogetthemintothegamebusinessandtoensuresuccessoncetheylandthatallimportantfirstgig―Iplaygamesallthetime,‖theysay,―andI‘makickasscoder,sowhatmoreistheretoknowSignmeup!‖Well,I‘mheretotellyouthatthere‘splentymoretoknowandthat‘sprobablythesinglemostvaluablelessonthisbookhastoofferGamesareinsanelycomplex,andtheircreationinvolvesauniquecombinationofartandscience(somecallit―magic,‖andthey‘renotfarwrong)GamedevelopmentisdemandinginawaythatcanonlybeappreciatedafterastintinthetrenchesAtleast,Iusedtothinkthatwasthecase,butthat‘swhereMikecomesinHavingbeeninthetrenches,hecansaveyouthetroubleandpainandscarsandrelationshipbreakupsandcompanyfailuresthatalltoooftengoalongwithgamedevelopmentNomatterwhatyoumaythink,itisn‘tallglory,fame,wealth,andintensepersonalsatisfaction(thoughthereisabetterthanfairshareofthatlastitem)There‘satonofgreatstuffinMike‘sbookEvenifyou‘reanonprogrammer,you‘llgetsomethingoutoftheintroductorychaptersandthesectionabout―ProfessionalGameProduction‖AndIlovealltheinsiderbitsfoundinMike‘s―TalesfromthePixelMines‖Ofcourse,there‘splentyofnutsandboltsstuffforfolkswhoarealreadyprogrammersbutwanttoknowwhatmakesgameprogrammingsospecial(andbelieveme,itis)ButevenprogrammerswillbenefitfromtheothertonofstuffthatoftengetsshortshriftinthetypicalprogrammingbookallthatBigPicturestuffthatdoesn‘tinvolvecodesamplesThesearecriticaltobeingthemosteffectivedeveloperyoucanbe,whetheryou‘reaprogrammerornotThisisallstuffyoucan‘tgetjustanywhereYouhavetohavelivedthroughtheprocess(andthepain!)abunchoftimesOryouhavetofindamentorandspendyearssuckinghisorherbraindryOryoucanstopreadingthisforewordandstartreadingthisbookWhatareyouwaitingforWarrenSpectorAcknowledgmentsMomandGrandmaHawkerThanksforneversayingI‘dneveramounttoanything,playinggamesallthetimeyoubelievedinme,anditpaidoffDadandLynnThanksforshowingmeIshouldneverbeafraidofhardworkPhilHawkerThanksforgivingmeasenseofhumorIthinkIputittogoodusehereWarrenSpectorandRichardGarriottThanksforbelievingageekycollegekidcouldhelpmakethegamesIlovedtoplayThirdEditionGuestAuthorsandExtraHelpJamesClarendon,JeffLake,QuocTran,David(Rez)Graham,ChrisShelleyThirdEditionBetaTestersSaschaFriedmann,VincentMagiyaThirdEditionPublisherandEditorThankstoHeatherHurleyforpickingupthebookforathirdeditionThankstomyeditorMartaJustakformakingmelooklikeawriterContributorAcknowledgmentsTheCoverArtistThecoverwascreatedbymyfriendandcoworkerKrisTaylorHeiscurrentlytheArtDirectorofRedFlyStudioinAustin,TexasJamesClarendon,AuthorofChapter,―ScriptingWithLua‖I’dliketothankMrMikeforthisopportunityaswellasallthegoodtimes(andbad!)we’vesharedinthiscrazyindustryAspecialthankstoEdith,whohaskeptmesaneduringmanyofthesetimesJeffLake,CoauthorofChapter,―CollisionandSimplePhysics‖ToLarryLake:It’snoEOR,butit’scloseDavid―Rez‖Graham,AuthorofChapter,―AnIntroductiontoGameAI‖StephLaberisforherconstantencouragementMyfatherforgivingmemyfirstprogrammingbookMymotherfornevertellingmetostopwastingmylifeplayinggamesMygrandfatherforhissagewisdomAndlastbutnotleast,mygoodfriendMikeMcShaffryforgivingmethisopportunityQuocTran,AuthorofChapter,―ASimpleGameEditorinC#‖DrBruceNaylorforinspiringmetobecomeagamedeveloperPeterFreeseforgivingmemyfirstbreakintheindustryasaprogrammerMylovelywife,whosepatienceandsupporthelpedmemaintainmytenuousgriponsanityAbouttheAuthorMikeMcShaffry,aka―MrMike,‖startedprogramminggamesassoonashecouldtapakeyboardinfact,hesomehowskippedseventhgrademathentirelyinfavorofwritinggamesinBASIConanancientCommodorePetInhissinglemindedpursuitofprogrammingknowledge,hesignedupforanextendedstayattheUniversityofHoustonTohissurpriseofhimselfandtheDeanofMathematics,heactuallygraduatedfiveandonehalfyearslaterShortlyaftergraduation,heenteredthebootcampofthecomputergameindustry:OriginSystemsHeworkedforWarrenSpectorandRichardGarriott,aka―LordBritish,‖onMartianDreams,UltimaVII:TheBlackGate,UltimaVIII:Pagan,UltimaIX:Ascension,andUltimaOnlineExactlysevenyearsfromthedayhewashired,Mikearrangedhisescapeandinformedhisfirstcompany,TornadoAlleyTornadoAlleywasagaragestartupwhosegoalwastocreateNoGrownupsAllowed,amassivelymultiplayerworldforchildrensomethingthatwassuretolandMikeandanyoneelseatTornadoAlleyfrontandcenterofaCongressionalhearingWhileNoGrownupsneverleftthetarmac,akid‘sactivityprogramcalledMagnadoodlebyMattelMediadid,andinrecorddevelopmenttimeTheentrepreneurialbug,aravenousandinsatiablebeast,finallydevouredenoughofMike‘sremainingEAstocktomotivatehimtotakeasteadygigatGlassEyeEntertainment,workingforhisfriendMontyKerr,whereheproducedMicrosoftCasinoTenshortmonthslater,MontyaskedMikeandhisnewlyassembledteamtostarttheirowncompanycalledCompulsiveDevelopment,whichworkedexclusivelywithMicrosoftoncasualcasinoandcardgamesMikeservedastheprimarycoffeebrewmasterandheadofstudio,andtogetherwiththerestoftheCompulsivefolks,greatpeopleinall,producedthreemorecasualtitlesforMicrosoftuntilAugustCompulsivewasacquiredbyGlassEyeEntertainmenttocontinueworkonGlassEye‘sgrowingonlinecasualgamesbusinessMikewashungryforAAAconsolework,andinhegotwhathewanted:IonStorm‘sThief:DeadlyShadowsteamcalledMikeintocreatetheirthirdpersoncameratechnologyandworkonfinetuningcharactermovementatthethhourWhatstartedasatwoweekcontractturnedintoalmostayearoflaborworkingsidebysidewithprogrammerswhousedtocallMike―boss‖Whileitwasgreattobe―oneoftheboys‖again,itcouldn‘tlastforeverMikewasrecruitedtostartanAustinstudioforMarylandbasedBreakawayGamesBreakawayAustin‘sfocuswasAAAconsoledevelopmentandhighendsimulationsfortheUSmilitaryandDoDcontractorsMikeandthreeoftheBreakAwayAustinteamactuallyvisitedtheUSSHarrySTruman,oneoftheUSNavy‘sCVNclassNuclearAircraftCarriersTheyflewout,landedonthecarrier,spentfourdaysandnightswiththeofficersandcrew,andgotlaunchedtogobackhomeAfterwards,theycreatedBlue,atrainingsimulatorthatmimicstheinsaneenvironmentofthedeckofthecarrier,jetsandeverythingAfterBreakAwayAustin,MikefoundedaconsultingcompanycalledMrMikeHefiguredthatnearlyyearsinthegamingindustrywasenoughtofirmlyestablishthatasagoodidentityforthecompanyFornearlytwoyears,hehelpedsmallgamecompanieschoosetheirgametechnology,firmuptheirproductionpractices,andpitchgameideastoindustrypublisherslikeMicrosoft,EA,THQ,andothersOneofhisclients,RedFlyStudio,madehimanofferhecouldn‘trefuse,andhejumpedbackintoafulltimegigMiketookthepositionofExecutiveProducerandhelpedshipMushroomMen:TheSporeWarsHeiscurrentlyworkingonGhostbustersfortheWiiandtwounannouncedtitlesHestillmakescoffeeandtriestogivegoodadvicetotheprogrammers,artists,designers,audioguys,andproducersworkingforhimHestillwritescodewhenhecanmostrecentlyworkingwithhisfriendQuoccreatingsomeniftypluginsforMicrosoftProject,calledMrMike’sAddinsIfMike‘sfingersaren‘ttappingawayatakeyboard,he‘sprobablyeither―downhilling‖onhismountainbikeorenjoyinggoodtimeswithhisfriendsinAustin,TexasIntroductionWhoIsMrMikeandWhyShouldICareIhadbeenplayingtheUltimaseriesofgamesbyRichardGarriottsinceIwasinhighschool,andIwasa

用户评论(0)

0/200

精彩专题

上传我的资料

每篇奖励 +2积分

资料评价:

/49
仅支持在线阅读

意见
反馈

立即扫码关注

爱问共享资料微信公众号

返回
顶部