Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Set spriteTile width to whole screen and autoScoll it in Phaser.js


Recommended Posts

Hi everyone!

I am currently working on a game where a player has to avoid walls that spawn on the top of the screen.

I have a sprite that is a three-line road. Player can step on only one line at a time.

I want the background sprite (the road) to auto scroll from top to bottom. 

At the same time I want it to spread across the entire screen width. To I basically want a single sprite to have the width of the screen and tile vertically.

Is it possible to achieve such a thing in Phaser?

Link to comment
Share on other sites


  • Recently Browsing   0 members

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