ios - Making a String into an SKNode -


i have correct sknode in string format. want transform string name "a2square" node called a2square.

is possible?

is there anyway take string "a2square" , somehow transform sknode same name....

although not entirely clear me trying do, looking sklabelnode. special node can rendered text (a label).

some sample code:

sklabelnode *winner = [sklabelnode labelnodewithfontnamed:@"chalkduster"]; winner.text = @"a2square"; winner.position = cgpointmake(cgrectgetmidx(self.bounds),                               cgrectgetmidy(self.bounds)); [self addchild:winner]; 

Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -