開始 JavaScript 程式設計 - 遊戲項目
在這個一次性課程中,學生將在創建簡單遊戲的背景下學習 JavaScript 程式設計的基礎知識。
包含什麼
1 現場會議
55 分鐘 上課時間作業
This is a one-time course to get students started in programming with JavaScript. At the end of the course, students will have an idea how they can continue on their own, and are invited to ask questions or share progress.我們無法翻譯此文,請刷新頁面並再試一次。
課堂經歷
This course teaches the basics of JavaScript programming in the context of making a simple game. Whether this is your first line of code, or you have experience in Scratch or another language, this course will help everyone take their next steps. We use the context of game development because it is visual, interactive and fun. We use JavaScript because is a powerful full-featured programming language that is in high demand worldwide, and we can run our programs in the browser. We will accept input from keyboard, and render animated shapes on the screen. Students will follow along on as they program on their own computer.
學習目標
We will learn how to create an HTML file that runs in the browser.
We will learn how to add JavaScript to the file to run code.
We will learn to use variables and to call functions.
We will draw shapes on the screen.
We will animate the shapes.
We will add keyboard control for the main character.
其他詳情
供應清單
Students will need: * a Windows or Mac computer * a plain text editing program such as TextEdit or Notepad * the web browser Google Chrome
外部資源
學習者無需使用標準 Outschool 工具以外的任何應用程式或網站。
來源
The MDN tutorial on using canvas: https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial
評論
一次性直播課程
US$30
每班單堂課
55 分鐘
有1 位學習者完成此課程
即時視訊會議
年齡: 11-16
1-4 每班學員人數