Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Game with Sprite Kit Actions and Animations Basic Actions and Animations: Part 1

Machine node showed and animated the first time running. After I stopped and ran it again it disappeared. Any help?

It showed and animated first time I built it. Next time I built it, it disappeared

I have the same problem. And also this message in console: "CUICatalog: Invalid Request: requesting subtype without specifying idiom"

1 Answer

I found the solution. The problem is that your machine is placed underneath background image (because of zPosition) To fix this, navigate to ViewController and inside viewDidLoad method change skView.ignoresSiblingOrder = YES; to skView.ignoresSiblingOrder = NO; So your nodes will placed on the scene in order they where called.

Kyle Case
Kyle Case
44,857 Points

Thanks so much! I had the same issue.