casparlee0415 的部落格
[F21_WebFund] Lab2 資工四甲 407261116 李昀翰
Submitted by casparlee0415 on 一, 2021-10-18 00:42GitHub:FreeCodeCamp:
[F21_WebFund] HW#0 資工四甲 407261116 李昀翰
Submitted by casparlee0415 on 一, 2021-09-27 17:38自主學習30Days--Unity 3D系列之30
Submitted by casparlee0415 on 四, 2020-11-19 00:19DAY30 Space Shooter - Building the game
點擊build settings,勾選main scene。點擊player settings->build,存在build folder裡,命名為Space_Shooter。點擊Space_Shooter裡的html即可遊玩此遊戲。
https://www.youtube.com/watch?v=a9o6VJlQWHw&list=PLX2vGYjWbI0RibPF7vixmr...
自主學習30Days--Unity 3D系列之29
Submitted by casparlee0415 on 四, 2020-11-19 00:09DAY29 Space Shooter - Ending the game
新增Empty Object,命名為Display Text,將Score Text放入該物件底下。新增GUI Text,命名為Restart Text,Text:Restart Text,anchor:upper right,alignment:right,pixel offset(10,-10),放入Display Text底下。新增GUI Text,命名為Game Over Text,Text:Game Over Text,anchor:upper right,alignment:right,pixel offset(10,-10),放入Display Text底下。編輯GameController使得這些Text得以顯示。
自主學習30Days--Unity 3D系列之28
Submitted by casparlee0415 on 三, 2020-11-18 23:51DAY28 Space Shooter - Counting Points - 2
將GameController script匯入至DestroybyContact script,編輯DestroybyContact使得當子彈打中目標時能夠加分。將Score Text匯入至GameController script,使得文字能夠呈現。
https://www.youtube.com/watch?v=F6HLFk6JxtU&list=PLX2vGYjWbI0RibPF7vixmr...
自主學習30Days--Unity 3D系列之27
Submitted by casparlee0415 on 三, 2020-11-18 23:42DAY27 Space Shooter - Counting Points - 1
新增GUI Text Object,命名為Score Text,將Text欄位改成Score Text,position(0,1,0),Pixel Offset(10,-10)。編輯GameController,新增count變數。
https://www.youtube.com/watch?v=F6HLFk6JxtU&list=PLX2vGYjWbI0RibPF7vixmr...
自主學習30Days--Unity 3D系列之26
Submitted by casparlee0415 on 三, 2020-11-18 23:20DAY26 Space Shooter - Audio
將Audio folder裡的幾個Object套用至Explosion folder裡對應到的object。將weapon_player放入Player的Component裡,取消勾選play on awake欄位。編輯PlayerController,使得聲音能夠播放出來。將music_background放入Game Controller的Component裡,勾選loop欄位,使的背景音樂能夠重複播放出來。
https://www.youtube.com/watch?v=kBkL7CKdEq0&list=PLX2vGYjWbI0RibPF7vixmr...
自主學習30Days--Unity 3D系列之25
Submitted by casparlee0415 on 三, 2020-11-18 23:09DAY25 Space Shooter - Spawning waves
編輯GameController,使得Asteroid可以形成一波一波的攻擊。在Scripts folder當中新增script,命名為DestroyByTime,使得套用此script的物件到了固定時間就會消失。將此script套用至Prefab/VFX/Explosions裡的所有object。
https://www.youtube.com/watch?v=r8N6J79W0go&list=PLX2vGYjWbI0RibPF7vixmr...
自主學習30Days--Unity 3D系列之24
Submitted by casparlee0415 on 三, 2020-11-18 22:58DAY24 Space Shooter - Game Controller
新增Empty Object,命名為Game Controller。新增Script Component,命名為GameController,編輯該此script使其能控制Asteroid隨機出現的位置及數量。
https://www.youtube.com/watch?v=ZNTph6E2Fvg&list=PLX2vGYjWbI0RibPF7vixmr...