
Lv.1
github资源库 https://github.com/ling-yuan-voc/cs
在 编程闹新春【求素材】 中回复
imgsrc="https://static.codemao.cn/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E8%B0%A2%E8%B0%A2%E8%80%81%E6%9D%BF.gif"alt="emotion_编程猫_谢谢老板"width="1061"height="1061"
2022-01-25T20:34:10 点赞:0
在 求助大神! 中回复
你可以把boss的中心点设在中心,可以解决穿出屏幕。
然后你可以计算boss的中心点到武器应该在的地方(比如boss的手)
可以用到【移到 x ((boss 的 x坐标) +(武器 的 x坐标 到 boss的 x坐标))y((boss 的 y坐标) +(武器 的 y坐标 到 boss的 y坐标)) 】
其中【武器 的 x坐标 到 boss的 x坐标】和【武器 的 y坐标 到 boss的 y坐标】需要自己计算x和y坐标。
2022-02-04T01:29:00 点赞:0
在 求助大神! 中回复
如果解决不了,你把链接发来,让我康康。imgsrc="https://static.cod喵/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E5%8A%A0%E6%B2%B9.gif"alt="emotion_编程猫_加油"imgsrc="https://static.cod喵/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E5%8A%A0%E6%B2%B9.gif"alt="emotion_编程猫_加油"imgsrc="https://static.cod喵/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E5%8A%A0%E6%B2%B9.gif"alt="emotion_编程猫_加油"
2022-02-04T01:29:39 点赞:0