2012年12月28日

摘要: 有一个Projectile原型var AntProjectile ProjectileArchetype;//稍后我会在这个Projectile中制作一种能自动瞄准的射弹。 当然是继承前一节中的FireMode中的BeginFire了function BeginFire(vector FireLocation,Rotator FireRotation,Actor Enemy){ //制作巡航导弹 local AntProjectile SpawnedProjectile; local AntPAwn pawn; SpawnedProjectile=Weapon... 阅读全文

posted @ 2012-12-28 17:57 neocsl 阅读(159) 评论(0) 推荐(0) 编辑

摘要: 1.机器人的攻击效率优化和路径检索。 5天 2.武器和商店系统,武器升级系统。 一周 3.IAP与AppStore的连接。一周 4.动画系统的简化,角色的替换使用。2天 终结代码。一个月 然后快速迭代开发关卡。一个月 阅读全文

posted @ 2012-12-28 16:42 neocsl 阅读(174) 评论(0) 推荐(0) 编辑

摘要: 让我们来终结AIController所要解决的全部问题。我们是一群酷家伙。1.平滑的调整转向的问题function Tick(float DeltaTime){ local rotator DesiredRotation; super.Tick(DeltaTime); if(Pawn!=none&&Pawn.Health>0) { DesiredRotation=Rotator(GetFocalPoint()-Pawn.Location); Pawn.FaceRotation(RLerp(Pawn.Rotation,DesiredRotation,3.125f*Delt. 阅读全文

posted @ 2012-12-28 10:35 neocsl 阅读(372) 评论(0) 推荐(0) 编辑