Recent

Author Topic: [Done] SpriteAnim Control - Make Anim Faster  (Read 1531 times)

pixelink

  • Hero Member
  • *****
  • Posts: 1260
[Done] SpriteAnim Control - Make Anim Faster
« on: April 03, 2020, 10:12:53 pm »
How can I make the Sprite Animation Control play my animation faster?
Setting the Speed to "1" isn't quite fast enough for true Sprite animation speed.

Thanks
« Last Edit: April 04, 2020, 01:45:53 pm by pixelink »
Can't Type - Forgetful - Had Stroke = Forgive this old man!
LAZ 2.2.0 •  VSSTUDIO(.Net) 2022 • Win10 • 16G RAM • Nvida GForce RTX 2060

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: SpriteAnim Control - Make Anim Faster
« Reply #1 on: April 03, 2020, 11:37:38 pm »
I suppose it is based on a TTimer so that the minimum is in fact something like 16 ms or 60 Hz. Or is it slower than that?
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: SpriteAnim Control - Make Anim Faster
« Reply #2 on: April 04, 2020, 01:07:39 am »
That control has the limit impossed by the Timer. Also a bit slower since it resamples the image to fit the control size.

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: SpriteAnim Control - Make Anim Faster
« Reply #3 on: April 04, 2020, 10:35:04 am »
Makes sense. Is there an option to use simple stretch?
Conscience is the debugger of the mind

pixelink

  • Hero Member
  • *****
  • Posts: 1260
Re: SpriteAnim Control - Make Anim Faster
« Reply #4 on: April 04, 2020, 01:45:34 pm »
Thanks guys... was just wondering.

It's not a deal breaker for what I am doing.
Can't Type - Forgetful - Had Stroke = Forgive this old man!
LAZ 2.2.0 •  VSSTUDIO(.Net) 2022 • Win10 • 16G RAM • Nvida GForce RTX 2060

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: [Done] SpriteAnim Control - Make Anim Faster
« Reply #5 on: April 04, 2020, 02:23:24 pm »
Makes sense. Is there an option to use simple stretch?

Yes, is available in the object inspector.

 

TinyPortal © 2005-2018