G
G
gigi19882017-07-10 08:49:37
iOS
gigi1988, 2017-07-10 08:49:37

How to preload actions.sks in spriteKit?

I am writing a game on spriteKit. Animation is stored in actions.sks. When testing on a real device, the application crashes when you try to access the animation. Everything works fine in the simulator. Apparently, actions.sks does not have time to load. How to preload? How to get out of this situation?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
gigi1988, 2017-07-11
@gigi1988

Further study of the problem showed that most likely the problem is the lack of RAM. Tested on iPad 3. The last cutoff that xcode sees is 685 mb. Then the app just crashes. How can you fight it?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question