首页 Beginning.DotNET.Game.Programming.in.VB.NET.pdf

Beginning.DotNET.Game.Programming.in.VB.NET.pdf

Beginning.DotNET.Game.Programmi…

上传者: 贴心秘书 2012-02-09 评分1 评论0 下载31 收藏0 阅读量571 暂无简介 简介 举报

简介:本文档为《Beginning.DotNET.Game.Programming.in.VB.NETpdf》,可适用于专题技术领域,主题内容包含BeginningNETGameProgramminginVBNETDAVIDWELLER,ALEXANDRESANTOSLOBÃO,ANDELLE符等。

BeginningNETGameProgramminginVBNETDAVIDWELLER,ALEXANDRESANTOSLOBÃO,ANDELLENHATTONfmqxd:PMPageiBeginningNETGameProgramminginVBNETCopyrightbyDavidWeller,AlexandreSantosLobão,andEllenHattonAllrightsreservedNopartofthisworkmaybereproducedortransmittedinanyformorbyanymeans,electronicormechanical,includingphotocopying,recording,orbyanyinformationstorageorretrievalsystem,withoutthepriorwrittenpermissionofthecopyrightownerandthepublisherISBN(pbk):PrintedandboundintheUnitedStatesofAmericaTrademarkednamesmayappearinthisbookRatherthanuseatrademarksymbolwitheveryoccurrenceofatrademarkedname,weusethenamesonlyinaneditorialfashionandtothebenefitofthetrademarkowner,withnointentionofinfringementofthetrademarkTechnicalReviewer:AndrewJenksEditorialBoard:SteveAnglin,DanAppleman,EwanBuckingham,GaryCornell,TonyDavis,JasonGilmore,ChrisMills,DominicShakeshaft,JimSumserAssistantPublisher:GraceWongProjectManager:SofiaMarchantCopyEditor:AmiKnoxProductionManager:KariBrooksProofreader:LindaSeifertCompositor:DinaQuanIndexer:RebeccaPlunkettCoverDesigner:KurtKramesManufacturingManager:TomDebolskiDistributedtothebooktradeintheUnitedStatesbySpringerVerlagNewYork,Inc,SpringStreet,thFloor,NewYork,NewYorkandoutsidetheUnitedStatesbySpringerVerlagGmbHCoKG,Tiergartenstr,Heidelberg,GermanyIntheUnitedStates:phoneSPRINGER,emailordersspringernycom,orvisithttp:wwwspringernycomOutsidetheUnitedStates:fax,emailordersspringerde,orvisithttp:wwwspringerdeForinformationontranslations,pleasecontactApressdirectlyatNinthStreet,Suite,Berkeley,CAPhone,fax,emailinfoapresscom,orvisithttp:wwwapresscomTheinformationinthisbookisdistributedonan“asis”basis,withoutwarrantyAlthougheveryprecautionhasbeentakeninthepreparationofthiswork,neithertheauthor(s)norApressshallhaveanyliabilitytoanypersonorentitywithrespecttoanylossordamagecausedorallegedtobecauseddirectlyorindirectlybytheinformationcontainedinthisworkThesourcecodeforthisbookisavailabletoreadersathttp:wwwapresscomintheDownloadssectionfmqxd:PMPageiiParaAna:Miesperanza,micorazón,mitesoro,miamiga,miamorfmqxd:PMPageiiifmqxd:PMPageivContentsataGlanceForewordxiAbouttheAuthorsxiiiAbouttheTechnicalReviewerxvCreditsxviAcknowledgmentsxviiPrefacexixIntroductionxxiChapterNettrix:GDIandCollisionDetectionChapterNetterpillars:ArtificialIntelligenceandSpritesChapterManagedDirectXFirstSteps:DirectDBasicsandDirectXvsGDIChapterSpaceDonuts:SpritesRevisitedChapterSpacewar!ChapterSpacewarD:MeshesandBuffersandTextures,OhMy!ChapterAddingVisualEffectstoSpacewarDEpilogueTakingYourNextStepsBonusChapterPortingNettrixtoPocketPCAppendixASuggestedReadingAppendixBMotivationsinGamesAppendixCHowDoIMakeGamesAppendixDGuidelinesforDevelopingSuccessfulGamesIndexvfmqxd:PMPagevfmqxd:PMPageviContentsForewordxiAbouttheAuthorsxiiiAbouttheTechnicalReviewerxvCreditsxviAcknowledgmentsxviiPrefacexixIntroductionxxiChapterNettrix:GDIandCollisionDetectionBasicGDIConceptsPerformingGraphicOperationswithaGraphicsObjectCreatingGradientsCollisionDetectionOptimizingtheNumberofCalculationsExtendingtheAlgorithmstoAddaThirdDimensionTheGameProposalTheGameProjectTheCodingPhaseFinalVersion:CodingtheGameFieldClassandtheGameEngineAddingtheFinalTouchesSummaryBookReferenceChapterNetterpillars:ArtificialIntelligenceandSpritesObjectOrientedProgrammingArtificialIntelligenceSpritesandPerformanceBoostingTricksTheGameProposalTheGameProjectTheCodingPhaseAddingtheFinalTouchesSummaryviifmqxd:PMPageviiChapterManagedDirectXFirstSteps:DirectDBasicsandDirectXvsGDIDirectXOverviewDCoordinateSystemsandProjectionsDrawingPrimitivesandTextureTheApplicationProposalTheApplicationProjectTheCodingPhaseAddingtheFinalTouchesMoreAboutDirectXandGDISummaryAcknowledgmentsChapterSpaceDonuts:SpritesRevisitedSpritesSpaceDonutsSummaryAcknowledgmentsChapterSpacewar!AboutSpacewarMethodology:ChallengesofWorkingwithSomeoneElse’sCodeUsingtheApplicationWizardDirectPlaySummaryAcknowledgmentsChapterSpacewarD:MeshesandBuffersandTextures,OhMy!DirectXBasics:TheApplicationWizardRevisitedSpacewarDTheGameProposalTheGameProjectSummaryAcknowledgmentsContentsviiifmqxd:PMPageviiiChapterAddingVisualEffectstoSpacewarDPointSpritesStep:AddingThrustEffectstoSpacewarDStep:AddingExplosionEffectstoSpacewarDStep:AddingaShockwaveEffecttoSpacewarDSummaryEpilogueTakingYourNextStepsMovingOnHabitstoBuildThingsWeNeglectedtoTellYouHappyTrailsBonusChapterPortingNettrixtoPocketPCProgrammingforMobileDevicesTheGameProposalTheGameProjectTheCodingPhaseAddingtheFinalTouchesSummaryAppendixASuggestedReadingAppendixBMotivationsinGamesAppendixCHowDoIMakeGamesAppendixDGuidelinesforDevelopingSuccessfulGamesIndexContentsixfmqxd:PMPageixfmqxd:PMPagexForewordBACKAFEWYEARSAGOIHADANIDEAWhatifIcouldmakethepoweroftheDirectXAPIavailabletothedeveloperswhoweregoingtobeusingthenewsetoflanguagesandcommonlanguageruntimethatMicrosoftwasdevelopingTheideawasintriguing,andopeningupalargerportionoftheworldtoDirectXwasagoalIwasonlyhappytoendorseBesides,whatdeveloperdoesn’twanttowritegamesItseemsthatatleastonceaweekIamansweringquestionsdirectlyregardingtheperformanceofmanagedcode,andManagedDirectXinparticularOneofthemorecommonquestionsIhearissomeparaphraseof“Isitasfastasunmanagedcode”Obviouslyinageneralsenseitisn’tRegardlessofthequalityoftheManagedDirectXAPI,thefactremainsthatitstillhastorunthroughthesameDirectXAPIthattheunmanagedcodedoesThereisnaturallygoingtobeaslightoverheadforthis,butdoesithavealargenegativeimpactonthemajorityofapplicationsOfcourseitdoesn’tNooneissuggestingthatoneofthetopofthelinepolygonpushinggamescomingouttoday(say,HalfLifeorDoom)shouldbewritteninManagedDirectX,butthatdoesn’tmeanthatthereisn’tawholeslewofgamesthatcouldbeI’llgetmoretothatinjustafewmomentsTherealityisthatmanyofthedevelopersouttheretodaysimplydon’tknowhowtowritewellperformingmanagedcodeThisisn’tthroughanyshortcomingofthesedevelopers,butratherthenewnessoftheAPI,combinedwithnotenoughdocumentationonperformance,andhowtogetthebestoutoftheCLRForthemostpart,we’reallnewdevelopersinthisarea,andthingswillonlygetbetteraspeoplecometounderstandtheprocessIt’snotatalldissimilartothechangefromassemblertoCcodeforgamesItallcomesdowntoasimplequestion:DothebenefitsoutweighthenegativesAreyouwillingtosacrificeasmallbitofperformancefortheeasierdevelopmentofmanagedcodeThequickertimetomarketThegreatersecurityTheeasierdebuggingAreyouevensurethatyouwouldseeadifferenceinperformanceLikeImentionedearlier,therearecertaingamestodaythataren’tgoodfitsforhavingthemainenginewritteninmanagedcode,butthereareplentyoftitlesthatareThetoptensellingPCgamesjustafewmonthsagoincludedtwoversionsoftheSims,ZooTycoon(expansion),BackyardBasketball,andUru:AgesBeyondMyst,anyofwhichcouldhavebeenwritteninmanagedcodeAnyonewhohastakenthetimetowritesomecodeinoneofthemanagedlanguagesnormallyrealizesthebenefitstheplatformoffersprettyquicklyUsingxifmqxd:PMPagexithisbook,youshouldbeabletopickupthebeginningconceptsofgamedevelopmentprettyeasilyIttakesyouthroughthesimplespritebasedgames,allthewaythroughabasicDgameimplementationIt’sanexcitingtimetobeadeveloperTomMillerLeadDeveloperfortheManagedDirectXLibrary,MicrosoftCorporationForewordxiifmqxd:PMPagexiiAbouttheAuthorsSomewherearound,DavidWellerdiscoveredacoinoperatedPonggameinapizzaparlorinSacramento,California,andwasinstantlyhookedoncomputergamesAfewyearslater,hewasintroducedtotheworldofprogrammingbyhisgodfather,wholethimusehisRadioShackTRScomputertolearnaboutprogramminginBASICDavid’sfirstprogramwasasimpledicegamethatgraphicallydisplayedthedieface(hestillhasthefirstversionheoriginallywroteonpaper)HequicklyoutgrewBASICthough,andsoondiscoveredtheamazingspeedyoucouldgetbywritingvideogamesinassemblylanguageHespenttheremainderofhishighschoolyearsgettingbadgrades,butwritingcoolsoftware,noneofwhichmadehimanymoneyHespentthenextyearsinthemilitary,learningdetailsaboutcomputersystemsandsoftwaredevelopmentShortlyafterheleftthemilitary,DavidwasofferedajobtohelpbuildtheSpaceStationTrainingFacilityatNASAFromthatpointon,hemerrilyspenttimeworkingonvisualsimulationandvirtualrealityapplicationsHemadetheoddshiftintomultitierITapplicationdevelopmentduringtheInternetboom,ultimatelylandinginsideofMicrosoftasatechnicalevangelist,wherehespendstimeplayingwithallsortsofnewtechnologyandmerrilysayingunderhisbreath,“Ican’tbelievepeoplepaymetohavethismuchfun!”AlexandreSantosLobãogothisfirstcomputerin,whenhewas,andimmediatelystartedtocreatesimplegamesinBASICSincethen,computershaveevolvedmassively,andsohasheGraduatingwithabachelor’sdegreeincomputersciencein,Alexandre,togetherwithsixfriends,foundedthatsameyearacompanythatcametobeknownasasynonymforhighqualityservicesinBrasilia,Brazil:HeptaInformáticaBesideshisexcellentworkinmanysoftwaredevelopmentareas,fromfinancialtotelecommunication,heneverforgothisfirstpassion,andhasalwaysworkedasanonprofessionalgameprogrammerFromtohealsoworkedatVirtuallyReal(http:wwwvrealwarecom),avirtualAustralianamateurgameprogrammingcompanyfoundedbyCraigJardineAttheendof,Alexandrestartedsearchingfornewhorizonsand,leavingthecom

职业精品

分销渠道选择.ppt

辞职申请书(优质范文).doc

公司年检申请书doc.doc

厂家和经销商代理合同.doc

用户评论

0/200
    暂无评论
上传我的资料

精彩专题

相关资料换一换

资料评价:

/ 440
所需积分:0 立即下载

意见
反馈

返回
顶部