Skip to main content

Pixi Tiling Sprite

This node displays a texture that repeats across the sprite's dimensions, creating a tiling pattern.

The Pixi Tiling Sprite creates repeating texture patterns in your Pixi scene.

The Pixi Tiling Sprite node creates a PIXI.TilingSprite that displays a repeating texture pattern. It's perfect for creating backgrounds, textures, and seamless patterns that can be scaled to any size.

Inputs

Position

DataDescription
XHorizontal position
YVertical position

Dimensions

DataDescription
WidthTiling sprite width
HeightTiling sprite height

Transform

DataDescription
RotationRotation in radians
Scale XHorizontal scale
Scale YVertical scale
Pivot XHorizontal pivot
Pivot YVertical pivot
Anchor XHorizontal anchor
Anchor YVertical anchor

Appearance

DataDescription
AlphaTransparency
TintColor tint
VisibleVisibility
InteractiveInteraction enable

Texture

DataDescription
Texture ImageSource image for tiling

Tiling

DataDescription
Tile Position XHorizontal tile offset
Tile Position YVertical tile offset
Tile Scale XHorizontal tile scale
Tile Scale YVertical tile scale

Animation

DataDescription
Ticker EnabledAnimation ticker
Ticker SpeedAnimation speed
Animation TypeAnimation type
Custom Animation CodeCustom animation code

Outputs

SignalDescription
Pointer DownTriggered when pointer is pressed down
Pointer UpTriggered when pointer is released
Pointer TapTriggered when pointer taps the tiling sprite
Pointer EnterTriggered when pointer enters the tiling sprite
Pointer LeaveTriggered when pointer leaves the tiling sprite
Pointer MoveTriggered when pointer moves over the tiling sprite
DataDescription
Node ReferenceNode reference

Usage

Pixi Tiling Sprite nodes are used to create repeating texture patterns in your Pixi scene. They support:

  • Seamless texture tiling
  • Dynamic sizing and scaling
  • Tile position and scale control
  • Interactive events
  • Animation capabilities

Texture Requirements

For best results, use seamless textures that tile properly:

  • Seamless edges for horizontal and vertical tiling
  • Power-of-two dimensions (256x256, 512x512, etc.)
  • Appropriate file formats (PNG, JPG, WebP)

Performance Tips

  • Use appropriately sized texture images
  • Consider texture compression for large tiling areas
  • Use Tile Scale to control texture density
  • Animate Tile Position for scrolling effects
  • Limit the number of large tiling sprites

Example Use Cases

  1. Backgrounds: Sky, ground, and environmental textures
  2. UI Patterns: Button textures and interface backgrounds
  3. Game Elements: Terrain, walls, and decorative patterns
  4. Animated Backgrounds: Scrolling clouds, water, or moving textures