JavaScript游戏开发简介

This full tutorial video is an introduction to game development using vanilla JavaScript and HTML5 canvas. Chris Perko shows how to build a complete brick-breaker game while explaining the fundamentals of game development.

完整的教学视频介绍了使用原始JavaScript和HTML5 canvas开发游戏的情况。 克里斯·珀科(Chris Perko)在解释游戏开发基础知识的同时,展示了如何构建完整的破砖游戏。

The video covers the following topics:

该视频涵盖以下主题:

  • Project Setup and Canvas

    项目设置和画布
  • Drawing on the Canvas

    在画布上绘画
  • Clearing the Canvas

    清除画布
  • Creating the Player's Paddle

    创建玩家的球拍
  • The Game Loop

    游戏循环
  • Handling Keyboard Input

    处理键盘输入
  • Moving the Paddle

    移动拨片
  • Stopping the Paddle

    停止桨
  • Drawing the Ball Image

    绘制球图像
  • Moving the Ball

    移动球
  • Refactoring to the Game Class

    重构游戏类
  • Collision Detection between the Ball and Paddle

    球和桨之间的碰撞检测
  • Loading Bricks

    装砖
  • Building Levels

    建筑层
  • Collision Detection with Bricks

    砖块碰撞检测
  • Pause Screen

    暂停画面
  • A Simple Start Menu

    简单的开始菜单
  • Game Over

    游戏结束
  • Completing Levels

    完成级别

You can watch the video on the the freeCodeCamp.org YouTube channel (76 minute watch).‌

您可以在freeCodeCamp.org YouTube频道上观看视频(观看时间为76分钟)。‌

翻译自: https://www.freecodecamp.org/news/intro-to-game-development-with-javascript/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值