查看: 1259|回复: 8
打印 上一主题 下一主题

增加敌人并添加AI 4.2---射击游戏系列教程之四

[复制链接]

5552

主题

2

听众

8万

积分

首席设计师

Rank: 8Rank: 8

纳金币
-1
精华
11

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

跳转到指定楼层
楼主
发表于 2011-11-21 15:25:00 |只看该作者 |倒序浏览

          准备进入下一部分的制作。Firstly we check to see if frameNumber has reached the end of the animation, we then check to see if
         

          the enemy is still close to the player, if we are still close reset the animation to play from the beginning.
         

          But if we are far away from the player go and play our walk animation, keep in mind that previous I
         

          had it set to the stand animation here. If the alien is always walking or meleeing it will never actually
         

          play the stand animation, in this old case the stand animation would have played for one frame before
         

          being set to the walk animation, I changed it back here to the walk animation to make the transition
         

          from the end of the melee animation straight to the walk animation for a better transition.
         

          Now we have enemies that will chase the player and attack near proximity. Right now there is no
         

          damage being applied to the player when this happens, and we could add a bit of a push back that
         

          happens when the enemy hits a player. We will cover these things in a later tutorial. For now our next
         

          tutorial is to add weapons so that the player can shoot and destroy the aliens.
         

          Don't Forget to save your scene Goto > File > Save Scene.
         

          Time to implement projectiles!
         



          uke翻译整理,出处:unity3d8.com
         

分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

5969

主题

1

听众

39万

积分

首席设计师

Rank: 8Rank: 8

纳金币
-1
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

沙发
发表于 2012-2-2 23:28:40 |只看该作者
不错 非常经典  实用
回复

使用道具 举报

5969

主题

1

听众

39万

积分

首席设计师

Rank: 8Rank: 8

纳金币
-1
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

板凳
发表于 2012-5-8 23:21:02 |只看该作者
很经典,很实用,学习了!
回复

使用道具 举报

tc    

5089

主题

1

听众

33万

积分

首席设计师

Rank: 8Rank: 8

纳金币
-1
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

地板
发表于 2012-6-20 23:21:47 |只看该作者
百度的叫度娘,网易的叫易娘,新浪内部还在为是叫新娘还是浪娘而争论不休!……不管你们是企鹅的额娘,豆瓣的伴娘,还是华为的伪娘,都要记得,淘宝才是你们的亲娘啊!亲!!
回复

使用道具 举报

1023

主题

3

听众

359

积分

设计实习生

Rank: 2

纳金币
335582
精华
0

最佳新人

5#
发表于 2012-7-6 23:24:35 |只看该作者
我就看看,我不说话
回复

使用道具 举报

462

主题

1

听众

31万

积分

首席设计师

Rank: 8Rank: 8

纳金币
2
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

6#
发表于 2012-9-27 23:20:49 |只看该作者
真不错,全存下来了.
回复

使用道具 举报

tc    

5089

主题

1

听众

33万

积分

首席设计师

Rank: 8Rank: 8

纳金币
-1
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

7#
发表于 2012-10-4 23:21:14 |只看该作者
跑着去顶朋友滴铁
回复

使用道具 举报

tc    

5089

主题

1

听众

33万

积分

首席设计师

Rank: 8Rank: 8

纳金币
-1
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

8#
发表于 2013-2-20 23:22:09 |只看该作者
楼主收集的可真全哦
回复

使用道具 举报

tc    

5089

主题

1

听众

33万

积分

首席设计师

Rank: 8Rank: 8

纳金币
-1
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

9#
发表于 2013-2-22 23:28:18 |只看该作者
佩服,好多阿 ,哈哈
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

手机版|纳金网 ( 闽ICP备2021016425号-2/3

GMT+8, 2025-7-28 13:47 , Processed in 0.063695 second(s), 29 queries .

Powered by Discuz!-创意设计 X2.5

© 2008-2019 Narkii Inc.

回顶部