资源描述:
《游戏开发新手入门指导(Q》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、游戏开发新手入门指导(Q&A)(Gamedevelopmentnoviceguide(Q&A))Whatlanguageandcompilerdoyouusetoplaygames?RefertowhatlanguageIshoulduse・WhatisDirectX?DirectX(shortfor:DX)isaMicrosoftWindowsbasedmultimediaapplicationinterfaceAPIsfunction.Indevelopment,DXisdividedintotwopart
2、s,oneistheruntime,compiledbytheDXprogrammusthavearuntimesupport,anotheristhedevelopmentoflibraries,itisoftensaidthattheSDK,whichispartoftheprogramisrequiredtocompileDX.Thedetailedtextintroduces"DirectXTechnologyOverview7'〃・Whatbooksdoyouneedtolearnprogrammin
3、g?Dependingonthesituation,butasthebasicprogrammingtechnologybooks,programmingclassiswhatyouneed;ingameprogramming,wecanroughlybedividedintothefollowingseveralmodules:gameframework,graphics,graphics,gamelogic,gameinterface,artificialintclligcnco,sound,network
4、connection,systemoptimizationso,afterthecleargoaltoseekoutrelevanttechnicalbookswillmakeyounolongerconfused・HowdoImakeagame?Refertoaseriesofarticlesingameportalprogrammingandbasictutorialsthatwillguideyouintothegamemakinghal1.Whichbooksareintroducedforgamede
5、velopment?Atpresent,therearemanygamedevelopmentbooksinChina・Herearesomecommonbooks・VCgoodorC++okay?Firstofall,weshouldcorrectafalsepointofview,C++isalanguage,andVCisacompilersoftware;VCisaplatformforwriting(compiled)code,youcanwriteC++codeontheVC.Ilowtomake2
6、DgameswithDirectX?TheDirectDrawcomponentisthemainsupportpartofDirectXfor2D,referencetoz,learnfromscratch",,zDircetDrawc/c++usageguide","loadbitmapf订e〃to"DirectDraw",and"DirectDraw〃“.HowdoIuseDirectlnput?DirectlnputistheinputcontrolcomponentofDirectXAPI,which
7、providestheunderlyinginterfaceforoperatinghardware,references,"Directlnputmouseprogrammingentry",and"Directlnputkeyboardprogrammingentry"〃・IlowdoIdisplaytextinthegame?GenerallytherearetwowaystorealizethegametextisasystembycallingAPIstodraw,anotherisdrawnthro
8、ughtheirfont;thesetwomethodshaveadvantagesanddisadvantages,letusseehowtheyrealize・APIssystemusereference〃in-depthWINDOWfonts,fontrenderingfromreferencelatticeChinesecharactersdisplay"(aselfproce