i'm trying to use SKLabelNode as menu buttons in my game
i have 4 buttons up left, up right, down left, down right
i give them name so i can catch the nodes in touch began but if i change the name of the label to something else it just don't work…
I am loading different texts into a SKLabeNode it works fine on iPhone5, simulator, etc... but on iPhone4 I sometimes just get a black line, instead of the text.
It is weird that always the same texts are generating the failure, but I cannot figure…
So I added a pause button to my game and the freezing and unfreezing of the view works. However I want it to display a message saying "PAUSE" over the screen if the view is currently frozen. But if I'm touching my pause button it doesn't display the…
I have a sklabel node and when I add a new sprite on to the same position the label gets covered by the sprite .
How can I make the label not get covered by anything that's added to the scene ?
How can I animate the position of an SKLabel in a scene?
I've tried the following but it doesn't seem to be working:
[SKView animateWithDuration:0.3
delay:0.0
…
I have noticed that when using SKLabelNode there is a second unnamed node added to the node tree. This node is actually an SKSpriteNode which I am assuming is being used to display the text for the label, can anyone confirm this as I can't find any…
I am developing a game for iOS 7, and it uses Spritekit.
The main skspritenode is a helicopter, and when this helicopter makes contact with a shrink bonus pickup, the helicopter shrinks to make navigation easier for the user. Here is the code for…
I am trying to have a color wheel that updates the SKLabelNode to the color that is selected after the wheel is spun. The SKLabelNode is updating right when the user clicks the wheel, and I have tried placing an SKAction waitForDuration in a couple…
I am programming a game, and using a SKLabel to view the current score. The problem is that when score changes it doesn't display the change in the screen at the moment, it does after a second more or less. What can I do to see the changes in the…
So I added two label nodes to my code, and want one to be hidden while the other is shown, and then vice versa once the game begins.
class GameScene: SKScene {
// Declarations
let startLabel:SKLabelNode = SKLabelNode()
let…
What is the difference between SKLabelNode.color and SKLabelNode.fontColor? I already know how to use SKLabelNode, and I do not want any answers stating how to use the SKLabelNode. Any help would be appreciated.
Good day!
i want to make a timer with SKLabel that count back time in milliseconds. but i did only in seconds like this:
SKLabelNode *countDown = [SKLabelNode labelNodeWithFontNamed:@"Chalkduster"];
countDown.position = CGPointMake(10,…
I'm new to this sprite kit.I want to display the text randomly.Actually i'm having 3 words i need to display those 3 words randomly using SKLabelNode.I don't know how to implement this.Let us take Air,Land and sea these 3 words should be randomly…
I have this game project and it has a coin system. I also have an option for users to watch a video ad to get 50 coins added to their total. Since the shop page is a SKScene, I run the ad through the view controller and when it is done presenting,…