Discord
Login
Community
DARK THEME

Image -> Sprite > Edit Sprite Frames

Would there be a way to turn an image to a sprite and be able to edit the frames of the sprite with code. Or any other way that can accomplish this.

Sorry I explained this bad, How would I write a image(part) to a part of a sprite

Yes you can. I'm on my phone at the moment and can't provide an example, sorry.

Chech the documentation -> Quick reference -> API cheatsheet. Image and Sprite section.

You are looking for the sprite.frames.push(image) command.

Oh cool, Thank you. I think I skipped over that when I was looking.

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community