随笔分类 - 游戏制作
摘要:Talk is cheap. Show me the code. —— Linus Torvalds 本分类是博主希望跟着学习制作游戏,通过这样一种方式来学习Unity、C#,在实践中成长,遇到不会、不能理解的部分就去学习,跟着视频敲代码写注释也是一种学习的方式。 学习的课程相关链接如下: 【Uni
阅读全文
摘要:Finishing the Map Generator MapGenerator using System.Collections; using System.Collections.Generic; using Unity.VisualScripting; using UnityEngine; p
阅读全文
摘要:Map Navigation——地图烘培 MapGenerator using System.Collections; using System.Collections.Generic; using Unity.VisualScripting; using UnityEngine; public c
阅读全文
摘要:Map Connectivity——地图连通性 MapGenerator using System.Collections; using System.Collections.Generic; using UnityEngine; public class MapGenerator : MonoBe
阅读全文
摘要:Obstacle Placement——障碍物生成 Utility using System.Collections; public static class Utility { //洗牌算法 public static T[] ShuffleArray<T>(T[] array, int seed
阅读全文
摘要:Tile Map——地图 MapGenerator using System.Collections; using System.Collections.Generic; using UnityEngine; public class MapGenerator : MonoBehaviour { p
阅读全文
摘要:Some Loose Ends——一些待解决的问题 解决了Enemy攻击Player造成伤害,优化了Projectile在Enemy内部生成无法造成伤害以及Projectile在Enemy边界的问题,补充了相关注释,下一步可以利用**TakeHit(float damage, RaycastHit
阅读全文
摘要:Enemy Attacks——敌人攻击 Enemy using System.Collections; using UnityEngine; using UnityEngine.AI; [RequireComponent(typeof(NavMeshAgent))] public class Ene
阅读全文
摘要:Spawn System——生成系统 Spawned using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Spawned : MonoBeh
阅读全文
摘要:Damage ystem——伤害系统 Projectile using System.Collections; using System.Collections.Generic; using UnityEngine; public class Projectile : MonoBehaviour {
阅读全文
摘要:Enemies——敌人 Enemy using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; [RequireComponent(typeof(NavMes
阅读全文
摘要:Gun System——武器系统 Player using UnityEngine; using System.Collections; [RequireComponent(typeof(PlayerController))] [RequireComponent(typeof(GunControll
阅读全文
摘要:Player Control——玩家控制器 Player using UnityEngine; using System.Collections; [RequireComponent(typeof(PlayerController))] public class Player : MonoBehav
阅读全文

浙公网安备 33010602011771号