Software don samar da wasanni 2D / 3D. Yadda za a ƙirƙirar wasa mai sauki (misali)?

Sannu

Wasanni ... Waɗannan su ne daya daga cikin shirye-shiryen da aka fi sani don yawancin masu sayen kwakwalwa da kwamfyutocin. Wataƙila, PC ba zai zama kyakkyawa ba idan babu wasanni a gare su.

Kuma idan a baya don ƙirƙirar wani wasa, dole ne a sami ilimin musamman a fagen shirye-shiryen, zana samfurin, da dai sauransu. - yanzu ya isa ya yi nazarin wani edita. Mutane da yawa masu gyara, ta hanyar, suna da sauƙi kuma har ma mai amfani mai amfani zai iya gane su.

A cikin wannan labarin na so in taɓa masu gyara irin waɗannan mashahuran, da kuma yin amfani da misalin ɗayan su don tsara ta hanyar tsara wani abu mai sauki daga mataki zuwa mataki.

Abubuwan ciki

  • 1. Shirye-shirye don samar da wasanni 2D
  • 2. Shirye-shirye na ƙirƙirar wasanni 3D
  • 3. Yadda za a ƙirƙiri wani abu 2D a cikin Editan Game Maker - mataki zuwa mataki

1. Shirye-shirye don samar da wasanni 2D

A karkashin 2D - fahimtar wasanni biyu masu girma. Alal misali: tetris, cat angler, ballball, daban-daban katin wasanni, da dai sauransu.

Misali-2D wasanni. Katin Card: Solidar

1) Mahalicci Game

Cibiyar Developer: //yoyogames.com/studio

Hanyar ƙirƙirar wasa a cikin Game Maker ...

Wannan yana daga cikin masu gyara mafi sauki don ƙirƙirar ƙananan wasanni. Mai yin edita ya yi kyau sosai: yana da sauƙi don fara aiki a ciki (duk abin da yake a fili), a lokaci guda akwai damar da za a gyara abubuwa, dakuna, da dai sauransu.

Yawancin lokaci a cikin wannan edita ya yi wasanni tare da ra'ayi mai mahimmanci (duba gefe). Don ƙarin masu amfani da kwarewa (waɗanda basu da masaniya a shirye-shiryen) akwai siffofi na musamman don saka rubutun da lambar.

Ya kamata a lura da abubuwa masu yawa da ayyuka da za a iya saitawa ga abubuwa daban-daban (haruffa na gaba) a cikin wannan edita: lambar tana da ban mamaki - fiye da 'yan dari!

2) Yi 2

Yanar Gizo: //c2community.ru/

Mai zanen wasan kwaikwayo na zamani (a cikin ma'anar ma'anar kalmar), ƙyale ko da masu amfani da kwamfuta na PC su yi wasanni na zamani. Bugu da ƙari, Ina so in jaddada cewa tare da wannan shirin, za a iya yin wasanni don daban-daban dandamali: IOS, Android, Linux, Windows 7/8, Desktop Mac, Yanar gizo (HTML 5), da dai sauransu.

Wannan ginin yana da kama da Game Maker - a nan ma kuna buƙatar ƙara abubuwa, to, ku rubuta halayyar (dokoki) kuma ku ƙirƙiri abubuwa daban-daban. Editan ya dogara akan tsarin WYSIWYG - wato. Nan da nan za ku ga sakamakon yayin da kuka kirkiro wasan.

An biya shirin, ko da yake don masu farawa za a sami yawancin kyauta kyauta. Bambanci tsakanin nau'i-nau'i daban-daban an kwatanta a shafin yanar gizon.

2. Shirye-shirye na ƙirƙirar wasanni 3D

(3D - wasanni uku-girma)

1) 3D RAD

Yanar Gizo: http://www.3drad.com/

Ɗaya daga cikin masu gwaninta a cikin 3D (don masu amfani da yawa, ta hanya, kyauta kyauta, wadda take da iyakar watanni 3), zai ishe.

3D RAD shine mai ginawa mafi sauki don sanin; babu kusan shirye-shiryen da ake bukata a nan, tare da yiwuwar yin bayani game da daidaitattun abubuwan don abubuwa daban-daban.

Mafi mashahuri game da tsarin da aka gina tare da wannan injiniyar yana racing. A hanyar, hotunan kariyar kwamfuta a sama sun tabbatar da wannan a sake.

2) Hadin kai 3D

Cibiyoyin Developer: //unity3d.com/

Wani kayan aiki mai mahimmanci don samar da wasanni mai tsanani (na tuba ga tautology). Ina bayar da shawara don motsawa bayan binciken wasu injuna da masu zanen kaya, watau. tare da cikakken hannun.

Ƙungiyar Unity 3D tana ƙunshe da injiniya wadda ta ba ka damar amfani da damar DirectX da OpenGL. Har ila yau, a cikin shirin na shirin na damar yin aiki tare da samfurin 3D, aiki tare da shaders, inuwa, kiɗa da sautuna, babban ɗakunan karatu na rubutun don ayyuka na yau da kullum.

Mai yiwuwa ne kawai bayanan kunshin wannan kunshin shi ne bukatar sanin ilimin shirye-shirye a C # ko Java - wani ɓangare na lambar yayin tattarawa dole ne a kara a cikin "yanayin jagora".

3) NeoAxis Game Engine SDK

Cibiyar Developer: http://www.neoaxis.com/

Yanayin ci gaba kyauta don kusan kowane wasanni a 3D! Tare da wannan hadaddun, zaka iya yin races, shooters, da arcades tare da kasada ...

Ga Kayan Jirgi Game, cibiyar sadarwar tana da ƙari da kari don ɗawainiya da yawa: alal misali, ilimin lissafi na mota ko jirgi. Tare da taimakon ɗakunan karatu waɗanda ba za a iya fadadawa ba, ba ma ma buƙatar fahimtar harsuna shirye-shirye!

Godiya ga kwarewa na musamman da aka gina a cikin engine, wasanni da aka kirkiri a cikinta ana iya bugawa a cikin masu bincike masu yawa: Google Chrome, FireFox, Internet Explorer, Opera da Safari.

An rarraba SDK Game Game a matsayin kyauta na ba da cinikayya ba.

3. Yadda za a ƙirƙiri wani abu 2D a cikin Editan Game Maker - mataki zuwa mataki

Mai sanya wasan - Editaccen mashahuri don ƙirƙirar wasanni 2D marasa rikitarwa (kodayake masu haɓaka suna da'awar cewa za ka iya ƙirƙirar wasanni kusan kusan dukkanin hadaddun ciki).

A cikin wannan ƙananan misalin, Ina so in nuna matakan karamin mataki a kowane lokaci akan ƙirƙirar wasanni. Wasan ya zama mai sauqi qwarai: yanayin hali na Sonic zai motsa a kusa da allon yana kokarin tattara korera ...

Farawa tare da ayyuka mai sauƙi, ƙara sabon siffofi tare da hanya, wanda ya san, watakila wasanku zai zama ainihin buga tare da lokaci! Abinda nake nufi a cikin wannan labarin shine kawai nuna inda zan fara, domin farkon shine mafi wuya ga mafi yawan ...

Blanks don ƙirƙirar wasan

Kafin ka fara ƙirƙirar wani wasa, kana buƙatar yin waɗannan abubuwa:

1. Gano yanayin wasansa, abin da zai yi, inda zai kasance, yadda mai kunnawa zai sarrafa shi da sauran bayanai.

2. Nuna hotuna na halinka, abubuwan da zaiyi hulɗa. Alal misali, idan kana da bear don tattara apples, to, kana buƙatar akalla hotuna biyu: kai da apples da kansu. Hakanan zaka iya buƙatar bayanan: babban hoto wanda aikin zai faru.

3. Yi ko kwafa sauti don abubuwan haruffa, kiɗa da za a buga a wasan.

Gaba ɗaya, kana buƙatar: tattara duk abin da zai zama dole don ƙirƙirar. Duk da haka, zai yiwu daga bisani don kara wa aikin da ake ciki na wasan duk abin da aka manta ko hagu don daga baya ...

Ɗaukaka samfurin wasanni-mataki-mataki

1) Abu na farko da kake buƙatar yin shi ne ƙara sprites na haruffa. Don yin wannan, a kan tsarin kula da wannan shirin akwai button na musamman a cikin fuska. Danna shi don ƙara sprite.

Button don ƙirƙirar sprite.

2) A cikin taga wanda ya bayyana, kana buƙatar danna maɓallin saukewa don sprite, sa'an nan kuma saka girmanta (idan an buƙata).

An aika sprite.

3) Saboda haka kana buƙatar ƙara dukkan sprites zuwa aikin. A cikin akwati, ya juya 5 sprites: Sonic da launuka masu launin apples: koren launi, jan, orange da launin toka.

Sprites a cikin aikin.

4) Na gaba, kana buƙatar ƙara abubuwa zuwa aikin. Kayan abu muhimmi ne a kowane wasa. A cikin Game Maker, wani abu abu ne mai kungiya: misali, Sonic, wanda zai motsa akan allon dangane da makullin da za ka latsa.

Gaba ɗaya, abubuwa abu ne mai rikitarwa kuma ba zai yiwu ba don bayyana shi a ka'idar. Yayin da kake aiki tare da edita, za ka zama mafi masani da babban nau'in siffofin da Mai Bayarwa mai ba da kyauta.

A halin yanzu, ƙirƙirar abu na farko - danna maɓallin "Add abu" .

Game Maker. Ƙara wani abu.

5) Na gaba, an zaɓi sprite don abin da aka ƙara (duba hotunan da ke ƙasa, a hagu + sama). A cikin akwati - halin Sonic.

Bayan haka an rubuta abubuwan da suka faru don abu: akwai wasu daga cikinsu, kowane abu shine dabi'ar abu, motsi, sauti da aka haɗa da shi, iko, da tabarau, da sauran nau'in wasanni.

Don ƙara wani taron, danna maballin tare da sunan ɗaya - sannan ka zaɓi aikin don taron a cikin hagu na dama. Alal misali, motsi cikin ƙasa da kuma tsaye lokacin da latsa maɓallin arrow.

Ƙara abubuwa zuwa abubuwa.

Game Maker. Ga abin Sonic, an haɗa abubuwa 5: motsa hali a wurare dabam daban yayin danna maballin arrow; kuma an kafa yanayin idan an tsallake iyakar filin wasa.

A hanyar, akwai abubuwa masu yawa: Mahaɗin Game ba shi da ƙananan abu a nan, shirin zai ba ku abubuwa masu yawa:

- aiki na motsa hali: gudun motsi, tsalle, ƙarfin tsalle, da dai sauransu.

- aikin murya na kiɗa a wasu ayyuka;

- bayyanar da kawar da hali (abu), da dai sauransu.

Yana da muhimmanci! Ga kowane abu a cikin wasa kana buƙatar rajistar abubuwan da ka faru. Ƙarin abubuwan da suka faru don kowane abu da ka yi rajistar - ƙwarewar da za ta kasance mai sauƙi don yin wasan. A bisa mahimmanci, ko da ba tare da sanin abin da wannan ko wannan taron zai faru ba, za ka iya horar da ta ƙara su sannan ka ga yadda wasan zai kasance bayan wannan. Gaba ɗaya, babban filin don gwaje-gwaje!

6) Ƙarshe kuma ɗaya daga cikin muhimman ayyuka shine ƙirƙirar dakin. Ɗaura wani nau'i ne na wasan, matakin da abin da kayan ku ke hulɗa. Don ƙirƙirar irin wannan dakin, danna maɓallin tare da wadannan icon :.

Ƙara dakin (wasan kwaikwayo).

A cikin ɗakin da aka halitta, ta amfani da linzamin kwamfuta, zaka iya shirya abubuwa a kan mataki. Sanya layin wasa, saita sunan sunan wasan, saka ra'ayoyi, da dai sauransu. A gaba ɗaya, dukkanin horon horo don gwaje-gwajen da kuma aiki akan wasan.

7) Don fara wasan da ya faru - danna maballin F5 ko a cikin menu: Run / al'ada kaddamarwa.

Gudun wasan da ya faru.

Mahalar Game zai buɗe a gaban ku taga da wasan. A gaskiya, zaku iya kallon abin da kuke samu, gwaji, wasa. A cikin akwati, Sonic zai iya motsawa dangane da keystrokes akan keyboard. A irin mini-game (oh, kuma akwai lokuta lokacin da fadin farin ke gudana a fadin allon baki ya haifar da mamaki da sha'awa a cikin mutane ... ).

A sakamakon game ...

Haka ne, hakika, wasan kwaikwayon da ya faru shine mahimmanci kuma mai sauqi qwarai, amma misalin halittarsa ​​alama ce. Bugu da ari, gwadawa da aiki tare da abubuwa, sprites, sautuna, bayanan da ɗakuna - zaka iya kirkiro wasan 2D mai kyau. Don ƙirƙirar irin wannan wasanni shekaru 10-15 da suka wuce, ya zama dole don samun ilimin musamman, yanzu ya isa ya iya juya motsi. Ci gaba!

Da mafi kyau! Duk nasarar tsarin wasanni ...