Skip to content

A sprite node which takes a texture/s and tiles it across the entire size of the node

License

Notifications You must be signed in to change notification settings

bloggertom/TWTiledSpriteNode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#TWTiledSpriteNode

A sprite node which will take a single or multiple textures display the textures tiled within a give size.

The node inherites from SKSpriteNode and makes use of a SKCropNode and SKSpriteNodes to create a node of exactly the right size without distorting the picture.

When multiple textures are given each tile within the node is given a random texture.

The example creates a tiled node from 4 textures and places it in a scene. The node can be resize by tapping and dragging anywere on the screen.

About

A sprite node which takes a texture/s and tiles it across the entire size of the node

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors