Sawubona
Amageyimu ... Lezi enye yezinhlelo ezidumile kakhulu lapho abasebenzisi abaningi bethengela khona amakhompyutha nama-laptops. Mhlawumbe, ama-PC ayengeke athandwe kakhulu uma kungekho midlalo kubo.
Futhi uma ngaphambilini ukuze udale noma yimuphi umdlalo, kwakudingeka ukuba ube nolwazi olukhethekile emkhakheni wezinhlelo, amamodeli wokudweba, njll - manje sekuwanele ukutadisha umhleli othile. Abahleli abaningi, ngendlela, balula futhi ngisho nomsebenzisi we-novice angawaqonda.
Kulesi sihloko ngingathanda ukuthinta abahleli abathandwayo, kanye nokusebenzisa isibonelo somunye wabo ukuhlunga ngokusebenzisa ukudalwa kwesinyathelo esilula ngesinyathelo.
Okuqukethwe
- 1. Izinhlelo zokudala imidlalo ye-2D
- 2. Izinhlelo zokudala imidlalo ye-3D
- 3. Indlela yokudala umdlalo we-2D kumhleli weMidlalo Maker - isinyathelo ngesinyathelo
1. Izinhlelo zokudala imidlalo ye-2D
Ngaphansi kwe-2D - qonda imidlalo emibili. Isibonelo: i-tetris, i-cat angler, i-pinball, imidlalo yamakhadi ahlukahlukene, njll.
Isibonelo-imidlalo engu-2D. Umdlalo wekhadi: Solitaire
1) Umenzi wegeyimu
Isayithi lonjiniyela: //yoyogames.com/studio
Inqubo yokudala umdlalo kumenzi wegeyimu ...
Lona omunye wabahleli abahle ukudala imidlalo encane. Umhleli wenza kahle ngokulinganayo: kulula ukuqala ukusebenza kuwo (konke kukhishwa ngokucacile), ngesikhathi esifanayo kunamathuba amakhulu okuhlela izinto, amakamelo, njll.
Ngokujwayelekile kule mhleli yenza imidlalo nge-top view kanye nabapulatifomu (ukubuka eceleni). Kubasebenzisi abaningi abanolwazi (labo abanolwazi oluncane ekuhleleni) kunezici ezikhethekile zokufaka izikripthi nekhodi.
Kumele kuqashelwe izinhlobo ezihlukahlukene zemiphumela nezenzo ezingasetshenziswa ezintweni ezihlukahlukene (abalingiswa besikhathi esizayo) kulo mhleli: inombolo imane imangalisa - ingaphezu kwamakhulu ambalwa!
2) Yakha 2
Iwebhusayithi: //c2community.ru/
Umdlalo wesimanje wamanje (ngomqondo onzima kakhulu wegama), evumela ngisho nabasebenzisi be-PC be-novice ukwenza imidlalo yanamuhla. Ngaphezu kwalokho, ngifuna ukugcizelela ukuthi ngaloluhlelo, imidlalo ingahle yenziwe ngamapulatifomu ahlukene: IOS, Android, Linux, Windows 7/8, i-Mac Desktop, i-Web (HTML 5), njll.
Lo makhi ufana kakhulu noMenzi Wegeyimu - lapha nawe udinga ukwengeza izinto, bese ubhala ukuziphatha (imithetho) bese udala imicimbi ehlukahlukene. Umhleli usekelwe kwisimiso se-WYSIWYG - isb. Uzobona ngokushesha umphumela njengoba udala lo mdlalo.
Lolu hlelo lukhokhwa, nakuba ekuqaleni kwaba khona iningi lenkululeko yamahhala. Umehluko phakathi kwezinguqulo ezahlukene kuchazwa kusayithi lonjiniyela.
2. Izinhlelo zokudala imidlalo ye-3D
(I-3D - imidlalo emithathu-ntathu)
1) i-3D RAD
Iwebhusayithi: //www.3drad.com/
Omunye wabakhi abancashi ku-3D (kubasebenzisi abaningi, ngendlela, inguqulo yamahhala, enomkhawulo wokubuyekezwa wenyanga engu-3), izothola.
I-3D RAD yikhiqizi elula ukuyiqonda kahle; akukhokho izinhlelo ezidingekayo lapha, ngaphandle kokubekwa kokuhlela izixhumanisi zezinto ngokusebenzisana okuhlukahlukene.
Ifomethi yemidlalo ethandwa kakhulu edalwe nale injini igijima. Ngendlela, izikrini ezingaphezulu ziqinisekisa lokhu futhi.
2) Ubunye 3D
Isayithi lonjiniyela: //unity3d.com/
Ithuluzi eliyinkimbinkimbi futhi elinzulu lokudala imidlalo enzima (ngiyaxolisa nge-tautology). Ngingasincoma ukuba ngiye kuwo ngemva kokutadisha ezinye izinjini nabaqambi, isb. ngesandla esiphelele.
Iphakethe le-Unity 3D lifaka injini evumela ukuthi usebenzise ngokugcwele amandla we-DirectX no-OpenGL. Futhi ku-arsenal yohlelo ithuba lokusebenzisana namamodeli we-3D, sebenzisa nge-shaders, imithunzi, umculo nemisindo, umtapo omkhulu wezinkripthi zemisebenzi ejwayelekile.
Mhlawumbe ukuhlukunyezwa okuphela kwalokhu kuphakanyiswa yisidingo sokwazi uhlelo lwe-C # noma iJava - ingxenye yekhodi ngesikhathi sokuhlanganiswa kuzodingeka ifakwe "kwimodi yokubhala".
3) I-NeoAxis Game Engine SDK
Isayithi lonjiniyela: //www.neoaxis.com/
Indawo yokuthuthukiswa kwamahhala cishe cishe yimaphi imidlalo ku-3D! Ngalokhu okuyinkimbinkimbi, ungenza izinhlanga, abadubulayo, kanye nezinkundla zokudlala nge-adventure ...
Ngokuba i-Game Engine SDK, inethiwekhi inezengezo eziningi nezandiso zemisebenzi eminingi: isibonelo, i-physics yemoto noma indiza. Ngosizo lwezincwadi zamathala onwebekayo awudingi ngisho nolwazi olunzulu lwezilimi zokuhlela!
Ngenxa yomdlali okhethekile owenzelwe injini, imidlalo edalwe kuyo ingadlalwa kuziphequluli eziningi ezidumile: i-Google Chrome, Firefox, I-Internet Explorer, i-Opera ne-Safari.
I-Engine Engine SDK isakazwa njengenjini yamahhala yezokuthuthukiswa okungezona ezohwebo.
3. Indlela yokudala umdlalo we-2D kumhleli weMidlalo Maker - isinyathelo ngesinyathelo
Umenzi wegeyimu - Umhleli othandwayo kakhulu wokudala imidlalo engeyona eyinkimbinkimbi ye-2D (nakuba abathuthukisi bathi bangadala imidlalo cishe noma iyiphi inkimbinkimbi kuyo).
Kulesi sibonelo esincane, ngingathanda ukukhombisa imilayezo ye-step-by-step ekudaleni imidlalo. Umdlalo ulula: umlingiswa we-Sonic uzodabula iskrini ezama ukuqoqa ama-apula aluhlaza ...
Kusukela ngezenzo ezilula, ngokungeza izici ezintsha endleleni, owaziyo, mhlawumbe umdlalo wakho uzoba ngukushaya kwangempela nesikhathi! Umgomo wami kulesi sihloko ukukhombisa kuphela ukuqala, ngoba ukuqala kunzima kunazo zonke ...
Ibamba ukudala umdlalo
Ngaphambi kokuba uqale ukudala noma yimuphi umdlalo, udinga ukwenza okulandelayo:
1. Faka inhlamvu yomdlalo wakhe, ukuthi uzokwenzenjani, ukuthi uzoba kuphi, ukuthi umdlali uzoyiphatha kanjani kanye neminye imininingwane.
2. Yakha izithombe zobuntu bakho, izinto ozosebenzisana nazo. Isibonelo, uma unobhere ukuqoqa ama-apula, bese udinga okungenani izithombe ezimbili: ibhere kanye nama-apula ngokwawo. Ungase futhi udinga isizinda: isithombe esikhulu lapho isenzo sizokwenzeka khona.
3. Yakha noma ukopishe imisindo yabalingiswa bakho, umculo ozodlala kulo mdlalo.
Ngokuvamile, udinga: ukuqoqa konke okuzodingeka ukudala. Noma kunjalo, kuzokwenzeka kamuva ukwengeza kuphrojekthi ekhona yomdlalo konke okukhohliwe noma kwesokunxele kamuva ...
Indalo yesinyathelo-by-step mini-game
1) Into yokuqala okudingeka ukwenze wengeze ama-sprites wabalingiswa bethu. Ukwenza lokhu, ku-panel panel yokulawula kunenkinobho ekhethekile ngendlela yobuso. Chofoza ukuze ungeze i-sprite.
Inkinobho yokwakha i-sprite.
2) Ewindini ebonakalayo, udinga ukuchofoza inkinobho yokulanda ye-sprite, bese ucacisa usayizi wayo (uma kudingeka).
Ilayishiwe i-sprite.
3) Ngakho udinga ukungeza wonke ama-sprites wakho kuphrojekthi. Esimweni sami, kwavela ama-sprites angu-5: Ama-apula ayi-Sonic nama-multi-colored: umbuthano obuluhlaza, obomvu, u-orange no-grey.
I-Sprites kuphrojekthi.
4) Okulandelayo, udinga ukungeza izinto kuphrojekthi. Into iyidatha ebalulekile kunoma iyiphi umdlalo. Kumenzi wegeyimu, into iyinithi yegeyimu: isibonelo, i-Sonic, eyohamba esikrinini kuye ngokuthi izihluthulelo ezizocindezela.
Ngokuvamile, izinto ziyisihloko esiyinkimbinkimbi futhi akunakwenzeka ukuba siyichaze ngombono. Njengoba usebenza nomhleli, uzokwazi ngokwengeziwe isiqu esikhulu sezinto uMenzi Wegeyimu akunika zona.
Okwamanje, yakha into yokuqala - chofoza inkinobho "Engeza into" .
Umenzi wegeyimu. Ukungeza into.
5) Okulandelayo, i-sprite ikhethwe into enjeziwe (bona umfanekiso wesithombe ngezansi, ngakwesokunxele + ngenhla). Endabeni yami - i-Sonic yezinhlamvu.
Khona-ke izenzakalo zilotshwe ngenjongo: kungenzeka kube nezinqwaba zazo, umcimbi ngamunye ukuziphatha kwento yakho, ukuhamba kwayo, imisindo ehambisana nayo, izilawuli, izibuko, nezinye izici zegeyimu.
Ukwengeza umcimbi, chofoza inkinobho ngegama elifanayo - bese ukhetha isenzo somcimbi kukholomu elungile. Isibonelo, ukuhamba ngokuzenzekelayo futhi ngokuqondile lapho ucindezela ukhiye womcibisholo.
Ukungeza izenzakalo ezintweni.
Umenzi wegeyimu. Ngento ye-Sonic, imicimbi engu-5 ingeziwe: ukuhambisa umlingiswa ngezindlela ezihlukile uma ucindezela ukhiye womcibisholo; kanye nemibandela isethwe lapho uwela umngcele wendawo yokudlala.
Ngendlela, kungaba khona izenzakalo eziningi: Umenzi weMidlalo akanalo into encane lapha;
- umsebenzi wokuhambisa umlingiswa: ijubane lokunyakaza, ukujula, amandla okugxuma, njll;
- ukuhlanganisa imibala yomculo ezenzweni ezehlukene;
- ukubukeka nokususwa kohlamvu (into), njll.
Kubalulekile! Ngento ngayinye emdlalweni udinga ukubhalisa imicimbi yakho. Izenzakalo ezengeziwe zento ngayinye oyibhalisa - okunye okunamathekisthi futhi onamandla amakhulu okwenza umdlalo. Ngokuyinhloko, ngisho noma ungazi ukuthi yini ngempela noma lowo mcimbi uzokwenza, ungaqeqesha ngokuwafaka futhi ubone ukuthi umdlalo uzoziphatha kanjani emva kwalokho. Ngokuvamile, insimu enkulu yokuhlola!
6) Okokugcina nesinye sezenzo ezibalulekile ukudala ikamelo. Igumbi luhlobo lwesiteji somdlalo, izinga lapho izinto zakho zizoxhumana khona. Ukwakha ikamelo elinjalo, chofoza inkinobho ngesithonjana esilandelayo :.
Engeza igumbi (umdlalo wesiteji).
Endaweni ekwakhiwe, usebenzisa igundane, ungahlela izinto zethu esiteji. Yenza ngokwezifiso imvelaphi yemidlalo, usethe igama lewindi lemidlalo, ucacise imibono, njll. Ngokuvamile, ukuqeqeshwa okuphelele kokuhlolwa nokusebenza kumdlalo.
7) Ukuze uqale umdlalo ophumela - cindezela inkinobho ye-F5 noma kwimenyu: Ukuqalisa / ukuqaliswa okujwayelekile.
Qalisa umdlalo ophumela.
Umenzi wegeyimu uzovula phambi kwakho iwindi ngomdlalo. Empeleni, ungabuka lokho okuthola, ukuzama, ukudlala. Endabeni yami, i-Sonic ingahamba ngokuya ngezinkinobho zokukhishwa kwikhibhodi. Uhlobo lomdlalo omncane (oh, futhi kunezikhathi lapho idayi elimhlophe eligijima ngaphesheya kwesikrini esimnyama kubangele ukumangazeka kwendle kanye nesithakazelo phakathi kwabantu ... ).
Umdlalo ophumela ...
Eqinisweni, umdlalo obangelwayo uyingqayizivele futhi ulula, kepha isibonelo sokudalwa kwayo sibonisa kakhulu. Ngokuqhubekayo, ukuzama nokusebenza ngezinhloso, i-sprites, imisindo, izizinda kanye namakamelo - ungakha umdlalo omuhle kakhulu we-2D. Ukuze udale imidlalo enjalo eminyakeni engu-10-15 eyedlule, kwakudingeka ukuba nolwazi olukhethekile, manje sekuwanele ukukwazi ukushintshela igundane. Intuthuko!
With the best! Yonke uhlelo lwezemidlalo eliphumelelayo ...