A texture that repeats/scrolls to fill a shape, rather than stretching - a parallax
background, a scrolling water or lava tile. TilingSprite's own tilePosition/tileScale
already covers the "scrolling tile layer" need in full; this is a name, not new behaviour.
constwater = newTiledSprite({ texture:waterTexture, width:320, height:96 }); water.tilePosition.x -= 12; // scroll it a little each frame, from update(dt)
A texture that repeats/scrolls to fill a shape, rather than stretching - a parallax background, a scrolling water or lava tile.
TilingSprite's owntilePosition/tileScalealready covers the "scrolling tile layer" need in full; this is a name, not new behaviour.Example