pdiddles03 Posted February 8, 2016 Share Posted February 8, 2016 If i am creating something like a star field and have the background animated using "sprite.tilePosition.y", and i am subtracting from it's value or adding to it to make it move. Is it more beneficial to detect the height and make the counter go back to 0? or does it matter? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted February 8, 2016 Share Posted February 8, 2016 According to https://github.com/pixijs/pixi.js/blob/master/src/extras/TilingSprite.js#L201 it does not. Always look in the sources 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.