Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
有ab两个点,两点之间有条线,a点固定不动,b点可以移动到任意位置,b点移动时需要设置线的长度,这个怎么做?
@PF橘子66
@PF橘子66 快速写了一个,其实就是实时设置线条实例的位置、角度和尺寸。事件:(这里线条精灵建议用一个1x1像素或者分辨率极低的,尺寸高度可以根据需求设置)效果:
好的,谢谢大佬!!!