|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/javascript-exercise/
课程评论:没有评论
**课程名称:** Car Racer JavaScript Game Exercise Vanilla JavaScript **课程概述:** 本课程将带您从零开始,通过构建一个有趣的互动式赛车游戏来实践和深入学习 JavaScript DOM 操作。课程全部使用原生 JavaScript,不依赖任何第三方库,让您专注于纯粹的 JavaScript 学习。 **这门课程适合谁?** * **JavaScript 初学者:** 课程旨在帮助您在实践中掌握 JavaScript 的核心概念。 * **想要提升 DOM 操作技能的学习者:** 通过游戏开发,您将学到大量与 DOM 相关的知识。 **课程内容亮点:** * **从零开始构建:** 学习如何使用 HTML 和 CSS 设置游戏区域。 * **JavaScript DOM 操作:** * 添加事件监听器。 * 使用键盘箭头键控制 HTML div 的移动。 * 利用 `requestAnimationFrame` 实现元素位置的动态变化和响应用户指令。 * 创建动态的 JavaScript 游戏道路。 * 在 JavaScript 中动态创建元素。 * 通过 DOM API 操控元素的属性。 * **游戏逻辑与功能:** * 使用对象存储和管理玩家位置及移动。 * 设置游戏开始功能。 * 创建显示分数和速度等信息的仪表盘。 * 实现道路的移动效果。 * 动态追踪和调整速度,包括刹车和加速。 * 添加其他车辆并使其在游戏区域内移动。 * 检测元素重叠,实现碰撞判断。 * 实现得分机制以延长游戏进程。 **课程特色:** * **循序渐进:** 所有步骤都包含在内,易于理解和学习。 * **寓教于乐:** 通过有趣的游戏项目学习 JavaScript。 * **提供源代码:** 方便您快速上手。 * **强调原生 JavaScript:** 拒绝快捷方式,深入理解 JavaScript 本身。 * **充足的 Q&A 支持:** 友好及时的问答帮助您解决学习中的疑问。 * **30 天退款保证:** 零风险尝试。 **先决条件:** * **基础 JavaScript 知识:** 课程将专注于与游戏开发相关的 JavaScript 内容。 * **HTML 和 CSS 知识:** 课程重点在于 JavaScript,但 HTML 和 CSS 知识是必不可少的。 **行动号召:** 立即开始构建您自己版本的赛车游戏,开始您的 JavaScript 学习之旅!
Practice and learn more about JavaScript DOM while building a fun interactive car racing game from scratch. No libraries, no shortcuts just learning JavaScript!Source code is included to get you started quickly.Prefect course for beginners to learn more about JavaScript!!! Step by step learning with all steps includedFun and exciting way to learn and practice JavaScript.Beginner JavaScript knowledge is required as the course covers only JavaScript relevant to the building of the game. Also HTML and CSS knowledge is essential as scope of this course is all JavaScript focused. Learn how to setup your gameplay area using HTML and CSSAdd JavaScript setting event listenersAdd Keyboard actions to move an html div using keyboard arrow keysRun animationframe to change element position and respond to the users commandsSetup start game functionality Create a dynamic JavaScript roadCreate elements within JavaScriptAccess the JavaScript Document Object Model to manipulate element propertiesSetup and add values within an object to track location and moveSetup a dashboard to output variables for the user like score and speedAdd road movementTrack speed dynamically with braking and accelerating Add other cars and have them move within the gameplay areaCheck for element overlap and detect collisionsScore and extend gameplayAll this is included and a whole lot more. Along with friendly support in the Q & A to help you learn and answer any questions you may have. Try it now you have nothing to lose, comes with a 30 day money back guarantee. Start building your own version of the game today!!!!