Project1

标题: 【重发】人物旋转 [打印本页]

作者: piaoy    时间: 2012-7-10 11:28
标题: 【重发】人物旋转
已经在发布区发过一次,不过没人回复,再来这里发一次。
向右转:self.direction = self.direction*2 - self.direction / 6 * 10
向左转:self.direction = self.direction*3 - self.direction / 4 * 10
(上面的self指的是原地转的character实例,脚本根据自己的需要写在刷新的函数里)
还望诸位回复则个。。。。。




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1