6

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?

Confused
  • 6,048
  • 6
  • 34
  • 75
Dominique Vial
  • 3,729
  • 2
  • 25
  • 45

1 Answers1

6

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

kevcol
  • 1,203
  • 8
  • 8
  • 2
    This doesn't seem to work in Xcode 8. Using the default template for a SpriteKit 'game', and its Actions.sks file. – Confused Oct 13 '16 at 01:43
  • Nothing happens. No matter what scene I select. – Hedylove Nov 23 '16 at 07:05
  • There is a layout / Animate toggle button above the time line. You must have layout selected to make changes to the time line. – Jeff Jan 18 '18 at 12:19
  • Using the default template for a SpriteKit 'game', and its Actions.sks file, in Xcode 12, it still does not work. The drop down box to select the scene is greyed out. – hotdogsoup.nl Apr 26 '21 at 18:53
  • The same problem in Xcode 12.5.1. In the drop down list, GameScene.sks is grey and unselectable. Will report bug to Apple. – kelin Oct 17 '21 at 10:27
  • I have the same issue. Xcode 13.2 . is there a bug id on this or is it just me not understanding how to preview a scene in the action editor? – Pinion Jan 15 '22 at 02:06