Cov txheej txheem:

Warzone Tower Defense: 20 Kauj Ruam
Warzone Tower Defense: 20 Kauj Ruam

Video: Warzone Tower Defense: 20 Kauj Ruam

Video: Warzone Tower Defense: 20 Kauj Ruam
Video: Warzone Tower Defense Tips & Tricks 2024, Hlis ntuj nqeg
Anonim
Warzone Tower Defense
Warzone Tower Defense
Warzone Tower Defense
Warzone Tower Defense

Txoj haujlwm Warzone Tower Defense no yog tsim los ntawm kev ua si pixel-style uas nws lub hom phiaj yog tiv thaiv lub pej thuam nrog riam phom sib txawv thiab rhuav tshem txhua tus yeeb ncuab thaum kawg.

Dab tsi peb yuav tsum tau ua kom coj tus pej thuam no mus rau hauv ib qho chaw thiab ua lub tsheb neeg hlau ("kab") los ua piv txwv rau cov yeeb ncuab.

Plaub txoj kab, peb kab thiab ib lub pej thuam ua rau tag nrho txoj haujlwm. Peb tuaj yeem piav qhia qhov haujlwm no hauv peb txheej txheem:

① Teeb tsa txoj kev.

② Cov kab tau teeb tsa ua ntu zus.

③ Lub pej thuam tua kab.

Kauj Ruam 1: Txog JI, VG100 Cov Hoob thiab Peb

Txog JI, VG100 Cov Hoob thiab Peb
Txog JI, VG100 Cov Hoob thiab Peb
Txog JI, VG100 Cov Hoob thiab Peb
Txog JI, VG100 Cov Hoob thiab Peb
Txog JI, VG100 Cov Hoob thiab Peb
Txog JI, VG100 Cov Hoob thiab Peb
Txog JI, VG100 Cov Hoob thiab Peb
Txog JI, VG100 Cov Hoob thiab Peb

JI, lub npe luv ntawm Kev Koom Tes Koom Tes, yog lub koom haum kev tsim vaj tsev uas tau koom ua ke los ntawm Shanghai Jiao Tong University thiab University of Michigan xyoo 2006 [1]. Nws nyob rau sab qab teb hnub poob ntawm Shanghai.

Ib qho ntawm qhov tshwj xeeb tshaj plaws ntawm JI yog kev thoob ntiaj teb, uas yuav tsum muaj kev kawm lus Askiv zoo ib puag ncig thiab kev nkag siab txog kev coj noj coj ua txawv thiab qhov muaj nqis. Lwm qhov tshwj xeeb yog nws hais txog kev muaj peev xwm tswj hwm uas txhawb kom cov tub ntxhais kawm xav thiab coj lub tswv yim ci ntsa iab mus rau hauv ib qho chaw.

Peb VG100 chav kawm yog qhov piv txwv tseem ceeb ntawm tus yam ntxwv thib ob, nrog lub hom phiaj tseem ceeb los qhia cov tub ntxhais kawm ntawv tshiab yuav ua li cas thiaj ua tiav txhua txoj haujlwm tsim vaj tsev thiab tom qab ntawd qhia meej rau cov neeg mloog. Kev ua ke ntawm ob lub hom phiaj no coj mus rau peb li Warzone Tower Defense project, thiab peb nyob ntawm no los piav qhia rau koj tias nws ua haujlwm li cas.

Peb yog Wang Zibo, Zhou Runqing, Xing Wenqian, Chen Peiqi thiab Zhu Zehao, los ntawm Pab Pawg Ib, Apollo. Apollo yog vaj tswv ntawm lub teeb thiab peb siv nws lub npe los qhia peb qhov kev txiav txim siab tias lub teeb ib txwm ci rau peb thiab yog li peb yuav tsis tso tseg.

Kauj Ruam 2: Cov Cai ntawm Txoj Haujlwm

Cov Cai ntawm Txoj Haujlwm
Cov Cai ntawm Txoj Haujlwm

Txheeb tawm thaj chaw, tso tus pej thuam (ua ntawv) nyob hauv nruab nrab ntawm thaj chaw

Kab ob txoj kev sib tshuam sib tshuam, 2.5-meter-txoj kev ntev. Yog li ntawd, kab tuaj yeem nkag mus rau pej thuam los ntawm plaub txoj kev qhia

Txoj kev 2.5-meter-ntev no tau muab faib ua peb ntu, raws li tau qhia hauv daim duab

Part Thawj feem ntawm txoj kev, yog qhov chaw nkaum 0.5-meter-ntev. Qhov kev ncua deb no yog siv rau theem nrawm ntawm kab kab yog li nws yuav tsis raug tua nyob rau qhov deb no.

Part Qhov thib ob yog ib-meter ntev. Qhov kawg ntawm ntu no, muaj kab dawb los txheeb xyuas seb puas tuaj yeem nres qhov tseeb ntawm qhov no. Cov kab yuav tsum nres rau 2 vib nas this.

Part Qhov thib peb yog qhov kawg ib 'meter'. Yog tias koj xav kom dhau qhov kev ua si, txhua kab yuav tsum raug tua los ntawm tus pej thuam ua ntej lawv tsoo mus rau hauv tus pej thuam. Tab sis peb teeb lwm txoj kab dawb ntawm qhov kawg ntawm txoj kab uas cov kab yuav tsum nres tam sim txawm tias nws tsis tau raug tua, txhawm rau tiv thaiv cov pej thuam ntawm daim ntawv uas tsis yooj yim.

Cov kab yuav tsum mus tom ntej hauv kab ncaj

Teem qhov nrawm ntawm kab ntawm 0.2m/s-0.3m/s

Cov ntsuas hluav taws xob ultrasonic nyob hauv qab ntawm tus pej thuam muaj peev xwm txheeb xyuas qhov chaw ntawm kab laum raws qhov nrug nruab nrab ntawm lawv tsuas yog tom qab cov kab tawm ntawm thaj chaw nyob

Lub laser yuav tsum tsis txhob tig txhua lub sijhawm. Nws yuav tsum tig mus rau qhov kev taw qhia qhov kab ua los ntawm tsuas yog tom qab qhov chaw ntawm kab tau raug txiav txim

Lub sijhawm uas lub tshuab hluav taws xob los ntawm lub tshuab taw qhia lub laser mus txog tus yees duab-tus tiv thaiv, kab yuav tsum nres thiab qhov ntawd txhais tau tias nws tau raug tua

Cov kab yuav tsum tsis txhob raug tua thaum 2-4s ntawm kab dawb hauv nruab nrab ntawm txoj kab

Kauj Ruam 3: Txog Cov Khoom Uesd hauv Txoj Haujlwm no

Txog Cov Khoom Siv Uesd hauv Txoj Haujlwm no
Txog Cov Khoom Siv Uesd hauv Txoj Haujlwm no
Txog Cov Khoom Siv Uesd hauv Txoj Haujlwm no
Txog Cov Khoom Siv Uesd hauv Txoj Haujlwm no
Txog Cov Khoom Siv Uesd hauv Txoj Haujlwm no
Txog Cov Khoom Siv Uesd hauv Txoj Haujlwm no

Txhua cov ntaub ntawv thiab cov cuab yeej siv hauv qhov haujlwm no tau qhia hauv cov duab saum toj no.

Kauj Ruam 4: Kab lus Cov Lus Qhia ib qib zuj zus: Kauj Ruam 1

Kab lus qhia ib qib zuj zus: Kauj Ruam 1
Kab lus qhia ib qib zuj zus: Kauj Ruam 1
Kab lus qhia ib qib zuj zus: Kauj Ruam 1
Kab lus qhia ib qib zuj zus: Kauj Ruam 1
Kab lus qhia ib qib zuj zus: Kauj Ruam 1
Kab lus qhia ib qib zuj zus: Kauj Ruam 1

Tig hla lub rooj tsav tsheb kab rov tav. Ua rau lub log tsis txav mus rau nws nrog cov kua nplaum kub yaj. Nco ntsoov tias lub log nyob nruab nrab ntawm txoj kev taug.

Koj raug pom zoo kom saib cov qauv tsim ntawm peb cov kab uas tau hais los saum toj no ua ntej ua raws cov lus qhia.

Kauj Ruam 5: Kab lus Cov Lus Qhia ib qib zuj zus: Kauj Ruam 2

Kab lus qhia ib qib zuj zus: Kauj Ruam 2
Kab lus qhia ib qib zuj zus: Kauj Ruam 2
Kab lus qhia ib qib zuj zus: Kauj Ruam 2
Kab lus qhia ib qib zuj zus: Kauj Ruam 2

Muab lub cav tso rau hauv lub tog raj kheej. Siv lub coupler {1} kom haum lub cav rau lub log tsheb. Cov ntsia hlau xav tau los xyuas kom nws nrawm.

Muab cov khoom tso rau sab nraum qab ntawm lub rooj tsav tsheb kab rov tav. Cov log yuav tshwm sim sib npaug ntawm ob sab ntawm kab.

Kauj Ruam 6: Kab lus Cov Lus Qhia ib qib zuj zus: Kauj Ruam 3

Kab lus qhia ib qib zuj zus: Kauj Ruam 3
Kab lus qhia ib qib zuj zus: Kauj Ruam 3

Khaws Arduino board {2}, lub rooj mov ci {3}, lub rooj tsav tsheb tsav {4}, lub thawv roj teeb thiab Li-polymer {5} rau ntawm lub rooj tsav tsheb kab rov tav.

Lawv txoj haujlwm txheeb ze tuaj yeem hloov pauv kom raug raws li koj tus kheej xav tau.

Kauj Ruam 7: Kab lus Cov Lus Qhia ib qib zuj zus: Kauj Ruam 4

Kab lus qhia ib qib zuj zus: Kauj Ruam 4
Kab lus qhia ib qib zuj zus: Kauj Ruam 4

Khaws lub teeb pom kev zoo {6} mus rau lub rooj tsav xwm rov qab nrog cov kua nplaum kub yaj. Lub sensor yuav tsum nyob ntawm qhov chaw nruab nrab ntawm pawg thawj coj saib thiab sib luag nrog hauv av.

Tom qab ntawd, txuas ob lub laug cam ua ke (qhov no tuaj yeem pom hauv cov duab ntawm cov kauj ruam tom ntej).

Kauj Ruam 8: Kab lus Cov Lus Qhia ib qib zuj zus: Kauj Ruam 5

Kab lus qhia ib qib zuj zus: Kauj Ruam 5
Kab lus qhia ib qib zuj zus: Kauj Ruam 5

Nruab peb lub ntsuas hluav taws xob nrhiav hluav taws xob {7} rau kev sib koom ntawm ob lub rooj tsavxwm.

Kauj Ruam 9: Kab lus Cov Lus Qhia ib qib zuj zus: Kauj Ruam 6

Kab lus qhia ib qib zuj zus: Kauj Ruam 6
Kab lus qhia ib qib zuj zus: Kauj Ruam 6

Tau cov xov hlau txuas.

Ua raws daim duab qhia chaw kom zoo.

Kauj ruam 10: Saib zaum kawg ntawm kab

Saib zaum kawg ntawm kab
Saib zaum kawg ntawm kab
Saib zaum kawg ntawm kab
Saib zaum kawg ntawm kab
Saib zaum kawg ntawm kab
Saib zaum kawg ntawm kab

Kauj Ruam 11: Cov Tsev Qhia Ib Leeg-Kauj Ruam-Kauj Ruam: Kauj Ruam 1

Cov lus qhia ib qib zuj zus: Kauj Ruam 1
Cov lus qhia ib qib zuj zus: Kauj Ruam 1

Tsim cov ntawv ntawv raws li tau qhia hauv daim duab (tshwj tsis yog rau qhov xim liab thiab xiav).

Daim ntawv ceeb toom tias tsuas yog cov kua nplaum dawb tuaj yeem siv rau kev txav mus los.

Kauj Ruam 12: Cov Tsev Qhia Ib Leeg-Kauj Ruam-Kauj Ruam: Kauj Ruam 2

Cov lus qhia ib qib zuj zus: Kauj Ruam 2
Cov lus qhia ib qib zuj zus: Kauj Ruam 2

Nruab plaub lub ntsuas hluav taws xob ultrasonic {8} mus rau plaub sab ntawm tus pej thuam.

Kauj Ruam 13: Cov Tsev Qhia Ib Leeg-Kauj Ruam-Kauj Ruam: Kauj Ruam 3

Cov lus qhia ib qib zuj zus: Kauj Ruam 3
Cov lus qhia ib qib zuj zus: Kauj Ruam 3

Nyob rau sab saum toj ntawm tus pej thuam, tso ib daim nyias nyias ntawm cov iav hluavtaws. Tom qab ntawd muab Arduino board, khob cij board, roj teeb thiab lub thawv roj teeb mus rau cov iav hluavtaws.

Kauj Ruam 14: Cov Tsev Qhia Ib Leeg-Kauj Ruam-Kauj Ruam: Kauj Ruam 4

Cov lus qhia ib qib zuj zus: Kauj Ruam 4
Cov lus qhia ib qib zuj zus: Kauj Ruam 4

Nruab lub taub hau menyuam txaj {9} tsuas yog hauv qab iav hluavtaws. Tom qab ntawd, txuas lub kauj tsheb nrog lub taub hau menyuam txaj.

Kauj Ruam 15: Ntauwd Cov Lus Qhia Ib Leeg-Kauj Ruam: Kauj Ruam 5

Cov lus qhia ib qib zuj zus: Kauj Ruam 5
Cov lus qhia ib qib zuj zus: Kauj Ruam 5

Tau cov xov hlau txuas.

Ua raws daim duab qhia chaw kom zoo.

Kauj Ruam 16: Saib zaum kawg ntawm Ntauwd

Saib zaum kawg ntawm Ntauwd
Saib zaum kawg ntawm Ntauwd
Saib zaum kawg ntawm Ntauwd
Saib zaum kawg ntawm Ntauwd

Kauj Ruam 17: Peb Qhov Ua Tau Zoo hauv Txoj Haujlwm no

Peb tau tua ib kab, uas taug kev deb li 1.5m.

Txij li qhov xav tau ib puag ncig tsaus ntuj nyob rau Hnub Ua Si, peb tsis tuaj yeem muab cov vis dis aus kom meej txaus. Txhawm rau ua qhov no, peb tso lwm cov vis dis aus uas tau ua hauv ib hnub los qhia txog kev ua haujlwm ntawm peb kab laum.

Kauj Ruam 18: Cov Ntawv Ntxiv A: Siv

[1]

[2]

Kauj Ruam 19: Cov Ntawv Ntxiv B: Cov lus piav qhia

{1} Coupler: ib yam ntawm cov khoom siv sib txuas siv los txuas ob yam khoom uas yog qhov tsis sib xws ua ke

{2} Arduino board: yam yooj yim ntawm microcontroller

{3} Pawg mov ci: siv rau kev sib txuas ntawm cov hluav taws xob hluav taws xob yam tsis muaj txheej txheem txheej txheem

{4} Tsav tsheb tsav: siv los tswj kev ua haujlwm ntawm lub cav

{5} Li-polymer: ib lub roj teeb uas muaj peev xwm muab qhov hluav taws xob ruaj khov

{6} Lub teeb pom kev zoo: Lub teeb duab me me tau teeb tsa rau saum npoo ntawm ntu no thiab nws tuaj yeem paub qhov txawv ntawm lub teeb sib txawv.

{7} Infrared mus txog qhovtwg sensor: lub sensor uas ua rau kom kab mus ncaj los ntawm kev pom lub teeb dawb

{8} Ultrasonic sensor: Txheeb xyuas qhov tseeb ntawm qhov chaw txav los ntawm kev tau txais lub teeb liab ultrasonic thiab tom qab ntawd hloov nws mus rau teeb liab hluav taws xob.

{9} Lub taub hau taub hau: siv los txhawb qee yam

{10} Steering cav: ib yam ntawm cov khoom siv uas tuaj yeem tig rov qab thiab mus rau qhov kev xav tau

Kauj Ruam 20: Ntxiv C: Kev daws teeb meem

Lus Nug: Vim li cas kuv thiaj tsis tuaj yeem muab cov iav tso rau ntawm cov iav hluavtaws nrog cov kua nplaum kub?

A: Thov ceeb toom tias thaj chaw sib cuag ntawm lub cav thiab lub iav hluavtaws yog qhov txwv. Koj yuav tsum nrhiav thaj chaw uas koj yuav yaj cov kua nplaum thiab ib zaug cov khoom sib dhos tau tsau rau ntawm lub rooj tsavxwm, koj yuav tsum tsis txhob txav mus ntxiv kom txog thaum cov kua nplaum tau khov dua.

Q: Vim li cas kuv cov kab tsis tuaj yeem mus ncaj nraim?

A: Daim ntawv ceeb toom tias txhua lub cav sib txawv ntawm lwm lub cav me ntsis, zoo ib yam nrog cov log tsheb. Koj tuaj yeem txo qhov ua yuam kev los ntawm kev nrhiav ob lub cav zoo sib xws thiab cov log tsheb, lossis teeb tsa lub ntsuas ntsuas ib yam li peb tau ua tiav.

Q: Vim li cas kuv lub pej thuam ib txwm poob?

A: Pom tias daim ntawv tsis zoo ntawm qhov hnyav. Koj tuaj yeem ua tus pej thuam kom ruaj khov los ntawm kev ntxiv cov ntawv zoo li lub tog raj kheej uas nyob ib puag ncig hauv qab ntawm tus pej thuam. Txawm li cas los xij, xyuas kom tseeb tias koj cov qauv tsis muaj ntawv ntau dua peb txheej.

Q: Vim li cas kuv thiaj tsis tuaj yeem tau txais cov ntaub ntawv ruaj khov los ntawm cov ntsuas ultrasonic?

A: Daim ntawv ceeb toom tias lub nplhaib tam sim no tuaj yeem tsim hluav taws xob uas coj mus rau qhov hloov pauv ntawm cov ntaub ntawv. Koj tuaj yeem txo nws cov txiaj ntsig los ntawm kev txhim kho cov xov hlau.

Pom zoo: