You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Web-Dev-For-Beginners/translations/mo/6-space-game
leestott 3a46c7dc91
🌐 Update translations via Co-op Translator
1 week ago
..
1-introduction 🌐 Update translations via Co-op Translator 1 week ago
2-drawing-to-canvas 🌐 Update translations via Co-op Translator 1 week ago
3-moving-elements-around 🌐 Update translations via Co-op Translator 1 week ago
4-collision-detection 🌐 Update translations via Co-op Translator 1 week ago
5-keeping-score 🌐 Update translations via Co-op Translator 1 week ago
6-end-condition 🌐 Update translations via Co-op Translator 1 week ago
solution 🌐 Update translations via Co-op Translator 2 weeks ago
README.md 🌐 Update translations via Co-op Translator 2 weeks ago

README.md

建造太空遊戲

一款教導更高級 JavaScript 基礎的太空遊戲

在這堂課中,你將學習如何製作自己的太空遊戲。如果你曾玩過「太空侵略者」這款遊戲,這款遊戲的概念與其相似:操控一艘太空船並射擊從上方降下的怪物。以下是完成後的遊戲樣貌:

完成的遊戲

在這六堂課中,你將學到以下內容:

  • 互動:使用 Canvas 元素在螢幕上繪製物件
  • 理解:笛卡爾座標系統
  • 學習:使用 Pub-Sub 模式建立更易於維護和擴展的遊戲架構
  • 運用Async/Await 來載入遊戲資源
  • 處理:鍵盤事件

概述

致謝

本遊戲使用的素材來自 https://www.kenney.nl/
如果你對製作遊戲感興趣,這裡有非常棒的素材,許多是免費的,也有一些是付費的。

免責聲明
本文檔使用 AI 翻譯服務 Co-op Translator 進行翻譯。儘管我們努力確保準確性,但請注意,自動翻譯可能包含錯誤或不準確之處。原始語言的文件應被視為權威來源。對於關鍵信息,建議使用專業人工翻譯。我們對因使用此翻譯而引起的任何誤解或錯誤解釋不承擔責任。