Can AnimationPlayer be used with individual sprite images?

AzerkitAzerkit Posts: 8Member
in 2D

Been trying to figure the whole AnimatedSprite vs AnimationPlayer thing and from what I can tell, it seems like AnimationPlayer would be the better choice. Problem is that I use individual images for my sprites instead of sprite sheets (it's just easier for me that way). Unless I'm missing something, is there any way to use individual images with AnimationPlayer? Or is it exclusive to sprite sheets?


Tags :

Best Answer

  • TwistedTwiglegTwistedTwigleg Posts: 4,440
    Accepted Answer

    You can use individual images in Sprites, you just need to add a key frame for the texture property rather than the frame property. You may also need to add some for the texture region and/or offset if your animation has sprite frames of differing sizes.

Answers

  • TwistedTwiglegTwistedTwigleg Posts: 4,440Admin
    Accepted Answer

    You can use individual images in Sprites, you just need to add a key frame for the texture property rather than the frame property. You may also need to add some for the texture region and/or offset if your animation has sprite frames of differing sizes.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file