#How to divide sprite into smaller sprites?

1 messages · Page 1 of 1 (latest)

drowsy ore
#

I have a sprite texture loaded in like this:


func _ready():
    var texture = load('res://assets/Characters/BlueNinja/SpriteSheet.png')```
How can I divide it into a an array of arrays filled with 16x16 textures of this sprite?
twin leaf
#

Why do you wanna do it like this?

#

Godot has in-built sprite sheet support