Cov txheej txheem:

Ua Mobile Game Tsis Coding: 6 Kauj Ruam
Ua Mobile Game Tsis Coding: 6 Kauj Ruam

Video: Ua Mobile Game Tsis Coding: 6 Kauj Ruam

Video: Ua Mobile Game Tsis Coding: 6 Kauj Ruam
Video: Tau kev seev vim ruam tsis deev. 9/28/2017 2024, Kaum ib hlis
Anonim
Image
Image

Kev ua game tuaj yeem zoo li txaus ntshai txawm hais tias nws siv kev sib koom los tsim 3D kev ua si lossis nyuaj coding games ua lus zoo li Java. Txawm li cas los xij, koj xav tau kev paub ntau yam nyob tom qab koj uas tsis yog lom zem rau ib tus neeg uas nyuam qhuav pib tawm. Yog li hauv txoj haujlwm no, peb tab tom ua qhov yooj yim heev platformer game (Zoo li Mario) txij thaum pib kom tiav.

Kauj ruam 1: Pib

Pib Pib
Pib Pib
Pib Pib
Pib Pib

Lub platform peb tab tom yuav ua peb cov game hauv hu ua AppShed, lub vev xaib no muaj App txhim kho ib puag ncig ua rau siv tau yooj yim tab sis kuj muaj Phaser game game engine tsim nws uas tso cai rau peb ua cov apps uas muaj game tsim nws!

Yog li kom pib peb yuav mus rau lub taub hau rau AppShed thiab nyem rau ntawm tus ID nkag mus (yog tias koj tsis muaj tus lej koj tuaj yeem sau npe dawb). Txog tam sim no, koj yuav raug nthuav tawm nrog ob qho kev xaiv, AppBuilder thiab IoTBuilder, vim tias peb xav ua ib qho app lub sijhawm no peb yuav nyem rau AppBuilder (txheeb xyuas peb lwm cov haujlwm kom pom yuav siv IoTBuilder li cas los ua ib qho app uas tuaj yeem ua tau. tswj teeb!)

Thaum koj nyob hauv AppBuilder koj yuav tsum tau nthuav tawm nrog lub xov tooj simulated, qhov no yog qhov uas peb yuav tsim peb cov game. Peb pib los ntawm txhaj app tshiab nyob hauv qab ntawm qhov screen uas yuav tsim qhov tshiab, peb tuaj yeem muab nws lub npe "game".

Kauj Ruam 2: Txog Game Game

Txog Game Game
Txog Game Game

Tam sim no ua ntej peb nkag mus tob rau hauv qhov kev ua si cia siv sijhawm thib ob los saib lub hauv paus game game uas yuav pab peb ua cov game yooj yim. Nws hu ua Phaser thiab nws ua haujlwm ntawm HTML 5 thiab Javascript, vim qhov no nws tso cai rau peb ua thiab khiav kev ua si hauv peb lub vev xaib.

Tam sim no yog tias koj paub dab tsi txog Phaser koj yuav paub tias koj tseem yuav tsum paub yuav siv tus lej li cas. Yog li rau qhov pib ua tiav, nws yeej tsis zoo tagnrho. Nov yog qhov AppShed los rau hauv, AppShed siv Phaser lub cav thiab sib tshooj rub thiab poob, hloov kho qhov yooj yim tso cai rau peb ua kev ua si yam tsis ua ib qho coding.

Kauj ruam 3: Rov qab los Ua App

Rov qab mus Ua App
Rov qab mus Ua App
Rov qab mus Ua App
Rov qab mus Ua App
Rov qab mus Ua App
Rov qab mus Ua App

Yog li ntawm qhov no, peb tau ua peb lub app thiab muab nws lub npe tab sis peb app yog khoob kiag li. Txhawm rau ntxiv peb thawj qhov kev ua si peb yuav tsum nyem rau ntawm cov qauv thiab tom qab ntawd tshawb rau "game" hauv kab ntawv tshawb fawb. Tom qab ntawd koj yuav pom ib pawg ntawm cov kev xaiv sib txawv (cov no yog txhua qhov kev ua si sib txawv ntawm qib sib txawv nyuaj) peb yuav nyem rau ntawm Platform game (Phaser) vim qhov no yog qhov kev ua si yooj yim tshaj plaws los kho.

Thaum koj nyem siv koj yuav tsum pom koj daim ntawv thov tam sim ntawd tau ntim nrog cov duab thiab cov npe, cov no yog txhua yam ntawm peb qhov kev ua si. Koj yuav pom tias muaj Cov Yeeb Nkab, tus yam ntxwv, lub platform, thiab keeb kwm yav dhau los uas tom qab ntawd tsim lub ntiaj teb ntawm kev ua si. Nyob rau sab saum toj kawg nkaus, koj yuav tsum pom lub pob pib ua si loj, mus tom ntej thiab ob-nias qhov ntawd kom pib qhov kev ua si.

Thaum qhov kev ua si raug rub koj tuaj yeem siv cov xub tuav lossis nyem thiab rub nrog nas kom txav mus los. Hauv qhov kev ua si, koj yuav tsum pom cov yeeb nkab, platform thiab txhua lwm yam uas peb tau pom hauv lub vijtsam dhau los.

Kauj ruam 4: Kho qhov Game

Kho qhov Game
Kho qhov Game
Kho qhov Game
Kho qhov Game
Kho qhov Game
Kho qhov Game
Kho qhov Game
Kho qhov Game

Yog li hauv qib kawg, peb tau kawm tias txhua daim duab hauv lub vijtsam tau tsim lub ntiaj teb hauv kev ua si yog li peb yuav mus kho cov no nws yuav hloov pauv yam hauv peb qhov kev ua si.

Yog li txhawm rau kho cov no peb sab laug rau ntawm yam peb xav kho, yog li hais piv txwv peb xav hloov txoj haujlwm ntawm ib qho ntawm lub platform, peb yuav ua qhov no los ntawm txhaj rau ib qho ntawm lub platform thiab tom qab ntawd peb nyem kho kom raug. Tam sim no peb yuav tsum pom lub npov ntawv uas muaj cov pawg zoo li X, Y, dav thiab siab. Yog tias peb xav hloov txoj haujlwm ntawm lub platform peb yuav hloov tus X thiab Y tus nqi thiab yog tias peb xav hloov qhov loj peb yuav hloov qhov dav thiab qhov siab.

Yog li kom txav lub platform peb hloov X tus nqi rau 100 thiab Y tus nqi rau 70. Tom qab ntawd peb nyem tseg thiab sim qhov kev ua si dua, peb yuav tsum pom tom qab ntawd qhov kev ua si zoo li txawv. Peb tuaj yeem hloov cov txiaj ntsig no ntawm txhua qhov ntawm kev ua si kom ua rau nws muaj kev cai ntau dua.

Kauj Ruam 5: Ntxiv Ntxiv

Ntxiv Ntxiv
Ntxiv Ntxiv
Ntxiv Ntxiv
Ntxiv Ntxiv

Txog tam sim no, peb tau kawm paub yuav ua li cas lub cav game ua haujlwm, yuav ua li cas rau cov kev ua si no thiab yuav ua li cas kom cov kev ua si ntau dua los ntawm kev hloov pauv thiab txav khoom, tam sim no peb tab tom saib yuav ua li cas ntxiv ntau lub platform thiab cov khoom rau peb cov game.

Thawj qhov peb yuav ua yog rov qab mus rau cov qauv thiab tshawb nrhiav game dua, hauv cov ntawv hu ua "platform game Phaser" koj yuav tsum pom qhov kev xaiv los ntxiv lwm lub platform, peb yuav nyem rau qhov no thiab tom qab ntawd nyem siv. Tam sim no koj yuav tsum pom koj lub vijtsam game muaj 3 kav dej tab sis yog tias peb tso qhov game tsuas yog 2 tuaj yeem pom. Qhov no vim tias 2 ntawm cov kav dej muaj qhov sib npaug x thiab y uas txhais tau tias lawv sib tshooj, txhawm rau kho qhov no peb tsuas yog hloov ib qho ntawm qhov muaj txiaj ntsig thiab tom qab ntawd tag nrho 3 tuaj yeem pom.

Kauj Ruam 6: Tau Nws Hauv Koj Lub Xov Tooj thiab Siv Nws Ntxiv

Tau Nws ntawm Koj Lub Xov Tooj thiab Siv Nws Ntxiv
Tau Nws ntawm Koj Lub Xov Tooj thiab Siv Nws Ntxiv
Tau Nws ntawm Koj Lub Xov Tooj thiab Siv Nws Ntxiv
Tau Nws ntawm Koj Lub Xov Tooj thiab Siv Nws Ntxiv
Tau Nws ntawm Koj Lub Xov Tooj thiab Siv Nws Ntxiv
Tau Nws ntawm Koj Lub Xov Tooj thiab Siv Nws Ntxiv
Tau Nws ntawm Koj Lub Xov Tooj thiab Siv Nws Ntxiv
Tau Nws ntawm Koj Lub Xov Tooj thiab Siv Nws Ntxiv

Yog li tam sim no peb cov game tau npaj ua si, kom ua nws mus rau peb lub xov tooj peb nyem rau tshaj tawm ua raws li pib, thaum cov txheej txheem no ua tiav peb nyem rau ntawm qhov sib faib thiab tom qab ntawd QR Code. Qhov no yuav nthuav qhia peb nrog QR Code peb tuaj yeem tshuaj xyuas nrog peb lub xov tooj uas peb tso peb cov game rau hauv peb lub xov tooj. Hauv qhov teeb meem ntawm vib nas this, qhov game tau rub thiab peb tam sim no tuaj yeem ua si ntawm peb lub xov tooj. Txhawm rau tswj tus cwj pwm koj tuaj yeem rub koj tus ntiv tes hla lub vijtsam lossis koj tuaj yeem qaij koj lub xov tooj raws li koj xav txav mus.

Thiab ib yam li ntawd peb tau tsim qhov kev ua si yooj yim heev thiab muab tso rau hauv peb lub xov tooj. Tam sim no, qhov no yog ib qho ntawm cov kev ua si yooj yim tshaj plaws uas koj tuaj yeem tsim tab sis koj tuaj yeem coj nws qee qhov ntxiv ntau dua li tsuas yog kev ua si platformer yooj yim. Txheeb tawm qhov kev ua si qhov chaw ntxeem tau ua nws AppShed. Ntawm no

Yog tias koj muaj lus nug thov koj xav tawm lus tawm thiab peb yuav rov qab rau koj

Pom zoo: