Cov txheej txheem:

(Ntau tus neeg sib ntaus) Sib ntaus ntawm GameGo Nrog Makecode Arcade: 6 Kauj Ruam
(Ntau tus neeg sib ntaus) Sib ntaus ntawm GameGo Nrog Makecode Arcade: 6 Kauj Ruam

Video: (Ntau tus neeg sib ntaus) Sib ntaus ntawm GameGo Nrog Makecode Arcade: 6 Kauj Ruam

Video: (Ntau tus neeg sib ntaus) Sib ntaus ntawm GameGo Nrog Makecode Arcade: 6 Kauj Ruam
Video: Sib Hawm Dhau (Time Passed) Music Video by: Deeda/Dib Xwb 2024, Kaum ib hlis
Anonim

GameGo yog Microsoft Makecode tau tshaj retro gaming portable console tsim los ntawm TinkerGen STEM kev kawm. Nws yog ua raws STM32F401RET6 ARM Cortex M4 nti thiab ua rau STEM cov kws qhia lossis tsuas yog cov neeg uas nyiam muaj kev lom zem tsim kev ua yeeb yaj kiab retro.

Hauv cov kab lus peb tau tshaj tawm ua ntej peb twb tau sim peb txhais tes ua lub platformer game thiab Battle City Remake. Lub sijhawm no kuv xav siv Jacdac interface los txuas ob GameGo ua ke thiab tso cai rau cov neeg ua si sib ntaus rau kev muaj hwj chim loj hauv kev sib ntaus sib tua sib ntaus. Hmoov tsis zoo, Kuv pom tias qhov thaiv cov phiaj xwm rau Jacdac multiplayer yog nyob rau theem beta tam sim no thiab muaj qee qhov kab - nws tseem muaj peev xwm ua kom yooj yim kev ua si, tab sis tsis muaj hmoo rau kuv kev sib ntaus. Yog li, hauv cov lus qhia no kuv tshaj tawm peb qhov kev ua si (uas kuv hu ua "Cthulhu Combat":))

- tib tus neeg uas ua ntawv nrog yooj yim AI tus nrog sib ntaus

- multiplayer version ua si hauv Arcade simulation

- multiplayer version nrog Jacdac (tsis tiav, yuav hloov kho tom qab)

Khoom siv

GameGo

Microsoft Makecode Arcade

Kauj ruam 1: Thaum Pib thiab Round_setup Cov Haujlwm

Ntawm Pib thiab Round_setup Cov Haujlwm
Ntawm Pib thiab Round_setup Cov Haujlwm

Kuv yuav piav qhia coding ib tus neeg ua si game hauv cov ntsiab lus thiab tom qab ntawd hauv cov kauj ruam tom ntej peb tham txog yuav ua li cas thiaj ua tau

a) Simulator multiplayer

b) Jacdac multiplayer.

Peb pib nrog teeb tsa daim phiaj qhia chaw kom tsaus qhov taub thiab tsim sprites rau cov neeg uas ua ntawv thiab AI bot - ob qho ntawm lawv yuav yog tus neeg ua si zoo li. Peb teeb lawv y -axis nrawm rau 600 - yog li lawv yuav tsis ya tom qab dhia. Peb kuj tseem pib qhov projectiles los ntawm bot thiab player ua ntej hu ua round_setup muaj nuj nqi. round_setup muaj nuj nqi saib xyuas kev npaj puag ncig tshiab rau peb - yog vim li cas peb thiaj ua nws txoj haujlwm yog vim tias tuaj yeem muaj ntau txog 3 qhov kev sib tw tag nrho hauv kev ua si thiab peb xav kom tsis txhob rov ua qhov qub. Hauv qhov haujlwm ntawd ua ntej peb txheeb xyuas yog tias ib tus ntawm cov neeg ua si muaj 2 yeej - yog tias qhov xwm txheej no tshuaj xyuas zoo li Tseeb, tom qab ntawd nws tau ua tiav lawm. Yog tias ob tus neeg ua si muaj tsawg dua ob qhov kev yeej, peb nce qhov sib tw round_num los ntawm ib qho thiab tso cov players ntawm lawv qhov chaw pib, rov ua lawv lub neej rau 100 thiab tshaj tawm qhov pib puag ncig tshiab.

Kauj ruam 2: Game Flow

Kev Ua Si
Kev Ua Si

Hauv qhov kev ua si hauv ntiaj teb no nws tus kheej zoo li qub thiab qhov kev ua si ntws tau txuas nrog cov neeg ua si. Hauv plaub qhov thaiv peb piav qhia feem ntau ntawm txoj cai kev ua si, cov thaiv no yog: ntawm lub pob nyem, nyem rau ntawm lub pob nyem, ntawm A khawm nias thiab ntawm B khawm nias. Cia peb saib ntawm txhua qhov thaiv no.

ntawm lub pob nyem nias - ob lub logic dhia. Yog tias peb nias lub pob dhia qis dua 3 zaug, tom qab ntawd peb teeb tus neeg siv vy nrawm rau - 140 (txav mus rau sab saud). Peb cov neeg ua si muaj vy nrawm nrawm rau 600, yog li thaum peb dhia, peb qhov nrawm yuav qis dua. Thaum nws mus txog 0 (tsis txav ntawm kab ntsug) peb teeb tsa dhia_count rau 0 dua.

nyob rau hauv qab khawm nias - ranged nres daim thaiv logic. Yog tias khawm qis tau nias tus neeg hloov pauv nws cov duab rau "tiv thaiv" thiab teeb tsa qhov sib txawv tiv thaiv rau 1.

ntawm khawm A nias - tua lub projectile. Tus ntawd yog qhov piav qhia tus kheej zoo nkauj heev.

ntawm khawm B nias - kev sib ntaus sib tua, zoo ib yam li ntaub thaiv npog hauv kev siv.

Peb teeb cov duab ntawm cov players sprites thiab lawv cov ntaub thaiv npog/tawm tsam rau 0 txhua 500 ms hauv kev hloov kho game txhua txhua.. ms thaiv. Peb tuaj yeem teeb tsa lub sijhawm ywj pheej rau txhua qhov kev nqis tes ua, tab sis rau qhov yooj yim peb tsuas yog siv lub ntsiab lus hloov tshiab game.

Cov xwm txheej yeej ntawm no yog qhov yooj yim zoo nkauj - thaum cov neeg ua si lub neej mus txog 0, lwm tus neeg uas ua ntawv tau yeej puag ncig, tom qab ntawd peb khaws tus lej ntawm yeej los ntawm cov neeg ua si hauv qhov sib txawv.

Thaum kawg, muaj ob lub thaiv uas tswj kev sib ntaus sib tua puas tsuaj thiab sib ntaus sib tua puas tsuaj. Hauv txhua ntawm lawv peb tshawb xyuas kev sib tsoo sprite thiab yog tias tiv thaiv/tawm tsam sib txawv rau cov neeg tawm tsam tau teeb tsa rau 0/1.

Kauj Ruam 3: Game 1: AI Sib tw

Game 1: AI Sib tw
Game 1: AI Sib tw

Hauv thawj qhov kev ua si peb yuav tsim tus neeg sib tw AI yooj yim los ua tus thib ob. Sab hauv ntawm kev hloov kho game txhua txhua 200 ms peb ua thawj qhov kev txheeb xyuas nrug ntawm cov neeg ua si thiab AI - yog tias nws tsawg dua 20 peb teeb tsa peb AI hauv kev sib ntaus sib tua los ntawm kev nce nws lub sijhawm sib ntaus sib tua kom txog 30 thiab sib ntaus sib tua muaj feem cuam tshuam rau 30. Yog tias qhov kev ncua deb siab dua tshaj 20 peb teeb tsa lub sijhawm sib ntaus sib tua kom xoom (tsis muaj pint hauv kev sib ntaus sib tua, vim tias cov neeg ua si nyob deb dhau) thiab txav sijhawm mus rau 70. Tom qab qhov kev hloov pauv rau qhov muaj feem yuav ua tau raug teeb tsa peb mus rau kev ua cov haujlwm no nrog cov sijhawm tshwj xeeb. Yog tias koj sim ua si tawm tsam qhov yooj yim AI koj tus kheej, koj yuav pom tias txawm hais tias nws tus cwj pwm yog yooj yim heev, yeej tawm tsam nws tsis yooj yim - feem ntau nyob rau hauv rooj plaub nrog khoos phis tawj tswj hwm cov neeg sib tw nws yeej feem ntau vim tias nws tuaj yeem ua ntau dua ib pliag dua tib neeg ua si.

Yog tias koj nyam thaum teev, koj tuaj yeem rub tawm cov lej tag nrho hauv peb qhov chaw cia khoom GitHub rau txoj haujlwm no thiab qhib nws hauv Makecode Arcade.

Kauj ruam 4: Game 2: Simulator Multiplayer

Game 2: Simulator Multiplayer
Game 2: Simulator Multiplayer
Game 2: Simulator Multiplayer
Game 2: Simulator Multiplayer

Qhov kev sib txawv ntawm kev ua si rau ob tus neeg ua si hauv kev sim yog zoo ib yam rau ib tus neeg ua si version, tshwj tsis yog tias peb hloov AI tus cwj pwm thaiv nrog plaub ntawm tus neeg ua si 2 khawm nias lub thaiv - nrog cov ntsiab lus sab hauv ntawm cov thaiv no tsom cov ntsiab lus ntawm tib lub block rau player 1. saib ntawm lub vijtsam kom tau txais lub tswv yim zoo tias koj xav hloov dab tsi. Sib nrug los ntawm qhov ntawd peb kuj yuav tsum tau ntxiv txav tus neeg ua si 2 nrog cov nyees khawm thaiv rau ntawm qhov pib ua haujlwm thiab hloov qhov kawg ntawm lub vijtsam rau cov neeg ua si ob qhov kev ua si mus rau WIN tsis txhob poob.

Kauj Ruam 5: Game 3: Jacdac Multiplayer

Game 3: Jacdac Multiplayer
Game 3: Jacdac Multiplayer

Kuv tau pom ib lub zej zog kev siv Jacdac ntau tus neeg nrog Makecode arcade blocks hauv cov rooj sab laj no

forum.makecode.com/t/new-extension-real-mu…

Kuv sim qhov kev ua si piv txwv muaj (Chaw Invaders) thiab pom nws ua haujlwm tau zoo heev. Hmoov tsis zoo, kev siv tshuab ntawm Cthulhu Combat siv ntau qhov kev hloov pauv thiab nws zoo li tias Kev Sib Tw Ntau Tus Tiag tsis txhawb nqa cov kev hloov pauv sib xws tsis tau - yog li kuv tau txais nws ua haujlwm, ob tus neeg ua haujlwm tau ua tiav hla cov cuab yeej, tab sis lub neej tsis tuaj yeem ua tau Tsis txhob poob ntawm cov khoom sib tw. Tsis tas li muaj qee yam tsis raug nrog lub tshuab ua haujlwm tsis zoo, cov projectiles tsis zoo li ploj tom qab tsoo phab ntsa, uas ua rau qhov kev ua si poob kev sib txuas tom qab kwv yees li 10 lub foob pob tau raug rho tawm haujlwm.

Koj tuaj yeem sim ua ntau tus neeg los ntawm rub tawm cov ntaub ntawv-p.webp

Kauj Ruam 6: Cia Cthulhu Sib Ntaus Pib

Cia Cthulhu Combat Pib!
Cia Cthulhu Combat Pib!

Tseem muaj ntau qhov kev txhim kho uas tuaj yeem ua rau peb qhov kev sib ntaus sib tua yooj yim - piv txwv li, koj tuaj yeem ntxiv qhov nyuaj AI tus cwj pwm lossis siv txuas ntxiv ntxiv khawm sib txuas ua ke thiab/lossis cov kab lus ua yeeb yaj kiab. Hmoov zoo thiab muaj kev lom zem thaum koj tsim koj tus kheej kev ua si nrog GameGo thiab Makecode Arcade.

Yog tias koj ua qhov hloov kho ntawm qhov kev ua si, qhia nws hauv cov lus hauv qab no! Yog xav paub ntxiv ntawm GameGo thiab lwm yam khoom siv rau cov kws tsim khoom thiab STEM cov kws qhia ntawv, mus saib peb lub vev xaib, https://tinkergen.com/ thiab sau npe yuav rau peb tsab ntawv xov xwm.

Pom zoo: