Join CourseCourse Fee
This course is currently free. Sign up now!Learning Progress
Complete the project within 7 days after enrollment,Approximately 1 hours of lessons
This course is currently free. Sign up now!Learning Progress
Complete the project within 7 days after enrollment,Approximately 1 hours of lessons
About This Course
在這堂課中,你將能夠做出絢麗多彩、璀璨奪目的彩色火花,透過製作動畫專案,從中學到 JavaScript 的相關知識。
同時,你也將學習到如何循序漸進的開發,從解決小問題開始,直到完成整個大專案!
快來體驗體驗吧!
What You Will Learn
動畫製作 - 彩色火花
跟著老師一步步實作出美麗的動畫效果吧!
Knowledge Points
- JavaScript JS: ArrayJS: Array: elementsJS: Array.lengthJS: Array.push()JS: ObjectJS: Object: attributesJS: ifJS: For loopJS: Math.random()JS: Math.floor()JS: Engine: forever()
Why You Should Take This Course
陣列的使用與操作
為了做出這個專案,你將學習如何利用陣列的特性,配合迴圈的使用,用來儲存多個彩色火花,實作出噴發多個火花的效果。
學習如何為程式加入隨機性
許多遊戲之所以好玩、引人入勝,就是因為有著“不確定性”:不知道敵人會從哪裡冒出來、不知道寶物會藏在哪邊。
在這個專案中,你將學到如何用 Math.random 這個指令為程式加入“隨機”的元素。
Course Difficulty
Prerequisite Knowledge
SequenceCourse Features
專案導向學習
專業講師實況教學
線上編輯器即時演練
熱門程式語言
線上社群提問/交流