0

I would like to create this effect:

http://d.pr/v/4oGc

Here in details:

enter image description here enter image description here enter image description here

in sprite-kit with SKLabelNode. So basically I would like the labels to "fly in". My first thought was to use SKAction for this but I didn't figure out if it actually can be applied this way.

Any tips for recreating that effect in Spritekit?

Alessandro Ornano
  • 34,887
  • 11
  • 106
  • 133
user594883
  • 1,329
  • 2
  • 17
  • 36
  • SKAction should work. SKAction.moveTo or SKAction.followPath may suit your needs – Henningsson May 27 '16 at 08:39
  • From what I see in your link, all HUD elements share a single parent node. On this node you can run `[SKAction scaleTo:]` and `[SKAction fadeOutWithDuration:]` simultaneously (`[SKAction group:]`) to achieve desired effect. – CloakedEddy May 27 '16 at 08:43
  • That's right! I'll make answer out of this! – user594883 May 27 '16 at 08:55
  • You must insert some pictures to explain what you want to do, not only a link, it can be unavailable so your question become unreadable. – Alessandro Ornano May 27 '16 at 09:48

1 Answers1

1

From what I see in your link, all HUD elements share a single parent node.

On this node you can run [SKAction scaleTo:] and [SKAction fadeOutWithDuration:] simultaneously ([SKAction group:]) to achieve desired effect. – CloakedEddy

PREMKUMAR
  • 8,283
  • 8
  • 28
  • 51
user594883
  • 1,329
  • 2
  • 17
  • 36
  • What are you doing? You answer your question with the comments of other user? Remove your question and re-creat a question with answer. – Alessandro Ornano May 27 '16 at 09:42
  • What's the problem? I find CloakedEddy's comment to be the answer to my question and therefore to make it easier for others who should read this question, make the answering comment an answer. There is no point duplicating the question as a new question. – user594883 May 27 '16 at 13:24