tags: gui title: Slice-9 brief: This example demonstrates slice-9 scaling gui box node. author: FlexYourBrain
Overview : Using a small stylized image (90x91 pixels) we apply it to a gui node and set the slice-9 properties, we can then adjust the size and retain the styling without streching and distortion. :More on Slice-9 with Defold:
The setup consists of a gui collection, gui script, a box node and a texture atlas
Box Node : contains:
Gui script : Use: