在 sfml 中将精灵移至另一个精灵
我只是想知道是否有一个解决方案可以让我的精灵在另一种意义上改变旋转并远离另一个精灵(它的位置位于平视显示器视图的中心)。
I just want to know if there is a solution to make my sprite change the rotation in the other sense and move away from another sprite (it position is in the center of the hud view).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于您没有提供任何代码或上下文,我无法真正帮助您,只能旋转精灵,我猜使用 Sprite 类的旋转方法。
Since you do not provide any code or context I can't really help you but to rotate a sprite, use the rotate method of the Sprite class I guess.