Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 624 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 624 Bytes

GSTextAutoTypeNode

A SpriteKit iOS class to get auto-typing labels (multiple lines).

Require: Apple SpriteKit Framework for iOS

#Example

GSTextAutoTypeNode *autoText = [GSTextAutoTypeNode labelWithFontName:@"Arial"];
autoText.fontColor = [SKColor whiteColor];
autoText.position = CGPointMake(CGRectGetMidX(self.frame), CGRectGetMidY(self.frame)); //text in the center
[self addChild:autoText];
[autoText typeText:@"Some text with linebreaks,\n which looks not so bad" withDelay:0.1f];

#License MIT License (MIT)

Original for Cocos2D: a link