
老了就是金。让我们从 80 年代的经典游戏中获得灵感,并添加我们自己的图形和游戏功能。探索星际空间并使用 3 种不同的武器类型来消灭成群的不同类型的太空虫子,其中一些比其他的更大。我们将从一款受经典《太空侵略者》街机游戏启发的游戏开始,然后尝试不同的附加功能,例如 Boss 战、超级武器和不同的敌人类型。让我们探索使用 JavaScript 进行面向对象编程并实现一组有用的基本 2D 游戏开发技术,例如对象池设计模式、精灵动画、使用时间戳的计时和交错技术等等。不要忘记下载所有奖励礼物。本课程的学生将获得一套优质的 2D 游戏艺术,这次是科幻太空主题。随着我们逐渐添加更多功能,您还可以从项目的多个阶段下载源代码。我们将实现多种敌人类型:甲虫变体 – 基本敌人,1次命中就足够了犀牛变体 – 装甲敌人,多种生命,多种伤害状态螳螂变体 – 巨大的boss大小敌人,增加生命池鹰变体 – 当被击中时,它会牺牲一个身体部分并且会吐口水回到 Squidmorph – 未知的外星 bug,使用我们学到的一切来实现你自己独特的敌人类型,玩得开心!
概述
第 1 部分:简介
第一讲简介
第二讲我们将学到什么?(项目特色)
第 2 部分:JavaScript 太空入侵者
第3讲项目设置
第 4 课 游戏和玩家对象
第五讲 键盘控制
第六讲 对象池
第七讲 敌人的浪潮
第8讲碰撞检测
第9讲 计算分数并绘制游戏文本
第10讲 游戏重启方法
第11讲 甲虫形态敌人类别
第12讲 Sprite动画讲解
第13讲动画时序
第14讲 玩家动画
第 15 讲额外功能:装甲敌人
第 16 讲 Rhinomorph 敌人类别
第17讲附加功能:Boss战
第18讲 老板班
第19讲Boss动作
第20讲 Boss与玩家的碰撞
第21讲额外功能:超级武器
第 22 讲 2 门激光课程
第23讲激光损伤
第24讲资源管理
第 25 讲 Eaglemorph 敌人等级
第26讲敌人的炮弹
讲座27 抛射体相互作用
第 28 讲 Squidmorph 敌人等级
初学者 JavaScript 开发人员,他们已经了解基础知识并准备好开始更复杂、有趣的项目
Published 9/2023
MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz
Language: English | Size: 2.65 GB | Duration: 3h 21m
Make interactive animated games from scratch. This time with space bugs, lasers and asteroids!
What you’ll learn
Learn how to animate game characters
Build a browser based game from start to finish
Explore the basics of game design
Create multiple different enemy types with different visuals and behaviours
Implement 3 weapon types and boss battles
Write JavaScript code from scratch with no frameworks and no libraries
Requirements
Basic knowledge of HTML5, CSS3 and JavaScript is needed to get the maximum value, this course is not for complete beginners.
Description
Old is gold. Let’s get inspired by the classic games from the 80’s and add our own graphics and game features. Explore the interstellar void and use 3 different weapon types to burn through swarms of space bugs of different types, some larger than the others. We will start with a game loosely inspired by the classic Space Invaders arcade and we will experiment with different additional features such as boss battles, super weapons and different enemy types.Let’s explore object oriented programming with JavaScript and implement a useful set of basic 2D game development techniques such as object pool design pattern, sprite animation, timing and staggering techniques using timestamps and much more. Don’t forget to download all the bonus gifts. Students of this course will get a pack of premium quality 2D game art, this time in a sci-fi space theme. You can also download the source code from multiple stages of the project, as we gradually add more features. We will implement multiple enemy types:Beetlemorph – basic enemy, 1 hit is enoughRhinomorph – armored enemy, multiple lives, multiple damage statesMantismorph – massive boss size enemy, increasing pool of livesEaglemorph – when hit, it will sacrifice a body segment and it will spit it backSquidmorph – unknown alien bug, use everything we learned to implement your own unique enemy typeHave fun!
Overview
Section 1: Introduction
Lecture 1 Introduction
Lecture 2 What will we learn? (Project features)
Section 2: JavaScript Space Invaders
Lecture 3 Project Setup
Lecture 4 Game and player objects
Lecture 5 Keyboard controls
Lecture 6 Object pool
Lecture 7 Enemy waves
Lecture 8 Collision detection
Lecture 9 Counting score and drawing game text
Lecture 10 Game restart method
Lecture 11 Beetlemorph enemy class
Lecture 12 Sprite animation explained
Lecture 13 Animation timing
Lecture 14 Player animation
Lecture 15 Extra features: Armored enemies
Lecture 16 Rhinomorph enemy class
Lecture 17 Extra features: Boss battles
Lecture 18 Boss class
Lecture 19 Boss movement
Lecture 20 Boss vs player collision
Lecture 21 Extra features: Super weapons
Lecture 22 2 laser classes
Lecture 23 Laser damage
Lecture 24 Resource management
Lecture 25 Eaglemorph enemy class
Lecture 26 Enemy projectiles
Lecture 27 Projectile interactions
Lecture 28 Squidmorph enemy class
Beginner JavaScript developers, who already know the basics and are ready to start with more complex, fun projects
原创文章,作者:steven,如若转载,请注明出处:https://rr3d.cn/46889.html