Build Animated Physics Game with JavaScript

所在平台: Udemy

课程主页: https://www.udemy.com/course/build-animated-physics-game-with-javascript/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**课程名称:** 使用 JavaScript 构建动画物理游戏 **课程简介:** 本课程将深入探讨游戏开发的核心要素,包括**精灵动画、交互性和二维物理引擎**。我们将学习十个游戏开发必备的关键技术,并通过一个实际项目进行实践。 **主要学习内容:** * **角色 AI:** 实现简单的 AI,让游戏中的角色更具“生命力”。 * **游戏时间控制:** 控制游戏的帧率,精确测量时间以触发周期性事件。 * **游戏重置:** 实现通过按钮重启游戏的功能。 * **碰撞检测与物理模拟:** 应用碰撞检测技术,处理碰撞并模拟真实的物理效果。 * **精灵动画与游戏绘制:** 使用 `drawImage` 方法,从精灵表中绘制随机化的游戏场景和动画角色。 * **鼠标交互与动画:** 捕捉鼠标位置,根据鼠标与玩家角色的相对位置,驱动八方向精灵表的动画。 * **使用原生技术开发:** 从零开始,仅使用 **HTML5、CSS3 和纯 JavaScript** 构建游戏,深入理解每一行代码,不依赖任何外部框架或库。 **课程特色:** * **免费高分辨率游戏素材:** 提供环境和角色艺术资源,包含现成的精灵表和可编辑的源文件,支持颜色修改、自定义角色拼装和动画绑定。 * **循序渐进,零基础友好:** 课程节奏适合初学者,重点在于掌握核心概念和技术。 * **无需框架,深入理解原理:** 强调原生 JavaScript 的应用,帮助学习者理解游戏开发底层逻辑。 **先修知识:** 需要具备 **HTML、CSS 和 JavaScript 的基础知识**。了解 JavaScript 的基本概念,如函数、for 循环和数组,将有助于最大化学习效果。 **目标受众:** 对游戏开发感兴趣,希望学习如何使用 JavaScript 构建动画和包含物理效果的游戏的初学者。

课程评论(0条)

课程详情

What makes a great game? Is it about beautiful, polished visuals or about gameplay that feels good and responsive? Is it about unique ideas, or maybe it's the little details, special secrets and Easter eggs? What are the ingredients in a perfect game development recipe?In this class we will dive deep into sprite animation, interactivity and 2D physics. We will learn 10 important techniques every game developer needs to know and we will apply them in a real project.Students of this class will get a lot of 2D professional high resolution game art for free. I provide environmental and character art assets in the form of ready to use sprite sheets, as well as source files with separate pieces for those of you who want to edit the colors, piece together your own mushrooms and creatures or to rig your own animations.Today we will learn:- How to implement a very simple AI to make the creatures feel alive- How to control the FPS of our game and how to measure time to trigger periodic events- How to restart the game by pressing a button- How to apply collision detection, resolve collisions and use that to simulate physics- How to use the built-in drawImage method to draw randomised game environments and animated characters from a sprite sheet- How to capture mouse position and animate an 8 directional sprite sheet based on the relative position between the mouse and the player character- How to use HTML5, CSS3 and plain vanilla JavaScript to build a game from scratch. We will write and understand every line of code, we will not rely on any external frameworks or libraries.and much moreThe pace and techniques in this course are beginner friendly. Existing knowledge of HTML, CSS & JavaScript is needed to follow the course. If you understand JavaScript basics and know what functions, for loops and arrays are, you will be able to get the maximum value out of this class.Have fun!:)

课程标签

0人关注该课程

主题相关的课程