Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RRLoopTimerUpdate

Manage timer in update loop SKScene on SpriteKit.

Overview

#import <Foundation/Foundation.h>

@interface RRLoopTimerUpdate : NSObject

@property (nonatomic, assign) NSTimeInterval rangeTimer;

- (instancetype) init :(NSTimeInterval)currentTime;
- (void) freezeTimer;
- (void) restartTimer;

@end

Alt text

###freezeTimer### Used to set the timer to keep the current timer value in the update loop of SKScene.

###restartTimer### Call this function just before presenting the SKScene for update the timer loop.

For more information refer to the example project.

About

Manage timer in update loop SKScene on SpriteKit.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages