Search the Community
Showing results for tags 'tileScript'.
Found 2 results
Endless Runner like RunfieldI am passing tileScript in drawImage function on CanvasRenderingContext2D, gameplay - endless runner game like runfield, i am generating the track via tileScript and autoscrolling, i am passing tileScript object into the drawImage function to get sin-cos wave like effect (get the effect of up / down hill curves). but not getting the desired result.. http://www.creativeaddiction.co.uk/_site/view_full.html?d=display&f=bitmapdata+wobble.js&t=bitmapdata%20wobble any better way to do it ?
Phaser Game Question - Drawing Trail with random curvesHi! I m working on a phaser project. I am not able to find a particular thing I m looking for. I m using tileScript to load a bg image repeatedly and autoscrolling. The game is endless runner I want the image to form the trail as per sine wave or random curves - up and down. So i might hav to use random Interpolations (beizer and others) to generate random curves. Unable to find anything relevant regards to forming the Image with curves (displaying tileScript with curves). i have looked at the sine wave filter. not getting the right output..output has to be like this - https://developer.cdn.mozilla.net/.../runfield.../index.html Any suggestions ?