// // cloneParallax.h #import <SpriteKit/SpriteKit.h> @interface cloneParallax : SKSpriteNode { } -( id ) initParallax:( float )PtotalWidth parallaxSpeed:( float )Pspeed parallaxY:( float )Py; //properties @property float PtotalWidth; @property SKTexture *Ptexture; @property float RXY; @property float Pspeed; @property float Py; @property float clonewidth; -( void )DrawParallax:( SKTexture *)Ptexture scaleXY:( float )R; -( void )DrawParallaxSprites:( NSMutableArray *)textureArray widthofSprite:( float )_width scaleXY:( float )R; -( void ) updateParallax:( CFTimeInterval )interval; @end // // // cloneParallax.m // milkhunt // // Created by Manish Chauhan on 26/12/13. // Copyright (c) 2013 skidos. All rights reserved. // #import "cloneParallax.h" #import "sprite.h" @implementation cloneParallax { int numberofcl...
all about coding especially in javascript, daily used algorithms, react, angular and other gaming stuffs like webgl, pixijs, three.js and cocos2dx running code sample especially in javascript and c++.