Cov txheej txheem:
- Kauj Ruam 1: Tsim Game Tshiab
- Kauj ruam 2: Hloov Fps
- Kauj Ruam 3: Tsim Sprites
- Kauj Ruam 4: Tsim Cov Hom Phiaj
- Kauj ruam 5: Teem Variables
- Kauj Ruam 6: Pib Tsiv
- Kauj Ruam 7: Ntxiv Kev Sib Tsoo Kab Rov Tav
- Kauj Ruam 8: Kev sib tsoo ntsug
- Kauj Ruam 9: Ntxiv Gravity
- Kauj ruam 10: Dhia
- Kauj Ruam 11: Daim Ntawv Qhia
- Kauj Ruam 12: Qhov No Txhais Li Cas
Video: Gamemaker Yooj Yim Game: 12 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Qhov kev ua si no yog ib qho yooj yim (tej zaum koj paub ntawm lub npe). Nws muaj ib qho thaiv (uas yog koj) thiab nws tseem muaj lub platform uas tau tsim lossis lwm qhov thaiv xim.
Rau qhov kev ua si no koj yuav xav tau:
A yo yo game account rau nkag mus rau Gamemaker studio 2
Txawm li cas los xij koj yuav tsis xav tau cov phiaj xwm them nyiaj rau Gamemaker.
Kauj Ruam 1: Tsim Game Tshiab
Thawj kauj ruam yog tsim kom muaj kev ua si tshiab.
Rau qhov ntawd koj yuav tsum:
- Nyem Tshiab
- Nyem GameMaker Language
- Ntaus yam koj xav kom koj lub npe ua si
Kauj ruam 2: Hloov Fps
Feem ntau thawj kauj ruam los tsim kev ua si yog hloov fps (thav duab ib ob) rau qhov xav tau. Rau peb nws yuav yog 60.
Txhawm rau ua qhov no koj yuav tsum:
- Qhib Cov Xaiv coj mus rhaub rau sab xis
- Nyem rau ntawm Main
- Nrhiav Game ntas ib ob thiab hloov nws mus rau 60
Kauj Ruam 3: Tsim Sprites
Tam sim no peb muaj tag nrho peb cov kev xaiv cais tawm, peb tuaj yeem tau txais cov game sprites thiab cov khoom pib.
Ua li ntawd:
- Txoj cai nyem rau ntawm Sprites vaj huam sib luag ntawm sab xis.
- Tom qab ntawd nyem rau ntawm Tsim sprite
- Hloov koj tus sprite Splayer (s nyob rau hauv pem hauv ntej qhia koj tias nws yog tus tua hluav taws)
- Nyem Kho Duab
- Kos koj tus neeg uas ua ntawv. Txog qhov piv txwv no kuv siv lub thawv ntsuab uas zoo kawg rau koj siv ib yam
- Rov ua dua rau phab ntsa. Tab sis lub sijhawm no npe nws Swall thiab xim lub thawv grey
Kauj Ruam 4: Tsim Cov Hom Phiaj
Tam sim no peb muaj peb tus sprites peb tuaj yeem tsim cov khoom rau lawv.
Ua li no:
- Txoj cai nyem rau ntawm Lub Hom Phiaj ib sab ntawm sab xis thiab xaiv Tsim Cov Khoom
- Hloov lub npe Oplayer
- Nyem Tsis Sprite thiab xaiv Splayer
- Rov ua dua rau Swall tab sis npe nws Owall thiab muab nws Swall
Kauj ruam 5: Teem Variables
Tam sim no tias txhua yam peb cov khoom tau ua tiav peb tuaj yeem pib coding. Qhov thawj kauj ruam uas peb yuav ua yog teeb tsa peb cov kev hloov pauv
Ua li no:
- Xaiv cov xwm txheej hauv Oplayer ntawv qhia zaub mov
- Nyem tsim
- Ntaus 4 qhov sib txawv uas tau qhia hauv daim duab kawg ntawm cov kauj ruam no nrog rau cov cim ib nrab ntawm qhov kawg ntawm txhua kab
- Hloov 0.1 mus rau 2 (thov txim txog qhov suav tsis txheeb hauv daim duab)
Kauj Ruam 6: Pib Tsiv
Txhawm rau pib txav koj yuav tsum:
- Tsim ib qho kev tshwm sim
- Txheeb xyuas thaum cov yuam sij raug nias (saib cov cai ntawm daim duab thib ob ntawm cov kauj ruam no)
- Txav mus thaum cov yuam sij raug nias (saib cov cai ntawm daim duab thib peb ntawm cov kauj ruam no)
Saib tag nrho cov cai rau theem no ntawm daim duab thib peb
Kauj Ruam 7: Ntxiv Kev Sib Tsoo Kab Rov Tav
Tam sim no tias peb muaj kab rov tav txav chaw peb xav tau kev sib tsoo ntawm kab rov tav
Ua li ntawd:
- Txoj cai ua ntej x = x + hsp ntxiv cov cai tshiab uas nyob hauv daim duab 1
- Tam sim no ntxiv cov cai uas yog hauv daim duab 2 (tsis txhob txhawj xeeb thaum kawg kuv yuav hla txhua yam txhais tau tias)
- Tam sim no ntxiv cov cai uas yog hauv daim duab 3
Kauj Ruam 8: Kev sib tsoo ntsug
Cov cai no zoo nkauj ib yam li cov cai hauv cov kauj ruam dhau los, yog li tsuas yog luam tawm ntawm daim duab saum toj saud
Kauj Ruam 9: Ntxiv Gravity
Txoj cai hauv qab hsp = txav * taug kev
Hom vsp = vsp * grv
Kauj ruam 10: Dhia
Rau ntu kawg ntawm cov cai peb yuav dhia mus dhia (ha-ha)
Tsuas yog luam qhov twg thiab tus lej twg yog ua kom tiav cov cai
PS
Hloov qhov -7 mus rau -20 (thov txim txog qhov muab xam tsis raug hauv daim duab)
Kauj Ruam 11: Daim Ntawv Qhia
Txog qhov kawg ntawm koj qhov kev ua si koj yuav tsum ua daim ntawv qhia chaw
Qhib cov ntawv nplaub tshev thiab xaiv chav 1
Tom qab ntawd rub hauv txhua phab ntsa uas koj xav tau (nco ntsoov ntxiv tus neeg ua si)
Kauj Ruam 12: Qhov No Txhais Li Cas
PS
Kuv tsis nco qab hais hauv daim vis dis aus tias kev tsim cov xwm txheej tshwm sim tsuas yog thaum lub hom phiaj raug tsim
Pom zoo:
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: 4 Cov Kauj Ruam (nrog Duab)
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: Hnub no kuv xav qhia yuav ua li cas kom pom lub teeb pom kev zoo los ntawm lub zog xa hluav taws xob tsis siv hluav taws xob los ntawm tus txhuam txhuam hniav thiab lub tshuab solenoid valve coils uas tau khaws los ntawm scrapyard.Ua ntej pib, thov saib cov vis dis aus hauv qab no:
Kev Ceeb Toom Hluav Taws Xob Siv Arduino [Hauv Qhov Yooj Yim Yooj Yim Yooj Yim]: 3 Kauj Ruam
Kev Ceeb Toom Hluav Taws Xob Siv Arduino [Hauv Ob Qes Yooj Yim Yooj Yim]: Puas yog koj tab tom nrhiav kom ua txoj haujlwm yooj yim thiab nthuav nrog Arduino uas nyob rau tib lub sijhawm tuaj yeem muaj txiaj ntsig tiag tiag thiab muaj peev xwm cawm txoj sia? tej yam tshiab thiab tshiab. Hauv kab ntawv no peb mus
Txoj Kev Yooj Yim thiab Yooj Yim Los Hloov Koj Lub Xauv Screen hauv 6 Cov Kauj Ruam Yooj Yim (Windows 8-10): 7 Kauj Ruam
Txoj Kev Yooj Yim thiab Yooj Yim Los Hloov Koj Lub Xauv Screen hauv 6 Cov Kauj Ruam Yooj Yim (Windows 8-10): Xav hloov pauv yam ntawm koj lub laptop lossis PC? Xav tau kev hloov pauv hauv koj qhov chaw? Ua raws cov kauj ruam no yooj yim thiab yooj yim kom ua tiav koj tus kheej lub computer ntsuas phoo
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS YOOJ YIM: 4 Cov Kauj Ruam
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS: Nyob zoo txhua tus hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas kom yooj yim " SOIL DRYNESS SENSOR ". Qhuav ntawm cov av tau txheeb xyuas siv qhov taw qhia coj. Lub teeb ci wi
YOOJ YIM YOOJ YIM TSHAJ PLAWS COMPACT LIGHT !! 3 KAUJ RUAM YOOJ YIM !!: 3 Kauj Ruam
YOOJ YIM YOOJ YIM TSHAJ PLAWS COMPACT LIGHT !! 3 KAUJ RUAM YOOJ YIM !!: Koj Yuav Tsum Tau Li Cas - Tin ntawv ci 1 AA roj teeb (qee lub roj teeb AAA yuav ua haujlwm) 1 Mini Lub Teeb Pom Kev (lub teeb siv rau feem ntau lub teeb nyem; xa mus rau daim duab) Tus Tswj (yog xav tau)