请选择 进入手机版 | 继续访问电脑版
设为首页收藏本站

ESFKAMI

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz

ESFX

ESF: Xenoverse

ESF123

ESF1.2.3

EVM2.1

EVM2.1

ECXSSJ

ECX: TeamSSJ

ECX2.2

ECX RC2

ECX2.3

ECX RC3

查看: 1000|回复: 0

[Method]Draw Trail Wider

[复制链接]

212

主题

217

帖子

1195

积分

ESFKAMI

Rank: 8Rank: 8

积分
1195
发表于 2017-7-13 16:16:32 | 显示全部楼层 |阅读模式
因为Byte型整数值的取值范围是00000000 - 11111111,因此,气功波最大宽度是255
As we all know that the max value of beam trails is 255, you can't make it any wider because of the range of Byte(00000000 - 11111111)
所以如果想要做一个任意宽的气功波,我们就需要想一个新方法
So if we want an arbitrarily  width for a trail, we have to think a new idea out.


办法就是:创建两个实体,一个实体跟着另一个实体的坐标进行实时刷新并做出圆周运动,然后再给这个实体加一根Trail的效果:
And here you are: Create two entities, one of them follows the other's origin and moves in a circular motion, then give it a Trail FX:


现在你可能会说这个看起来完全不像气功波啊。对,但是如果我们加大Trail FX的宽度之后呢:
Now I'm sure that you'd say: "Man, This doesn't look like a trail." Yeah indeed it doesn't, but what if we increase the width of the Trail FX:


说明:用这个办法你只需记住一点:气功波的宽度等于圆的直径
Description: In this case, just remember the trail width = the diameter of the circle

回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|ESFKAMI    

GMT+8, 2018-7-16 12:58 , Processed in 0.328284 second(s), 22 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表