[Lib gdx] 2. one smal step for a man

  • Published on
    12-Apr-2017

  • View
    124

  • Download
    0

Embed Size (px)

Transcript

<p>[LibGDX] 2. One smal step for a man.docx</p> <p>Setup Toy v cch dng(ci ny l cho ngi mi thi, ch bc no m thun mn ri th b qua nh)</p> <p>Nguyn tc dng toy th ci no cng nh ci no, nht pin v bm nt. Tt nhin l trc khi mun dng th phi c . Anh em ti Toy y, sau khi ti v, chy v chng ta s c giao din nh th ny.Vi tt c mi ngi th ln u tin bao gi cng hoang mang, ngng ngng, lng tng, th nn mnh s hng dn s dng chi 1cht.</p> <p> Name: Tn Project ng thi cng l tn ca ng dng trong Android, Window trn Desktop.</p> <p> Package: 1 th bt buc ca Java.</p> <p> GameClass: Tn class s trin khai FrameWork, t l ci b mama g cng c.</p> <p> Destination: Th mc cha kt qu sau khi to.</p> <p> Android SDK: ng dn ti SDK.</p> <p>Mc Sub Projects</p> <p> Desktop: to thm 1 Project chy trn Desktop (khuyn khch).</p> <p> Android: to thm 1 Project chy trn Android (lm game Android m ko to Prj Android th lm ci g).</p> <p> iOS: to thm 1 Project chy trn iOS, ci ny th yu cu thm MacOS + Xamarin (bn Indie tr ln gi $299/nm)</p> <p> Html:to thm 1Project HTML5,mun chy c th cn ci thm GooglePlugin cho Eclipse v GWT,ni chung l mun ra c HTML5th cng mt kha kh cng on,anh em ai mun lm th tm t tm hiu nh.</p> <p>Mc Extensions,cng 1l 1 cc extension nhng ni thc l mnh cng k bit c ht cc Extension ny l g, i khi c nhng ci ny.</p> <p> Bullet:Physics Engine 3D(bit th thi,ch mnh c lm 3D u m quan tm)</p> <p> Box2D:Physics Engine 2D(tick hay khng ty anh em,thc t l khng phi Game no cng cn n Physics Engine)</p> <p> Box2DLights:h thng nh sng v bng ca Box2D(p,nhng hi tn ti nguyn)</p> <p> Controller:b nhn tn hiu t tay cm,v d XBox Controller hay OUYA</p> <p> FreeType,Tools:Really have no idea </p> <p>Sau khi chn ht cc ch chyu thch th bm nt "GENERATE" v ngi i, tip tc i, v tip tc i, DAMN, ln u mun ra c cng mt hi cht thi gian. Trong khi ch i th vn cn vic ngha lm, l ci thm Plugin cho Eclipse c th import c ci m Project sp ti s ti ra. Anh em ci Eclipse Integration Gradle qua ci link update ny: http://dist.springsource.com/release/TOOLS/gradle.</p> <p>Nu cc Project c Gen ra thnh cng anh em s thy bn trong th mc gc s thy vi ci th mc con gm: android, core, desktop (ios v html nu anh em tick c 2 ci ny) v 1 m th mc ca gradle na. Vic cn li lc ny l import m h ln y vo eclipse na l xong. Anh em vo Eclipse, chn File Import Gradle Gradle Project, tr ti th mc gc, sau nhn Build Model. Li tip tc i, khi no xong th chn tt c cc Project xut hin v cui cng th nhn Finish. Sau khi Import th anh em s c b nh th ny</p> <p> trnh xy ra li anh em khng nn ly th mc gc lm workspace cho Eclipse, nh bn trn workspace ca mnh l tutorial cn th mc gc l The First Time. Nu nh c gp li lin quan ti validation-api:1.0.0.GA th xa th mc cached Maven ti C:/Users/username/.m2 trn Windows hoc home/username/.m2 trn Linux.</p> <p>V nu nh anh em m chy Project desktop m ra c kt qu th nyth chng ta va c 1 khi u khng th thun li hn, v cng coi nh chng ta c th s dng c Setup-gradle ca LibGDX, bi sau mnh s cng nhau tm hiu v cch dng hnh ca LibGDX, it'll become Legen...wait for it...Dery, See ya!</p> <p>LibGDX Tutorial z.k., ArrowGames</p>