News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Widtrh controller using float values?

Started by Sheng Long, January 08, 2015, 10:23:49 PM

Previous topic - Next topic

Sheng Long

I was wondering if there's a work around to make the width controller use float values instead of int numbers? In other words, I don't want width value to be 3, or 4. But somewhere in between them, like 3.5, 3.25, or 3.75 or something like that.

Is that possible, or no? Because I think in the characters constants, you can set the [size] ground.back and ground.front values with a float value without the debug errors on display. Though I wasn't sure if there was a way to do this with using a width controller.

"You must defeat my flaming
dragon punch to stand a chance."

Odb718

I thought width was closer to using actual pixels than a random value?
I dont think it'd be possible to have 3.6 pixels.
I'm not sure though. Why do you need the float?
vVv Gouken718 vVv SabreTooth718 vVv


Sheng Long

Yea, I'm actually trying to get the push against characters accurate to the original. However, its usually just 1 or 2 pixels off from the original counterpart.
Just testing them in 1.0, though I don't know how the pixels work in WinMugen, since 1.0 has more pixels to work with. I guess it's not a big issue though.

"You must defeat my flaming
dragon punch to stand a chance."