newbie11 Posted March 21, 2018 Share Posted March 21, 2018 how can i loop my background and make it like it move going to left??? thank you! Quote Link to comment Share on other sites More sharing options...
onlycape Posted March 21, 2018 Share Posted March 21, 2018 Hi, This is for Phaser 2 / CE: You have to use a tileSprite. To get the scroll you can use the autoScroll method or simply change the tilePosition.x property in the update (). Here is the tileSprite information: https://photonstorm.github.io/phaser-ce/Phaser.TileSprite.html In this example you can see how to move a tileSprite with tilePosition: https://phaser.io/examples/v2/tile-sprites/tiling-sprite Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.