Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create action on Xcode action editor

I want to try these new Xcode feature but I don't understand what to do.

I first create a new SpriteKit action file. Then action editor open with a text displayed in the middle of the screen: No Preview Scene Selected.

So how to "select Scene". Where to start?

like image 447
Dominique Vial Avatar asked Oct 21 '15 22:10

Dominique Vial


1 Answers

Update: Looks like there is an Xcode 8 bug. I get the same error you did trying to set the background scene using 8.1. I'll file a radar ticket with Apple

Xcode 8.1 bug

It used to work ...

Use the dropdown menu below the scene (and above the timeline.) I usually use GameScene.sks as the background to see my actions in the game world.

See screengrab

like image 55
kevcol Avatar answered Nov 07 '22 15:11

kevcol