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

Author Topic: Animation  (Read 1351 times)

0 Members and 1 Guest are viewing this topic.

spoty76

  • Newbie
  • *
  • Posts: 21
    • View Profile
Animation
« on: July 16, 2018, 05:40:50 pm »
Hello,

I always get upset when I see the anount of memory my animation method takes. Basically, what I do is scroll pictures quickly and I use about 30 picctures for animation, because I want good animation. Each picture is high quality, so it takes a lot of memory. This is a common way to do it. I want to know if there is a way to do it like on unity, where you have a program with which you create an animation and it inserts it in the game, it just uses body parts. The point is that I don't use a ton of pictures. I think that my request doesn't exist  :-\, but I still should ask. It's just too late to switch to unity, the code already has 10000 lines :-(

Thanks

G.

  • Hero Member
  • *****
  • Posts: 1593
    • View Profile
Re: Animation
« Reply #1 on: July 16, 2018, 05:52:28 pm »
Like spine? There is an official Spine example using it with SFML.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11016
    • View Profile
    • development blog
    • Email
Re: Animation
« Reply #2 on: July 17, 2018, 02:40:56 pm »
There are also alternative (and free) applications that do the same, but since SFML is not an engine it's usually your responsibility to write tools to read and render the animation file with SFML.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything