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
在全世界最大的程式碼代管平台 Github 上,JavaScript 榮登最受歡迎的程式語言。 而在全球最大的技術問答網站 Stack Overflow 上,JavaScript 一樣無懸念地得到最受歡迎語言寶座!
在這堂課中,你將能透過很短的時間,學會如何用 JavaScript 製作下雪的動畫專案,從中學到 JavaScript 的基礎知識。
What You Will Learn
實作下雪專案
Knowledge Points
- JavaScript JS: Math.random()JS: setInterval()JS: Engine: createSpriteJS: Engine: Sprite: PositionJS: Engine: Sprite.scaleJS: Engine: Sprite.opacityJS: Engine: Sprite.destroy()JS: Engine: Sprite.forever()JS: Engine: setBackdrop
Why You Should Take This Course
學習如何定期執行特定程式碼
JavaScript 的特色在於他的非同步結構,能讓程式的執行更加有效率,妥善利用的話將能大大地發揮他的優勢。
而在本課中,你將能學習如何使用 JavaScript 的重要指令 setInterval,實作出不停落雪的動畫。
學習如何為程式加入隨機性
許多遊戲之所以好玩、引人入勝,就是因為有著“不確定性”:不知道敵人會從哪裡冒出來、不知道寶物會藏在哪邊。
在這個專案中,你將學到如何用 Math.random 這個指令為程式加入“隨機”的元素。
Course Difficulty
適合無經驗者
Prerequisite Knowledge
JS: Number JS: Comparison Operators JS: Comparison Operators: gt JS: ifCourse Features
專業講師實況教學
遊戲性十足的專案
線上編輯器即時演練
線上社群提問/交流
線上隨時複習