Pharan

I used to be able to ghost at 0.5 frame step. Is that just not allowed anymore?
User avatar
Pharan
  • Posts: 5366

Søren

I know Nate was working a bit on the Ghosting about an hour ago, he had found a bug so maybe that's what he was referring to. Personally I don't remember it being possible, but my guess is that when I inserted the new sliders I set the minValue wrong :bang: So be angry at me and shake your fist :punch: we'll get it fixed quick 8)
User avatar
Søren

Shiu
  • Posts: 2434

Pharan

I suspected it had something to do with the new sliders.

I can never get angry at you Shiu. :broken:

lol
User avatar
Pharan
  • Posts: 5366

Nate

Yeah the new sliders prevent entering a value that is invalid for the slider. Since the slider moves at increments of 1, you can't enter fractions. I didn't realize fractional steps were useful, but if they work and don't hurt I'll see if I can change the new slider.
User avatar
Nate

Nate
  • Posts: 10503

Pharan

Well, they're useful to me as far as I can't set the animations to 60fps yet. I'd really rather not deal with fractions either, but it's the only way right now to detect and eliminate artifacts and stray movements that happen in between the 30 graduations of time per second.
User avatar
Pharan
  • Posts: 5366

Pharan

On a related note:
Decimal/fractional values in x-offset box is really important if the character's in-game horizontal speed is specifically balanced. In the absence of IK, the animation would have to be tweaked according to an x-offset calculated from that so the footing doesn't slide around.

The formula is something like:

x-offset (pixels/frame)
=
time-dependent character speed to be multiplied by deltaTime (pixels/second)
/
spine "framerate" (frames/second)


Actually, it would probably be neat feature if you could stick the deltaTime speed into the Ghosting panel itself and the x-offset ghosting could be automatically set from it. Dunno if I'd go so far as to request such a feature though. XD

Point is, sometimes, x-offset doesn't resolve to a nice round integer.
User avatar
Pharan
  • Posts: 5366

Pharan

No news on this?

(just wondering. no need to rush into it. :p)
User avatar
Pharan
  • Posts: 5366

Nate

Oh, it was done when you asked for it. :) You can type a fractional frame step.
User avatar
Nate

Nate
  • Posts: 10503

Pharan

Nope. Still clamped to whole numbers.

The offsets do fractions though. :D
User avatar
Pharan
  • Posts: 5366

Nate

It works, are you typing it?
User avatar
Nate

Nate
  • Posts: 10503

Pharan

What is going on.

Not working on mine though. I was definitely typing it.

I'll get back to you on it.
User avatar
Pharan
  • Posts: 5366

Pharan

Oh, I see what's going on.

It accepts fractions but not values below 1, which is what I needed (and, IMO, what makes sense in the frame step field). XD
User avatar
Pharan
  • Posts: 5366

Nate

Ah, gotcha. Fixed!
User avatar
Nate

Nate
  • Posts: 10503


Return to Bugs