<commit_before>ISSpriteKit ![License MIT](https://go-shields.herokuapp.com/license-MIT-blue.png)
===========
[![Badge w/ Version](https://cocoapod-badges.herokuapp.com/v/ISSpriteKit/badge.png)](http://cocoadocs.org/docsets/ISSpriteKit)
[![Badge w/ Platform](https://cocoapod-badges.herokuapp.com/p/ISSpriteKit/badge.svg)](http://cocoadocs.org/docsets/ISSpriteKit)


Sprite Kit helpers, extensions and utilities.

## Installation
The best and easiest way is to use [CocoaPods](http://cocoapods.org).

    pod 'ISSpriteKit'



### ISParallaxNode

Highly customizable node that simulates a parallax scroller.

- It supports every scroll direction.
- Velocity control (Points per second).

#### Usage

```
#import "MyScene.h"
#import "ISParallaxNode.h"

@interface MyScene ()
@property (strong, nonatomic) ISParallaxNode *parallaxNode;
@end

@implementation MyScene

- (id)initWithSize:(CGSize)size {
    if (self = [super initWithSize:size]) {
        self.parallaxNode = [[ISParallaxNode alloc] initWithImageNamed:@"Horizontal" direction:ISScrollDirectionLeft];
        [self addChild: self.parallaxNode];
    }

    return self;
}

- (void)update:(NSTimeInterval)currentTime {
    [self.parallaxNode update:currentTime];
}

@end
```

### ISParallaxLayer

ISParallaxLayer can contains several ISParallaxNodes.

#### Usage

```
#import "MyScene.h"
#import "ISParallaxLayer.h"
#import "ISParallaxNode.h"
<commit_msg>Fix small typo<commit_after>ISSpriteKit ![License MIT](https://go-shields.herokuapp.com/license-MIT-blue.png)
===========
[![Badge w/ Version](https://cocoapod-badges.herokuapp.com/v/ISSpriteKit/badge.png)](http://cocoadocs.org/docsets/ISSpriteKit)
[![Badge w/ Platform](https://cocoapod-badges.herokuapp.com/p/ISSpriteKit/badge.svg)](http://cocoadocs.org/docsets/ISSpriteKit)


Sprite Kit helpers, extensions and utilities.

## Installation
The best and easiest way is to use [CocoaPods](http://cocoapods.org).

    pod 'ISSpriteKit'



### ISParallaxNode

Highly customizable node that simulates a parallax scroller.

- It supports every scroll direction.
- Velocity control (Points per second).

#### Usage

```
#import "MyScene.h"
#import "ISParallaxNode.h"

@interface MyScene ()
@property (strong, nonatomic) ISParallaxNode *parallaxNode;
@end

@implementation MyScene

- (id)initWithSize:(CGSize)size {
    if (self = [super initWithSize:size]) {
        self.parallaxNode = [[ISParallaxNode alloc] initWithImageNamed:@"Horizontal" direction:ISScrollDirectionLeft];
        [self addChild: self.parallaxNode];
    }

    return self;
}

- (void)update:(NSTimeInterval)currentTime {
    [self.parallaxNode update:currentTime];
}

@end
```

### ISParallaxLayer

ISParallaxLayer can contain several ISParallaxNodes.

#### Usage

```
#import "MyScene.h"
#import "ISParallaxLayer.h"
#import "ISParallaxNode.h"

{'fraction_non_alphanumeric': 0.14589235127478753, 'fraction_numerical': 0.0, 'mean_word_length': 5.049250535331906, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2780317', 'n_tokens_mistral': 1042, 'n_tokens_neox': 983, 'n_words': 188}