skview Questions
7
Solved
When Im finished with my SKScene is there a way to dismiss the SKScene from within my SKScene class?
If not back in my Viewcontroller where I present my SKScene [skView presentScene:theScene]; is ...
Forestforestage asked 20/2, 2014 at 21:46
3
Solved
@property (SK_NONATOMIC_IOSONLY, getter = isPaused) BOOL paused;
I found this line of code that I could add into my project, how would I pause my whole game?
For example:
-(void)touchesBegan:(N...
Leoine asked 6/2, 2014 at 3:6
1
Can someone please help me understand the difference between sceneDidLoad and didMove(to view:) in a GameScene? I realize that didMove(to view:)
is called once the scene is presented. While sceneD...
2
Solved
I tried what ever was suggested but the output was a white,blank screenshot. Which leads me to assume that I haven't added anything to the view. Here's how I'm adding graphics to my view. The addCh...
Phycomycete asked 30/12, 2014 at 18:59
4
Does anyone know how to "snapshot" a complete SKView or SKScene into an NSImage?
We have been able to use the textureFromNode API to create an SKTexture from a node and all its children. But so fa...
Supreme asked 18/12, 2013 at 17:38
2
Solved
Goal: I want to present a new scene:
[self.scene.view presentScene:level2 transition:reveal];
and end the current background music in order to start the new background music (the new background...
Vestigial asked 21/3, 2014 at 15:9
1
Solved
I've noticed significant fps drops (framerate drops between 5-10fps), when unpausing the view in SpriteKit. I tried this with empty project (Spritekit game template). Here is the code:
if(!self.vi...
Hendrix asked 17/7, 2015 at 8:20
4
Solved
I have an issue where my SKView's background color (grey) is briefly being displayed before the scene is presented.
I manually attempted to set it, both via the Storyboard editor and in my control...
Brittaneybrittani asked 26/2, 2014 at 20:54
2
Solved
I am pausing my SKScene using the following code:
self.paused = YES;
However, according to this answer by Andrey Gordeev, one can also pause a scene using this line:
self.view.paused = YES;
I...
Hirsute asked 30/4, 2014 at 6:25
2
I use a dispatch_once NSObject to create data pointers. So all game asset pointers are made when the main viewcontroller appears. In order to play a game, the user taps a UIButton corresponding to ...
Cattle asked 28/3, 2014 at 4:29
1
Solved
I have huge issue with my newest game for iPhone made with Games by Tutorials book's help.
NOTE : method from SpriteKit- the right way to multitask doesn't work.
So, in my ViewController.m file, ...
Mayor asked 10/3, 2014 at 12:18
2
Solved
Using Sprite Kit I am trying to set an SKPhysicsBody moving according to a given angle, so for example if you wanted the sprite to travel to the right you would specify 1.571 radians. To turn the s...
Indoiranian asked 8/10, 2013 at 16:12
1
© 2022 - 2024 — McMap. All rights reserved.