Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: playing Animations or GIFs  (Read 5662 times)

0 Members and 1 Guest are viewing this topic.

aslo

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • Email
playing Animations or GIFs
« on: January 25, 2016, 02:05:53 pm »
Hello guys,
is it possible to PLAY animated gifs or animations who are created in "Spriter" or another animation creator progamm in C++ SFML code ?

Ztormi

  • Jr. Member
  • **
  • Posts: 71
  • Web developer by day. Game developer by night.
    • View Profile
Re: playing Animations or GIFs
« Reply #1 on: January 25, 2016, 02:37:44 pm »
Pretty sure you can export spritesheets in Spriter. You'd load up the spritesheet texture and handle animations by manipulating Sprite's TextureRect.

Mr_Blame

  • Full Member
  • ***
  • Posts: 192
    • View Profile
    • Email
Re: playing Animations or GIFs
« Reply #2 on: January 25, 2016, 04:01:24 pm »
gif - no, because the imahe decoder of SFML does not support it.

dabbertorres

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
    • website/blog
Re: playing Animations or GIFs
« Reply #3 on: January 25, 2016, 04:52:56 pm »