Jump to content

Phaser Game Question - Drawing Trail with random curves


dev7
 Share

Recommended Posts

Hi!

 

 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 ?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...