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: Comparison Operators: gtJS: Comparison Operators: ltJS: Logical Operators: OrJS: ArrayJS: Array: elementsJS: Array.lengthJS: Array.push()JS: Array.splice()JS: ifJS: For loopJS: Math.random()JS: Engine: Sprite.scaleJS: Engine: Sprite.opacityJS: Engine: Sprite.stepForward()JS: Engine: Sprite.touched()
Why You Should Take This Course
陣列的使用與操作
為了做出這個專案,你將學習如何利用陣列的特性,配合迴圈的使用,用來儲存噴射出的火焰,實作出燃料燃燒後火焰噴發的效果。
Course Difficulty
對 JavaScript 有基礎認識的學生
Prerequisite Knowledge
JS: Engine: Sprite.moveTo() JS: Engine: forever() JS: Engine: setBackdrop JS: Engine: createSpriteCourse Features
實拍影片教學
遊戲專案導向
線上編輯器即時演練
熱門程式語言
線上社群提問/交流