SkAction跑得这么快

时间:2017-09-21 11:50:53

标签: swift sprite-kit

*  By default, file descriptors remain open across an execve().  File
descriptors that are marked close-on-exec are closed; see the
description of FD_CLOEXEC in fcntl(2). 

它们运行速度如此之快,当我更改var actionArray = [SKAction]() actionArray.append(SKAction.move(to: CGPoint(x: obstacle.position.x, y: -obstacle.size.height), duration: TimeInterval(3.5))) actionArray.append(SKAction.removeFromParent()) obstacle.run(SKAction.sequence(actionArray)) 时,它们只会减慢速度,但距离会减少。

我想要的只是一个慢得多的距离!

0 个答案:

没有答案